Radicle repository id rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE
{
"request": "trigger",
"version": 1,
"event_type": "push",
"repository": {
"id": "rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE",
"name": "radicle-native-ci",
"description": "Radicle CI adapter for native CI",
"private": false,
"default_branch": "main",
"delegates": [
"did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT"
]
},
"pusher": {
"id": "did:key:z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8",
"alias": "ci0"
},
"before": "74bc1f413d75030b4e081e30736655739297d738",
"after": "74bc1f413d75030b4e081e30736655739297d738",
"branch": "main",
"commits": [
"74bc1f413d75030b4e081e30736655739297d738"
]
}[2025-05-24T03:29: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 CARGO_TARGET_DIR=/workspace/cache
export CARGO_HOME=/workspace/deps
export HOME=/root
export PATH="/root/.cargo/bin:/root/.radicle/bin:$PATH"
rad --version # make sure rad can be executed
# 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"
cargo test
- action: shell
shell: |
export DEBEMAIL=liw@liw.fi
export DEBFULLNAME="Lars Wirzenius"
export CARGO_TARGET_DIR=/workspace/cache
# git reset --hard
# git clean -fdx
# git switch main
git status --ignored
# git clean -fdx
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 24 03:26 /workspace
6029457 4 drwxr-xr-x 3 root root 4096 May 24 03:23 /workspace/deps
6029458 112 -rw-r--r-- 1 root root 114688 May 24 03:23 /workspace/deps/.global-cache
6029459 0 -rw-r--r-- 1 root root 0 Apr 9 04:17 /workspace/deps/.package-cache
6029460 4 drwxr-xr-x 5 root root 4096 Apr 9 04:17 /workspace/deps/registry
6052508 4 drwxr-xr-x 5 root root 4096 Apr 9 04:18 /workspace/cache
6071274 4 drwxr-xr-x 7 root root 4096 May 20 11:47 /workspace/cache/release
6052509 4 drwxr-xr-x 2 root root 4096 Apr 9 04:17 /workspace/cache/tmp
6077388 4 -rw-r--r-- 1 root root 1034 May 20 11:45 /workspace/cache/.rustc_info.json
6052510 4 drwxr-xr-x 7 root root 4096 May 20 11:45 /workspace/cache/debug
6029316 4 drwxr-xr-x 8 root root 4096 May 24 03:23 /workspace/src
6029317 4 drwxr-xr-x 2 root root 4096 May 24 03:23 /workspace/src/.radicle
6029335 4 drwxr-xr-x 3 root root 4096 May 24 03:23 /workspace/src/debian
6029334 4 -rw-r--r-- 1 root root 2890 May 24 03:23 /workspace/src/NEWS.md
6029451 4 drwxr-xr-x 2 root root 4096 May 24 03:23 /workspace/src/doc
6029346 4 -rw-r--r-- 1 root root 8 May 24 03:23 /workspace/src/.gitignore
6029449 12 -rw-r--r-- 1 root root 9723 May 24 03:23 /workspace/src/LICENSE-APACHE
6029347 4 -rw-r--r-- 1 root root 925 May 24 03:23 /workspace/src/Cargo.toml
6029321 4 drwxr-xr-x 3 root root 4096 May 24 03:23 /workspace/src/src
6029320 4 -rw-r--r-- 1 root root 1079 May 24 03:23 /workspace/src/LICENSE-MIT
6029450 88 -rw-r--r-- 1 root root 90072 May 24 03:23 /workspace/src/Cargo.lock
6029348 4 drwxr-xr-x 2 root root 4096 May 24 03:23 /workspace/src/tests
6029345 4 -rw-r--r-- 1 root root 2833 May 24 03:23 /workspace/src/README.md
6029350 4 drwxr-xr-x 8 root root 4096 May 24 03:23 /workspace/src/.git
6029315 4 drwxr-xr-x 2 root root 4096 May 24 03:25 /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-native-ci v0.10.0 (/workspace/src)
error: the `Err`-variant returned from this function is very large
--> src/bin/radicle-native-ci.rs:47:23
|
47 | fn fallible_main() -> Result<bool, EngineError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 592 bytes
|
= help: try reducing the size of `radicle_native_ci::engine::EngineError`, for example by boxing large elements or replacing it with `Box<radicle_native_ci::engine::EngineError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `-D clippy::result-large-err` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::result_large_err)]`
error: could not compile `radicle-native-ci` (bin "radicle-native-ci") due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `radicle-native-ci` (bin "radicle-native-ci" test) due to 1 previous error
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-24T03:29:47Z INFO ambient] ambient ends successfully