Radicle repository id rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
{
"request": "trigger",
"version": 1,
"event_type": "patch",
"repository": {
"id": "rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5",
"name": "heartwood",
"description": "Radicle Heartwood Protocol & Stack",
"private": false,
"default_branch": "master",
"delegates": [
"did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT",
"did:key:z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW",
"did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
"did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz"
]
},
"action": "Updated",
"patch": {
"id": "839d70f91e18ed9a19ad322aa6595f92c952ff84",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"title": "cli: `rad config schema` emits JSON Schema",
"state": {
"status": "open",
"conflicts": []
},
"before": "41f9048d96596473600e6c77f041d29cd3de1d6f",
"after": "3eea6f9c403d330decd3509afae998cff0623989",
"commits": [
"3eea6f9c403d330decd3509afae998cff0623989"
],
"target": "41f9048d96596473600e6c77f041d29cd3de1d6f",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "839d70f91e18ed9a19ad322aa6595f92c952ff84",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Leverage `schemars` to generate a JSON Schema from our structs for\nconfigurations and those occurring within them.\n\nRegarding dependency on an alpha version of `schemars`: Reading the\n[road to 1.0 issue](https://github.com/GREsau/schemars/issues/112)\nI don't expect that we would be affected by breakage.\nWe use pretty standard/core parts of the API that probably are most stable.\n\nThe output of `rad config schema` can be used by editors to provide a\nsmoother editing experience for the configuration file. Discovery of\nattributes (both keys and values) is greatly improved with the schema\nhelping in the background.\n\nRefer to:\n - https://json-schema.org\n - https://code.visualstudio.com/docs/languages/json#_json-schemas-and-settings\n - https://schemastore.org\n\n---\n\nOriginal description by did:key:z6MkjFMAoA3hUG6tM7Wprn7dh7bquLpmN1f3yECbwkyweQnJ follows:\n\nThis will be a great addition especially for LSP users\nwho dont want to read through all the code to know what\noptions can be changed where and how.\n\nHow it works: You simply pipe the output into xyz.json\nand then add to your config: \"$schema\": \"/path/to/xyz.json\"\nand if you have a working json LSP you'll get docs, etc. for\nyour config, meaning we'll have to write a lot less docs\nin the future :)",
"base": "f30760d6bb86d2978a5ed4df8ee45b9aa97778b4",
"oid": "b6e7348cd755058ce1df2c313e5085c21f9a99dd",
"timestamp": 1745858199
},
{
"id": "a854a147f5135b30b15dc15fcf004459dd21f341",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "",
"base": "f30760d6bb86d2978a5ed4df8ee45b9aa97778b4",
"oid": "d4770e6a9a2e2ad2e8397d7a82fa6763a0888175",
"timestamp": 1746261313
},
{
"id": "6fa6697d72dd40c45087cf4a866ec6925e82c3d0",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "",
"base": "41f9048d96596473600e6c77f041d29cd3de1d6f",
"oid": "3eea6f9c403d330decd3509afae998cff0623989",
"timestamp": 1747856892
}
]
}
}[2025-05-21T19:51:46Z INFO ambient] ambient starts
[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01HBdsDxe: 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)
[0m[30m[47mWelcome to GRUB!
[0m[37m[40m[0m[30m[40m[2J[01;01H[0m[37m[40mINFO: 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_fmt
- action: cargo_clippy
- action: cargo_build
- action: cargo_test
- action: shell
shell: |
# Because of a (temporary) limitation in Ambient, we need to set
# these variables manually. Once Ambient manages environment
# variables better, these can be deleted.
export CARGO_TARGET_DIR=/workspace/cache
export CARGO_HOME=/workspace/deps
export HOME=/root
export PATH="/root/.cargo/bin:$PATH"
cargo doc --workspace --no-deps
- action: shell
shell: |
# Because of a (temporary) limitation in Ambient, we need to set
# these variables manually. Once Ambient manages environment
# variables better, these can be deleted.
export CARGO_TARGET_DIR=/workspace/cache
export CARGO_HOME=/workspace/deps
export HOME=/root
export PATH="/root/.cargo/bin:$PATH"
# These are based on debian/control.
export DEBEMAIL=liw@liw.fi
export DEBFULLNAME="Lars Wirzenius"
# Clean up after tests and documentation building. The Debian
# package building tools do not want changes outside the
# `debian` directory, compared to what is committed to Git, from
# which the "upstream tarball" is created.
git reset --hard
git clean -fdx
git status --ignored
# Update debian/changelog with a new version so that every run
# creates a newer version. This avoids us having to update the
# file manually for every CI run.
V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')"
T="$(date -u "+%Y%m%dT%H%M%S")"
version="$V.ci$T-1"
dch -v "$version" "CI build under Ambient."
dch -r ''
- action: deb
- 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=[]
6029313 4 drwxr-xr-x 6 root root 4096 May 21 19:49 /workspace
6030060 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/deps
6030061 172 -rw-r--r-- 1 root root 176128 May 21 19:48 /workspace/deps/.global-cache
6030062 0 -rw-r--r-- 1 root root 0 Apr 11 13:20 /workspace/deps/.package-cache
6030063 4 drwxr-xr-x 5 root root 4096 Apr 11 13:20 /workspace/deps/registry
6067877 4 drwxr-xr-x 6 root root 4096 Apr 22 15:00 /workspace/cache
6076884 4 -rw-r--r-- 1 root root 218 Apr 22 15:00 /workspace/cache/.rustdoc_fingerprint.json
307406 4 drwxr-xr-x 7 root root 4096 May 21 19:15 /workspace/cache/release
6067878 4 drwxr-xr-x 2 root root 4096 Apr 22 14:53 /workspace/cache/tmp
6076885 4 -rw-r--r-- 1 root root 1032 May 21 19:10 /workspace/cache/.rustc_info.json
438596 4 drwxr-xr-x 30 root root 4096 May 21 19:13 /workspace/cache/doc
6067879 4 drwxr-xr-x 7 root root 4096 May 21 19:11 /workspace/cache/debug
6029316 4 drwxr-xr-x 25 root root 4096 May 21 19:48 /workspace/src
6029321 4 drwxr-xr-x 2 root root 4096 May 21 19:48 /workspace/src/scripts
6029344 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/src/radicle-crdt
6030005 4 -rw-r--r-- 1 root root 79 May 21 19:48 /workspace/src/ARCHITECTURE.md
6029507 4 -rw-r--r-- 1 root root 571 May 21 19:48 /workspace/src/git-remote-rad.1.adoc
6029317 4 drwxr-xr-x 2 root root 4096 May 21 19:48 /workspace/src/.radicle
6029360 8 -rw-r--r-- 1 root root 8044 May 21 19:48 /workspace/src/rad.1.adoc
6029497 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/src/radicle-tools
6029534 4 -rw-r--r-- 1 root root 1623 May 21 19:48 /workspace/src/build.rs
6030002 4 -rw-r--r-- 1 root root 1203 May 21 19:48 /workspace/src/DCO
6029520 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/src/debian
6029343 4 -rw-r--r-- 1 root root 2163 May 21 19:48 /workspace/src/VERSIONING.md
6029333 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/src/radicle-remote-helper
6029962 4 drwxr-xr-x 4 root root 4096 May 21 19:48 /workspace/src/systemd
6029536 4 -rw-r--r-- 1 root root 96 May 21 19:48 /workspace/src/.gitignore
6030003 8 -rw-r--r-- 1 root root 5102 May 21 19:48 /workspace/src/flake.lock
6029535 12 -rw-r--r-- 1 root root 8794 May 21 19:48 /workspace/src/flake.nix
6029545 8 -rw-r--r-- 1 root root 5432 May 21 19:48 /workspace/src/deny.toml
6029722 12 -rw-r--r-- 1 root root 9723 May 21 19:48 /workspace/src/LICENSE-APACHE
6030006 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/src/radicle-dag
6029750 4 drwxr-xr-x 5 root root 4096 May 21 19:48 /workspace/src/radicle-cli
6029508 4 drwxr-xr-x 2 root root 4096 May 21 19:48 /workspace/src/build
6029361 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/src/radicle-crypto
6029967 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/src/radicle-fetch
6029491 4 -rw-r--r-- 1 root root 61 May 21 19:48 /workspace/src/.env.seed
6029541 4 -rw-r--r-- 1 root root 1159 May 21 19:48 /workspace/src/Cargo.toml
6029542 4 drwxr-xr-x 2 root root 4096 May 21 19:48 /workspace/src/.config
6029320 4 -rw-r--r-- 1 root root 1079 May 21 19:48 /workspace/src/LICENSE-MIT
6029991 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/src/radicle-ssh
6029544 4 -rw-r--r-- 1 root root 426 May 21 19:48 /workspace/src/radicle-node.1.adoc
6029332 8 -rw-r--r-- 1 root root 7645 May 21 19:48 /workspace/src/HACKING.md
6030001 8 -rw-r--r-- 1 root root 5666 May 21 19:48 /workspace/src/rad-id.1.adoc
6029342 4 -rw-r--r-- 1 root root 30 May 21 19:48 /workspace/src/.dockerignore
6029537 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/src/radicle-systemd
6030011 108 -rw-r--r-- 1 root root 108992 May 21 19:48 /workspace/src/Cargo.lock
6029723 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/src/radicle-term
6029749 12 -rw-r--r-- 1 root root 10770 May 21 19:48 /workspace/src/rad-patch.1.adoc
6029492 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/src/radicle-cli-test
6029373 4 -rw-r--r-- 1 root root 77 May 21 19:48 /workspace/src/rust-toolchain.toml
6029490 4 -rw-r--r-- 1 root root 42 May 21 19:48 /workspace/src/.envrc
6029533 4 -rw-r--r-- 1 root root 3091 May 21 19:48 /workspace/src/README.md
6030004 12 -rw-r--r-- 1 root root 8326 May 21 19:48 /workspace/src/CONTRIBUTING.md
6029550 4 drwxr-xr-x 8 root root 4096 May 21 19:48 /workspace/src/.git
6030012 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/src/radicle-node
6029546 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/src/radicle-signals
6029358 4 drwxr-xr-x 2 root root 4096 May 21 19:48 /workspace/src/.cargo
6030010 4 -rw-r--r-- 1 root root 1083 May 21 19:48 /workspace/src/.gitsigners
6029374 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/src/radicle
6029680 4 drwxr-xr-x 3 root root 4096 May 21 19:48 /workspace/src/radicle-cob
6029315 4 drwxr-xr-x 2 root root 4096 May 21 19:49 /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")]
Diff in /workspace/src/radicle/src/node/policy.rs:1:
pub mod config;
pub mod store;
-
use std::fmt;
use std::str::FromStr;
ERROR: Action failed: command failed: ["cargo", "fmt", "--check"]
ERROR: command failed: ["cargo", "fmt", "--check"]
EXIT CODE: 1
[2025-05-21T19:51:46Z INFO ambient] ambient ends successfully