Radicle repository id rad:zwPaQSTBX8hktn22F6tHAZSFH2Fh
{
"request": "trigger",
"version": 1,
"event_type": "patch",
"repository": {
"id": "rad:zwPaQSTBX8hktn22F6tHAZSFH2Fh",
"name": "ambient-ci",
"description": "Ambient command line tool to run CI projects locally",
"private": false,
"default_branch": "main",
"delegates": [
"did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
]
},
"action": "Created",
"patch": {
"id": "3b25c6f95408c247465b270d834be61164048f85",
"author": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"title": "feat: include Git commit in version number",
"state": {
"status": "open",
"conflicts": []
},
"before": "57780501393eaf7e3d46e010372e52ef36fa8819",
"after": "8a22f5d36363c043bd86d1b28b324ca2e10fab6e",
"commits": [
"8a22f5d36363c043bd86d1b28b324ca2e10fab6e"
],
"target": "57780501393eaf7e3d46e010372e52ef36fa8819",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "3b25c6f95408c247465b270d834be61164048f85",
"author": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"description": "Signed-off-by: Lars Wirzenius <liw@liw.fi>\nSponsored-by: author",
"base": "57780501393eaf7e3d46e010372e52ef36fa8819",
"oid": "8a22f5d36363c043bd86d1b28b324ca2e10fab6e",
"timestamp": 1748253968
}
]
}
}[2025-05-26T10:10:45Z 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: |
git clean -fdx
- 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 10:08 /workspace
6029484 4 drwxr-xr-x 3 root root 4096 May 26 10:06 /workspace/deps
6029485 100 -rw-r--r-- 1 root root 102400 May 26 10:06 /workspace/deps/.global-cache
6029486 0 -rw-r--r-- 1 root root 0 Apr 8 13:29 /workspace/deps/.package-cache
6029487 4 drwxr-xr-x 5 root root 4096 Apr 8 13:29 /workspace/deps/registry
6051719 4 drwxr-xr-x 5 root root 4096 Apr 9 06:17 /workspace/cache
6066557 4 drwxr-xr-x 7 root root 4096 Apr 9 06:17 /workspace/cache/release
6071417 4 -rw-r--r-- 1 root root 1904 May 26 08:21 /workspace/cache/.rustc_info.json
6071418 4 drwxr-xr-x 3 root root 4096 Apr 9 06:17 /workspace/cache/x86_64-unknown-linux-musl
6051720 4 drwxr-xr-x 7 root root 4096 May 26 08:21 /workspace/cache/debug
6029316 4 drwxr-xr-x 7 root root 4096 May 26 10:06 /workspace/src
6029361 4 drwxr-xr-x 2 root root 4096 May 26 10:06 /workspace/src/.woodpecker
6029317 4 drwxr-xr-x 2 root root 4096 May 26 10:06 /workspace/src/.radicle
6029346 4 -rw-r--r-- 1 root root 224 May 26 10:06 /workspace/src/ambient.subplot
6029351 4 drwxr-xr-x 3 root root 4096 May 26 10:06 /workspace/src/debian
6029349 4 -rw-r--r-- 1 root root 3100 May 26 10:06 /workspace/src/INSTALL.md
6029350 4 -rw-r--r-- 1 root root 2547 May 26 10:06 /workspace/src/NEWS.md
6029365 4 -rw-r--r-- 1 root root 32 May 26 10:06 /workspace/src/.gitignore
6029348 36 -rw-r--r-- 1 root root 34260 May 26 10:06 /workspace/src/COPYING.md
6029366 4 -rw-r--r-- 1 root root 1158 May 26 10:06 /workspace/src/Cargo.toml
6029320 4 drwxr-xr-x 3 root root 4096 May 26 10:06 /workspace/src/src
6029481 4 -rw-r--r-- 1 root root 670 May 26 10:06 /workspace/src/Makefile
6029319 12 -rw-r--r-- 1 root root 11898 May 26 10:06 /workspace/src/ambient.md
6029347 4 -rw-r--r-- 1 root root 1607 May 26 10:06 /workspace/src/ambient.py
6029483 68 -rw-r--r-- 1 root root 65840 May 26 10:06 /workspace/src/Cargo.lock
6029482 4 -rw-r--r-- 1 root root 380 May 26 10:06 /workspace/src/ambient.yaml
6029364 4 -rw-r--r-- 1 root root 1641 May 26 10:06 /workspace/src/README.md
6029367 4 drwxr-xr-x 8 root root 4096 May 26 10:06 /workspace/src/.git
6029315 4 drwxr-xr-x 2 root root 4096 May 26 10:07 /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 ambient-ci v0.3.0 (/workspace/src)
error: environment variable `VERSION` not defined at compile time
--> src/bin/ambient.rs:56:30
|
56 | #[clap(name = APP, version = env!("VERSION"))]
| ^^^^^^^^^^^^^^^
|
= help: use `std::env::var("VERSION")` to read the variable at run time
error: could not compile `ambient-ci` (bin "ambient") due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: could not compile `ambient-ci` (bin "ambient" test) 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-26T10:10:45Z INFO ambient] ambient ends successfully