Radicle repository id rad:z35CgFVYCKpqqDtJMzk8dyE6dViS6
{
"request": "trigger",
"version": 1,
"event_type": "patch",
"repository": {
"id": "rad:z35CgFVYCKpqqDtJMzk8dyE6dViS6",
"name": "radicle-ci-ambient",
"description": "Radicle CI adapter for the Ambient CI engine",
"private": false,
"default_branch": "main",
"delegates": [
"did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
]
},
"action": "Created",
"patch": {
"id": "ca556c2d09415f03eb22141c469f429b1d68eb95",
"author": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"title": "feat: include Git commit in --version output",
"state": {
"status": "open",
"conflicts": []
},
"before": "ce7a9901b2d72b68b1a73145ff9f35b8b1cf8125",
"after": "c72ad3fa273247b1bcefe969ed6ec708f462698d",
"commits": [
"c72ad3fa273247b1bcefe969ed6ec708f462698d"
],
"target": "ce7a9901b2d72b68b1a73145ff9f35b8b1cf8125",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "ca556c2d09415f03eb22141c469f429b1d68eb95",
"author": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"description": "Signed-off-by: Lars Wirzenius <liw@liw.fi>",
"base": "ce7a9901b2d72b68b1a73145ff9f35b8b1cf8125",
"oid": "c72ad3fa273247b1bcefe969ed6ec708f462698d",
"timestamp": 1748235643
}
]
}
}[2025-05-26T05:01:47Z 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: shell
shell: |
export DEBEMAIL=liw@liw.fi
export DEBFULLNAME="Lars Wirzenius"
export CARGO_HOME=/workspace/deps
export CARGO_TARGET_DIR=/workspace/cache
export HOME=/root
export PATH="/root/.cargo/bin:/bin:/sbin"
git reset --hard
git clean -fdx
# git switch main
git status --ignored
# git clean -fdx
# Configure Git so that it can be used in the tests for this
# project.
git config --global user.email "test@example.com"
git config --global user.name "Testy McTestface"
find /workspace/deps -name "*.crate"
cargo test --offline
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 26 05:01 /workspace
6029435 4 drwxr-xr-x 3 root root 4096 May 26 05:00 /workspace/deps
6029436 120 -rw-r--r-- 1 root root 122880 May 26 05:00 /workspace/deps/.global-cache
6029437 0 -rw-r--r-- 1 root root 0 Apr 8 10:34 /workspace/deps/.package-cache
6029438 4 drwxr-xr-x 5 root root 4096 Apr 8 10:34 /workspace/deps/registry
6057241 4 drwxr-xr-x 4 root root 4096 Apr 8 10:36 /workspace/cache
6065166 4 drwxr-xr-x 7 root root 4096 May 24 03:19 /workspace/cache/release
6069999 4 -rw-r--r-- 1 root root 1177 May 24 03:19 /workspace/cache/.rustc_info.json
6057242 4 drwxr-xr-x 7 root root 4096 Apr 8 10:34 /workspace/cache/debug
6029316 4 drwxr-xr-x 7 root root 4096 May 26 05:00 /workspace/src
6029317 4 drwxr-xr-x 2 root root 4096 May 26 05:00 /workspace/src/.radicle
6029325 4 -rw-r--r-- 1 root root 285 May 26 05:00 /workspace/src/ambient.subplot
6029332 4 drwxr-xr-x 3 root root 4096 May 26 05:00 /workspace/src/debian
6029331 4 -rw-r--r-- 1 root root 2484 May 26 05:00 /workspace/src/NEWS.md
6029344 4 -rw-r--r-- 1 root root 30 May 26 05:00 /workspace/src/.gitignore
6029345 4 -rw-r--r-- 1 root root 885 May 26 05:00 /workspace/src/Cargo.toml
6029320 4 drwxr-xr-x 2 root root 4096 May 26 05:00 /workspace/src/src
6029326 4 -rw-r--r-- 1 root root 114 May 26 05:00 /workspace/src/config.yaml
6029432 4 -rw-r--r-- 1 root root 410 May 26 05:00 /workspace/src/Makefile
6029319 8 -rw-r--r-- 1 root root 6127 May 26 05:00 /workspace/src/ambient.md
6029329 4 -rw-r--r-- 1 root root 1390 May 26 05:00 /workspace/src/ambient.py
6029434 108 -rw-r--r-- 1 root root 109646 May 26 05:00 /workspace/src/Cargo.lock
6029330 4 -rw-r--r-- 1 root root 29 May 26 05:00 /workspace/src/rust-toolchain.toml
6029433 4 -rw-r--r-- 1 root root 232 May 26 05:00 /workspace/src/ambient.yaml
6029343 4 -rw-r--r-- 1 root root 2446 May 26 05:00 /workspace/src/README.md
6029346 4 drwxr-xr-x 8 root root 4096 May 26 05:00 /workspace/src/.git
6029327 4 drwxr-xr-x 2 root root 4096 May 26 05:00 /workspace/src/.cargo
6029315 4 drwxr-xr-x 2 root root 4096 May 26 05:01 /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")]
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-ci-ambient v0.9.0 (/workspace/src)
error: environment variable `VERSION` not defined at compile time
--> src/main.rs:164:18
|
164 | #[clap(version = env!("VERSION"))]
| ^^^^^^^^^^^^^^^
|
= help: use `std::env::var("VERSION")` to read the variable at run time
= note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile `radicle-ci-ambient` (bin "radicle-ci-ambient" test) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: could not compile `radicle-ci-ambient` (bin "radicle-ci-ambient") due to 2 previous errors
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-05-26T05:01:47Z INFO ambient] ambient ends successfully