CI run for repeatcmd

Radicle repository id rad:z34Lk5Z18mw8gyfMwJvNPjA1ZwJgd

Triggered by

{
  "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": "0e2d666ab31e3866da0fe9672fd8b90ca2ec055f",
  "after": "0e2d666ab31e3866da0fe9672fd8b90ca2ec055f",
  "branch": "main",
  "commits": [
    "0e2d666ab31e3866da0fe9672fd8b90ca2ec055f"
  ]
}

Run log

[2025-06-25T13:09:19Z INFO  ambient] ambient starts
[=3h[=3hBdsDxe: 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)
Welcome to GRUB!


INFO: 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:09 /workspace
  3543189      4 drwxr-xr-x   4 root     root         4096 Jun  7 11:08 /workspace/cache
  3543190      4 drwxr-xr-x   7 root     root         4096 Jun 17 06:31 /workspace/cache/debug
  3544062      4 -rw-r--r--   1 root     root         1034 Jun 17 06:31 /workspace/cache/.rustc_info.json
  3543774      4 drwxr-xr-x   7 root     root         4096 Jun 17 06:31 /workspace/cache/release
  3539186      4 drwxr-xr-x   3 root     root         4096 Jun 25 13:09 /workspace/deps
  3539188      0 -rw-r--r--   1 root     root            0 Jun  7 11:06 /workspace/deps/.package-cache
  3539187     56 -rw-r--r--   1 root     root        57344 Jun 25 13:09 /workspace/deps/.global-cache
  3539189      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:09 /workspace/artifacts
  3538947      4 drwxr-xr-x   6 root     root         4096 Jun 25 13:09 /workspace/src
  3538967      4 drwxr-xr-x   8 root     root         4096 Jun 25 13:09 /workspace/src/.git
  3538950      4 -rw-r--r--   1 root     root         1325 Jun 25 13:09 /workspace/src/LICENSE.md
  3538953      4 drwxr-xr-x   3 root     root         4096 Jun 25 13:09 /workspace/src/debian
  3538964      4 -rw-r--r--   1 root     root          657 Jun 25 13:09 /workspace/src/README.md
  3539184      4 -rw-r--r--   1 root     root           86 Jun 25 13:09 /workspace/src/Makefile
  3538948      4 drwxr-xr-x   2 root     root         4096 Jun 25 13:09 /workspace/src/.radicle
  3538966      4 -rw-r--r--   1 root     root          168 Jun 25 13:09 /workspace/src/Cargo.toml
  3539185     12 -rw-r--r--   1 root     root        11918 Jun 25 13:09 /workspace/src/Cargo.lock
  3538951      4 drwxr-xr-x   2 root     root         4096 Jun 25 13:09 /workspace/src/src
  3538965      4 -rw-r--r--   1 root     root            8 Jun 25 13:09 /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")]
Diff in /workspace/src/src/main.rs:1:
 use std::{
     ffi::{OsStr, OsString},
     os::unix::process::ExitStatusExt,
-    process::{exit, Command},
+    process::{Command, exit},
     thread::sleep,
     time::Duration,
 };
ERROR: Action failed: command failed: ["cargo", "fmt", "--check"]
ERROR: command failed: ["cargo", "fmt", "--check"]
EXIT CODE: 1
[2025-06-25T13:09:19Z INFO  ambient] ambient ends successfully