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": "7bafe3d51318014e1053df47ef9b78b7543af2bb", "author": { "id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz", "alias": "lorenz" }, "title": "radicle-schemars: A crate for extracting JSON schemas", "state": { "status": "open", "conflicts": [] }, "before": "f4c8ff7a64e87a173ab2f114f3a88a2d475184ad", "after": "645d68eeab6bb480fb6d28c2313153696e07113f", "commits": [ "645d68eeab6bb480fb6d28c2313153696e07113f", "9ef83e565c4e3bc00a7f89619eb874e0fc997097", "bc854c0259be69a60c07d49c543a8363040a30f9" ], "target": "9dae540c8718f1d2e9dd26a68cd76242a16d7eb0", "labels": [], "assignees": [], "revisions": [ { "id": "7bafe3d51318014e1053df47ef9b78b7543af2bb", "author": { "id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz", "alias": "lorenz" }, "description": "### JSON Schema for the Control Socket\n\nJSON Schema extraction via `schemars` is provided for configurations.\nThere are other interfaces that use JSON for (de-)serialization, such as\nthe communication with `radicle-node` via the control socket.\n\nTo ease implementation of tools that want to communicate via the control\nsocket, we add the respective `schemars` annotations.\n\n### Extracting of JSON Schemas\n\nExtracting JSON Schemas from the Radicle crate can be done via\n`radicle-cli` for `radicle::profile::Config` by executing:\n\n rad config schema\n\nHowever, for other JSON Schema metadata, this is not possible.\n\nTo allow other tools to extract JSON schemas as part of their build\nprocess, introduce a new crate that only depends on `radicle`,\n`schemars`, and `serde`, with a tiny binary that will reproduce various\nschemas.\n\n### `schemars` as workspace dependency\n\nThe `schemars` crate is a dependency of multiple workspace crates in the\nsame version. Its version number is repeated multiple times in the\nrespective `*/Cargo.toml` files. This requires more maintenance effort\nand risks versions drifting.\n\nAs long as all crates depend on the same version, it makes more sense to\nhave `schemars` as a workspace dependency.\n\nSee: <https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table>", "base": "f4c8ff7a64e87a173ab2f114f3a88a2d475184ad", "oid": "ed8a9a1334730ee930b357c06e2f5814a81f2b70", "timestamp": 1748856488 }, { "id": "a1955053701c4077ee32942923feba6b1002333b", "author": { "id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz", "alias": "lorenz" }, "description": "FEEDBACK: better error messaging for incorrect args/schemas", "base": "f4c8ff7a64e87a173ab2f114f3a88a2d475184ad", "oid": "d89488d43195d4dd81f996c14de7bd0c06cd4963", "timestamp": 1748945836 }, { "id": "07afd838ff4f5b40b762493276fb09aa327be658", "author": { "id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz", "alias": "lorenz" }, "description": "radicle-schemars: Improve handling of list of schema names.", "base": "f4c8ff7a64e87a173ab2f114f3a88a2d475184ad", "oid": "645d68eeab6bb480fb6d28c2313153696e07113f", "timestamp": 1748948968 } ] } }
[2025-06-03T11:14:20Z 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=[] 1572865 4 drwxr-xr-x 6 root root 4096 Jun 3 11:11 /workspace 1595248 4 drwxr-xr-x 6 root root 4096 May 29 23:20 /workspace/cache 1595250 4 drwxr-xr-x 7 root root 4096 Jun 2 09:35 /workspace/cache/debug 1618067 4 -rw-r--r-- 1 root root 1033 Jun 2 09:34 /workspace/cache/.rustc_info.json 1618066 4 -rw-r--r-- 1 root root 218 May 29 23:20 /workspace/cache/.rustdoc_fingerprint.json 1835014 4 drwxr-xr-x 31 root root 4096 Jun 2 09:37 /workspace/cache/doc 1712730 4 drwxr-xr-x 7 root root 4096 Jun 2 09:39 /workspace/cache/release 1595249 4 drwxr-xr-x 2 root root 4096 May 29 23:14 /workspace/cache/tmp 1572867 4 drwxr-xr-x 26 root root 4096 Jun 3 11:09 /workspace/src 1572868 4 drwxr-xr-x 2 root root 4096 Jun 3 11:09 /workspace/src/.radicle 1573101 4 -rw-r--r-- 1 root root 426 Jun 3 11:09 /workspace/src/radicle-node.1.adoc 1573090 4 -rw-r--r-- 1 root root 3091 Jun 3 11:09 /workspace/src/README.md 1573512 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/radicle-fetch 1572895 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/radicle-crdt 1572871 4 -rw-r--r-- 1 root root 1079 Jun 3 11:09 /workspace/src/LICENSE-MIT 1573077 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/debian 1573507 4 drwxr-xr-x 4 root root 4096 Jun 3 11:09 /workspace/src/systemd 1572909 4 drwxr-xr-x 2 root root 4096 Jun 3 11:09 /workspace/src/.cargo 1573268 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/radicle-term 1573295 4 drwxr-xr-x 5 root root 4096 Jun 3 11:09 /workspace/src/radicle-cli 1572884 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/radicle-remote-helper 1572872 4 drwxr-xr-x 2 root root 4096 Jun 3 11:09 /workspace/src/scripts 1572883 8 -rw-r--r-- 1 root root 7645 Jun 3 11:09 /workspace/src/HACKING.md 1572894 4 -rw-r--r-- 1 root root 2163 Jun 3 11:09 /workspace/src/VERSIONING.md 1573548 8 -rw-r--r-- 1 root root 5102 Jun 3 11:09 /workspace/src/flake.lock 1573103 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/radicle-signals 1573555 4 -rw-r--r-- 1 root root 1083 Jun 3 11:09 /workspace/src/.gitsigners 1572893 4 -rw-r--r-- 1 root root 30 Jun 3 11:09 /workspace/src/.dockerignore 1573093 4 -rw-r--r-- 1 root root 104 Jun 3 11:09 /workspace/src/.gitignore 1573094 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/radicle-systemd 1573064 4 drwxr-xr-x 2 root root 4096 Jun 3 11:09 /workspace/src/build 1573557 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/radicle-node 1573221 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/radicle-cob 1573046 4 -rw-r--r-- 1 root root 42 Jun 3 11:09 /workspace/src/.envrc 1573053 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/radicle-tools 1573551 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/radicle-dag 1573099 4 drwxr-xr-x 2 root root 4096 Jun 3 11:09 /workspace/src/.config 1573547 4 -rw-r--r-- 1 root root 1203 Jun 3 11:09 /workspace/src/DCO 1573556 108 -rw-r--r-- 1 root root 109158 Jun 3 11:09 /workspace/src/Cargo.lock 1573102 8 -rw-r--r-- 1 root root 5432 Jun 3 11:09 /workspace/src/deny.toml 1573263 12 -rw-r--r-- 1 root root 9723 Jun 3 11:09 /workspace/src/LICENSE-APACHE 1572925 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/radicle 1573098 4 -rw-r--r-- 1 root root 1249 Jun 3 11:09 /workspace/src/Cargo.toml 1573536 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/radicle-ssh 1573047 4 -rw-r--r-- 1 root root 61 Jun 3 11:09 /workspace/src/.env.seed 1573294 12 -rw-r--r-- 1 root root 10770 Jun 3 11:09 /workspace/src/rad-patch.1.adoc 1572911 8 -rw-r--r-- 1 root root 8044 Jun 3 11:09 /workspace/src/rad.1.adoc 1573549 12 -rw-r--r-- 1 root root 8326 Jun 3 11:09 /workspace/src/CONTRIBUTING.md 1573264 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/radicle-schemars 1573063 4 -rw-r--r-- 1 root root 571 Jun 3 11:09 /workspace/src/git-remote-rad.1.adoc 1573091 4 -rw-r--r-- 1 root root 1623 Jun 3 11:09 /workspace/src/build.rs 1573550 4 -rw-r--r-- 1 root root 79 Jun 3 11:09 /workspace/src/ARCHITECTURE.md 1573092 12 -rw-r--r-- 1 root root 8796 Jun 3 11:09 /workspace/src/flake.nix 1572912 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/radicle-crypto 1573048 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/src/radicle-cli-test 1573107 4 drwxr-xr-x 8 root root 4096 Jun 3 11:09 /workspace/src/.git 1573546 8 -rw-r--r-- 1 root root 5666 Jun 3 11:09 /workspace/src/rad-id.1.adoc 1572924 4 -rw-r--r-- 1 root root 77 Jun 3 11:09 /workspace/src/rust-toolchain.toml 1572866 4 drwxr-xr-x 2 root root 4096 Jun 3 11:11 /workspace/artifacts 1573605 4 drwxr-xr-x 3 root root 4096 Jun 3 11:09 /workspace/deps 1573608 4 drwxr-xr-x 5 root root 4096 May 29 19:58 /workspace/deps/registry 1573606 120 -rw-r--r-- 1 root root 122880 Jun 3 11:09 /workspace/deps/.global-cache 1573607 0 -rw-r--r-- 1 root root 0 May 29 19:58 /workspace/deps/.package-cache 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")] 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 radicle-ssh v0.9.0 (/workspace/src/radicle-ssh) Checking radicle-dag v0.10.0 (/workspace/src/radicle-dag) Checking radicle-signals v0.11.0 (/workspace/src/radicle-signals) Compiling radicle-cli v0.13.0 (/workspace/src/radicle-cli) Checking radicle-term v0.12.0 (/workspace/src/radicle-term) Checking radicle-crypto v0.12.0 (/workspace/src/radicle-crypto) Compiling radicle-node v0.11.0 (/workspace/src/radicle-node) Checking radicle-systemd v0.9.0 (/workspace/src/radicle-systemd) Compiling radicle-remote-helper v0.10.0 (/workspace/src/radicle-remote-helper) Checking radicle-cob v0.13.0 (/workspace/src/radicle-cob) Checking radicle-crdt v0.1.0 (/workspace/src/radicle-crdt) Checking radicle v0.15.0 (/workspace/src/radicle) Checking radicle-fetch v0.11.0 (/workspace/src/radicle-fetch) Checking radicle-cli-test v0.11.0 (/workspace/src/radicle-cli-test) Checking radicle-schemars v0.1.0 (/workspace/src/radicle-schemars) error: this expression creates a reference which is immediately dereferenced by the compiler --> radicle-schemars/src/main.rs:39:26 | 39 | if !SCHEMAS.contains(&&name.as_str()) { | ^^^^^^^^^^^^^^^ help: change this to: `(&name.as_str())` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]` error: could not compile `radicle-schemars` (bin "radicle-schemars") due to 1 previous error warning: build failed, waiting for other jobs to finish... ERROR: Action failed: command failed: ["cargo", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"] ERROR: command failed: ["cargo", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"] EXIT CODE: 1 [2025-06-03T11:14:20Z INFO ambient] ambient ends successfully