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": "Created",
"patch": {
"id": "021b2f88a9bd281ba3b5aaf56f5ea7b35897233d",
"author": {
"id": "did:key:z6MkqXhexdDdZmFMEGZoxxfo8TQQgReHx6epnnZ1iaCHW4FR",
"alias": "laura"
},
"title": "radicle: add .external_template(false) to all other libgit2 calls",
"state": {
"status": "open",
"conflicts": []
},
"before": "ab62dce683c14b53630e4190ade945ed082e343d",
"after": "9bdb41a5e79b9b9dcd239962cea31c89c92046fa",
"commits": [
"9bdb41a5e79b9b9dcd239962cea31c89c92046fa"
],
"target": "ab62dce683c14b53630e4190ade945ed082e343d",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "021b2f88a9bd281ba3b5aaf56f5ea7b35897233d",
"author": {
"id": "did:key:z6MkqXhexdDdZmFMEGZoxxfo8TQQgReHx6epnnZ1iaCHW4FR",
"alias": "laura"
},
"description": "This complements 9d4aa59a125228c4c578a750bc617acaab1f911f.",
"base": "ab62dce683c14b53630e4190ade945ed082e343d",
"oid": "9bdb41a5e79b9b9dcd239962cea31c89c92046fa",
"timestamp": 1749853169
}
]
}
}[2025-06-13T22:29:43Z 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 13 22:22 /workspace
1603890 4 drwxr-xr-x 6 root root 4096 Jun 7 14:29 /workspace/cache
1603892 4 drwxr-xr-x 7 root root 4096 Jun 13 08:00 /workspace/cache/debug
1621197 4 -rw-r--r-- 1 root root 1033 Jun 13 08:00 /workspace/cache/.rustc_info.json
1618645 4 -rw-r--r-- 1 root root 218 Jun 7 14:28 /workspace/cache/.rustdoc_fingerprint.json
2883585 4 drwxr-xr-x 31 root root 4096 Jun 13 08:03 /workspace/cache/doc
1618646 4 drwxr-xr-x 7 root root 4096 Jun 13 08:05 /workspace/cache/release
1603891 4 drwxr-xr-x 2 root root 4096 Jun 7 14:23 /workspace/cache/tmp
1572867 4 drwxr-xr-x 12 root root 4096 Jun 13 22:19 /workspace/src
1572868 4 drwxr-xr-x 2 root root 4096 Jun 13 22:19 /workspace/src/.radicle
1572927 4 -rw-r--r-- 1 root root 426 Jun 13 22:19 /workspace/src/radicle-node.1.adoc
1573558 4 drwxr-xr-x 2 root root 4096 Jun 13 22:19 /workspace/src/.github
1572920 4 -rw-r--r-- 1 root root 3091 Jun 13 22:19 /workspace/src/README.md
1572871 4 -rw-r--r-- 1 root root 1079 Jun 13 22:19 /workspace/src/LICENSE-MIT
1572907 4 drwxr-xr-x 3 root root 4096 Jun 13 22:19 /workspace/src/debian
1573005 4 drwxr-xr-x 5 root root 4096 Jun 13 22:19 /workspace/src/systemd
1572886 4 drwxr-xr-x 2 root root 4096 Jun 13 22:19 /workspace/src/.cargo
1572872 4 drwxr-xr-x 2 root root 4096 Jun 13 22:19 /workspace/src/scripts
1572883 8 -rw-r--r-- 1 root root 7645 Jun 13 22:19 /workspace/src/HACKING.md
1572885 4 -rw-r--r-- 1 root root 2163 Jun 13 22:19 /workspace/src/VERSIONING.md
1573562 8 -rw-r--r-- 1 root root 5102 Jun 13 22:19 /workspace/src/flake.lock
1573565 4 -rw-r--r-- 1 root root 1083 Jun 13 22:19 /workspace/src/.gitsigners
1572884 4 -rw-r--r-- 1 root root 30 Jun 13 22:19 /workspace/src/.dockerignore
1572923 4 -rw-r--r-- 1 root root 101 Jun 13 22:19 /workspace/src/.gitignore
1572894 4 drwxr-xr-x 2 root root 4096 Jun 13 22:19 /workspace/src/build
1572890 4 -rw-r--r-- 1 root root 42 Jun 13 22:19 /workspace/src/.envrc
1572925 4 drwxr-xr-x 2 root root 4096 Jun 13 22:19 /workspace/src/.config
1573561 4 -rw-r--r-- 1 root root 1203 Jun 13 22:19 /workspace/src/DCO
1573566 96 -rw-r--r-- 1 root root 96026 Jun 13 22:19 /workspace/src/Cargo.lock
1572928 8 -rw-r--r-- 1 root root 5432 Jun 13 22:19 /workspace/src/deny.toml
1573003 12 -rw-r--r-- 1 root root 9723 Jun 13 22:19 /workspace/src/LICENSE-APACHE
1572924 4 -rw-r--r-- 1 root root 2397 Jun 13 22:19 /workspace/src/Cargo.toml
1573012 4 drwxr-xr-x 18 root root 4096 Jun 13 22:19 /workspace/src/crates
1572891 4 -rw-r--r-- 1 root root 61 Jun 13 22:19 /workspace/src/.env.seed
1573004 12 -rw-r--r-- 1 root root 10770 Jun 13 22:19 /workspace/src/rad-patch.1.adoc
1572888 8 -rw-r--r-- 1 root root 8022 Jun 13 22:19 /workspace/src/rad.1.adoc
1573563 12 -rw-r--r-- 1 root root 8322 Jun 13 22:19 /workspace/src/CONTRIBUTING.md
1572892 8 -rw-r--r-- 1 root root 4304 Jun 13 22:19 /workspace/src/CHANGELOG.md
1572893 4 -rw-r--r-- 1 root root 571 Jun 13 22:19 /workspace/src/git-remote-rad.1.adoc
1572921 4 -rw-r--r-- 1 root root 1623 Jun 13 22:19 /workspace/src/build.rs
1573564 4 -rw-r--r-- 1 root root 79 Jun 13 22:19 /workspace/src/ARCHITECTURE.md
1572922 12 -rw-r--r-- 1 root root 8796 Jun 13 22:19 /workspace/src/flake.nix
1572929 4 drwxr-xr-x 8 root root 4096 Jun 13 22:19 /workspace/src/.git
1573560 8 -rw-r--r-- 1 root root 5666 Jun 13 22:19 /workspace/src/rad-id.1.adoc
1572889 4 -rw-r--r-- 1 root root 77 Jun 13 22:19 /workspace/src/rust-toolchain.toml
1572866 4 drwxr-xr-x 2 root root 4096 Jun 13 22:22 /workspace/artifacts
1573567 4 drwxr-xr-x 3 root root 4096 Jun 13 22:19 /workspace/deps
1573570 4 drwxr-xr-x 5 root root 4096 Jun 7 14:22 /workspace/deps/registry
1573568 144 -rw-r--r-- 1 root root 147456 Jun 13 22:19 /workspace/deps/.global-cache
1573569 0 -rw-r--r-- 1 root root 0 Jun 7 14:22 /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")]
Diff in /workspace/src/crates/radicle/src/test/fixtures.rs:89:
/// Creates a regular repository at the given path with a couple of commits.
pub fn repository<P: AsRef<Path>>(path: P) -> (git2::Repository, git2::Oid) {
- let repo = git2::Repository::init_opts(path, git2::RepositoryInitOptions::new().external_template(false)).unwrap();
+ let repo = git2::Repository::init_opts(
+ path,
+ git2::RepositoryInitOptions::new().external_template(false),
+ )
+ .unwrap();
let user_name = "anonymous";
let user_email = "anonymous@radicle.xyz";
{
Diff in /workspace/src/crates/radicle/src/test/fixtures.rs:209:
/// Creates a regular repository at the given path with a couple of commits.
pub fn repository<P: AsRef<Path>>(path: P) -> (git2::Repository, git2::Oid) {
- let repo = git2::Repository::init_opts(path, git2::RepositoryInitOptions::new().external_template(false)).unwrap();
+ let repo = git2::Repository::init_opts(
+ path,
+ git2::RepositoryInitOptions::new().external_template(false),
+ )
+ .unwrap();
let sig = git2::Signature::now(string(6).as_str(), email().as_str()).unwrap();
let head = git::initial_commit(&repo, &sig).unwrap();
let tree =
Diff in /workspace/src/crates/radicle-cli/src/commands/id.rs:764:
let current = serde_json::to_string_pretty(¤t.doc)?;
let tmp = tempfile::tempdir()?;
- let repo = radicle::git::raw::Repository::init_opts(tmp.path(), radicle::git::raw::RepositoryInitOptions::new().external_template(false).bare(true))?;
+ let repo = radicle::git::raw::Repository::init_opts(
+ tmp.path(),
+ radicle::git::raw::RepositoryInitOptions::new()
+ .external_template(false)
+ .bare(true),
+ )?;
let previous = if let Some(previous) = previous {
let tree = radicle::git::write_tree(&doc::PATH, previous.as_bytes(), &repo)?;
Diff in /workspace/src/crates/radicle-cob/src/test/storage.rs:41:
impl Storage {
pub fn new() -> Self {
let temp = tempfile::tempdir().unwrap();
- let raw = git2::Repository::init_opts(temp.path(), git2::RepositoryInitOptions::new().external_template(false)).unwrap();
+ let raw = git2::Repository::init_opts(
+ temp.path(),
+ git2::RepositoryInitOptions::new().external_template(false),
+ )
+ .unwrap();
let mut config = raw.config().unwrap();
config.set_str("user.name", "Terry Pratchett").unwrap();
config
ERROR: Action failed: command failed: ["cargo", "fmt", "--check"]
ERROR: command failed: ["cargo", "fmt", "--check"]
EXIT CODE: 1
[2025-06-13T22:29:43Z INFO ambient] ambient ends successfully