Radicle repository id rad:z34Lk5Z18mw8gyfMwJvNPjA1ZwJgd
{
"request": "trigger",
"version": 1,
"event_type": "push",
"repository": {
"id": "rad:z34Lk5Z18mw8gyfMwJvNPjA1ZwJgd",
"name": "repeatcmd",
"description": "Run command repeatedly until it succeeds",
"private": false,
"default_branch": "main",
"delegates": [
"did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
]
},
"pusher": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"before": "2e110cdfb212af3038ca2d8c137404febb8dc827",
"after": "2e110cdfb212af3038ca2d8c137404febb8dc827",
"branch": "main",
"commits": [
"2e110cdfb212af3038ca2d8c137404febb8dc827"
]
}[2025-06-25T13:06:09Z 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: shell
shell: |
export CARGO_TARGET_DIR=/workspace/cache
export CARGO_HOME=/workspace/deps
export PATH="/root/.cargo/bin:$PATH"
if ! make; then cat test.log; exit 1; fi
export DEBEMAIL=liw@liw.fi
export DEBFULLNAME="Lars Wirzenius"
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 ''
git status --ignored
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=[]
3538945 4 drwxr-xr-x 6 root root 4096 Jun 25 13:06 /workspace
3543145 4 drwxr-xr-x 4 root root 4096 Jun 7 11:08 /workspace/cache
3543146 4 drwxr-xr-x 7 root root 4096 Jun 17 06:31 /workspace/cache/debug
3544018 4 -rw-r--r-- 1 root root 1034 Jun 17 06:31 /workspace/cache/.rustc_info.json
3543730 4 drwxr-xr-x 7 root root 4096 Jun 17 06:31 /workspace/cache/release
3539142 4 drwxr-xr-x 3 root root 4096 Jun 25 13:01 /workspace/deps
3539144 0 -rw-r--r-- 1 root root 0 Jun 7 11:06 /workspace/deps/.package-cache
3539143 56 -rw-r--r-- 1 root root 57344 Jun 25 13:01 /workspace/deps/.global-cache
3539145 4 drwxr-xr-x 5 root root 4096 Jun 7 11:06 /workspace/deps/registry
3538946 4 drwxr-xr-x 2 root root 4096 Jun 25 13:06 /workspace/artifacts
3538947 4 drwxr-xr-x 6 root root 4096 Jun 25 13:05 /workspace/src
3538967 4 drwxr-xr-x 8 root root 4096 Jun 25 13:05 /workspace/src/.git
3538950 4 -rw-r--r-- 1 root root 1325 Jun 25 13:05 /workspace/src/LICENSE.md
3538953 4 drwxr-xr-x 3 root root 4096 Jun 25 13:05 /workspace/src/debian
3538964 4 -rw-r--r-- 1 root root 657 Jun 25 13:05 /workspace/src/README.md
3539140 4 -rw-r--r-- 1 root root 86 Jun 25 13:05 /workspace/src/Makefile
3538948 4 drwxr-xr-x 2 root root 4096 Jun 25 13:05 /workspace/src/.radicle
3538966 4 -rw-r--r-- 1 root root 168 Jun 25 13:05 /workspace/src/Cargo.toml
3539141 12 -rw-r--r-- 1 root root 11918 Jun 25 13:05 /workspace/src/Cargo.lock
3538951 4 drwxr-xr-x 2 root root 4096 Jun 25 13:05 /workspace/src/src
3538965 4 -rw-r--r-- 1 root root 8 Jun 25 13:05 /workspace/src/.gitignore
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")]
Compiling libc v0.2.172
Compiling portable-atomic v1.11.1
Checking once_cell v1.21.3
Checking unicode-width v0.2.1
Checking number_prefix v0.4.0
Checking console v0.15.11
Checking indicatif v0.17.11
Checking repeatcmd v0.1.0 (/workspace/src)
error: useless use of `format!`
--> src/main.rs:117:29
|
117 | bar.set_message(format!("command was successful"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"command was successful".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `-D clippy::useless-format` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_format)]`
error: useless use of `format!`
--> src/main.rs:130:33
|
130 | bar.set_message(format!("didn't exit, or terminate with signal"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"didn't exit, or terminate with signal".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
error: could not compile `repeatcmd` (bin "repeatcmd" test) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: could not compile `repeatcmd` (bin "repeatcmd") 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-06-25T13:06:09Z INFO ambient] ambient ends successfully