CI run for rad:zwTxygwuz5LDGBq255RA2CbNGrz8

Radicle repository id rad:zwTxygwuz5LDGBq255RA2CbNGrz8

Table of Contents

Run log

[2025-10-14T14:10:51Z INFO  ambient] ambient starts
deprecated: the `cpus` field is replaced by `qemu.cpus`
deprecated: the `memory` field is replaced by `qemu.memory`
[=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: Block devices
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sr0     11:0    1   370K  0 rom  
vda    254:0    0   100G  0 disk 
├─vda1 254:1    0   953M  0 part 
└─vda2 254:2    0  99.1G  0 part /
vdb    254:16   0   6.1M  1 disk 
vdc    254:32   0     9M  1 disk 
vdd    254:48   0 953.7M  0 disk 
vde    254:64   0  27.9G  0 disk 
vdf    254:80   0 894.7M  1 disk 
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad         0 2025-10-14 14:10 ./
-rw-r--r-- _rad/_rad      1789 2025-10-14 14:10 ./plan.yaml
-rwxr-xr-x _rad/_rad   6369536 2025-10-14 14:10 ./run-ci
INFO: Extracted files:
  3538954      4 drwxr-xr-x   2 1000     1000         4096 Oct 14 14:10 .
  3538955      4 -rw-r--r--   1 1000     1000         1789 Oct 14 14:10 ./plan.yaml
  3538956   6224 -rwxr-xr-x   1 1000     1000      6369536 Oct 14 14:10 ./run-ci
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-10-14T14:10:36Z TRACE ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-14T14:10:36Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-14T14:10:36Z INFO  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-14T14:10:36Z WARN  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-14T14:10:36Z ERROR ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 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"

    # Check that `rad` is there.
    rad --help >/dev/null || (echo rad is not there; exit 1)

    cargo doc --workspace --no-deps

    # FIXME: We can't run upgrade tests from older versions because
    # Ambient only fetches dependencies for the current version.
    # Thus, we can't build the old versions. This is an Ambient
    # problem that we can't fix here. So we skip the upgrade tests.
    cargo test --workspace --no-fail-fast -- --skip upgrade --test-threads 2

    subplot docgen ci-broker.subplot -o doc/ci-broker.html
    subplot docgen doc/userguide.subplot -o doc/userguide.html
    make -C doc
    cp doc/*.html /workspace/artifacts/.
- action: custom
  name: dch
  args:
    debfullname: Lars Wirzenius
    debemail: liw@liw.fi
- 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


[2025-10-14T14:10:36Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
        pathname: "/workspace",
    }
[2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
        pathname: "/workspace",
    }
[2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "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",
        },
        source_dir: "/workspace/src",
    }
[2025-10-14T14:10:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-14T14:10:36Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
        pathname: "/workspace/artifacts",
    }
[2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
        pathname: "/workspace/artifacts",
    }
[2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "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",
        },
        source_dir: "/workspace/src",
    }
[2025-10-14T14:10:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-14T14:10:36Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "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",
        },
        source_dir: "/workspace/src",
    }
[2025-10-14T14:10:36Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-10-14T14:10:36Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-14T14:10:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-14T14:10:36Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "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",
        },
        source_dir: "/workspace/src",
    }
[2025-10-14T14:10:36Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-10-14T14:10:38Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-14T14:10:38Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-14T14:10:38Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-10-14T14:10:38Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-10-14T14:10:38Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "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",
        },
        source_dir: "/workspace/src",
    }
[2025-10-14T14:10:38Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-10-14T14:10:47Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-14T14:10:47Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-14T14:10:47Z DEBUG ambient_ci::plan] RUN: Action Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
[2025-10-14T14:10:47Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
[2025-10-14T14:10:47Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "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",
        },
        source_dir: "/workspace/src",
    }
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
       cwd=/workspace/src (exists? true)
  5242881      4 drwxr-xr-x   6 root     root         4096 Oct 14 14:10 /workspace
  5242882      4 drwxr-xr-x   2 root     root         4096 Oct 14 14:10 /workspace/artifacts
  5243125      4 drwxr-xr-x   3 root     root         4096 Oct 14 14:10 /workspace/deps
  5243126      4 drwxr-xr-x   5 root     root         4096 Sep 10 13:33 /workspace/deps/registry
  5271213      0 -rw-r--r--   1 root     root            0 Sep 10 13:33 /workspace/deps/.package-cache-mutate
  5271212    120 -rw-r--r--   1 root     root       122880 Oct 14 14:10 /workspace/deps/.global-cache
  5271214      0 -rw-r--r--   1 root     root            0 Sep 10 13:33 /workspace/deps/.package-cache
  5271215      4 drwxr-xr-x   6 root     root         4096 Sep 20 06:05 /workspace/cache
  5275910      4 -rw-r--r--   1 root     root          218 Sep 20 05:56 /workspace/cache/.rustdoc_fingerprint.json
  5271216      4 -rw-r--r--   1 root     root         1038 Oct 14 14:10 /workspace/cache/.rustc_info.json
  5275911      4 drwxr-xr-x   7 root     root         4096 Oct 11 12:58 /workspace/cache/debug
  5271217      4 drwxr-xr-x   7 root     root         4096 Oct 11 12:58 /workspace/cache/release
  5275909      4 drwxr-xr-x   2 root     root         4096 Sep 20 05:52 /workspace/cache/tmp
  5275358      4 drwxr-xr-x  12 root     root         4096 Oct 11 12:54 /workspace/cache/doc
  5242883      4 drwxr-xr-x  10 root     root         4096 Oct 14 14:10 /workspace/src
  5242978      4 drwxr-xr-x   2 root     root         4096 Oct 14 14:10 /workspace/src/.cargo
  5242960      4 -rw-r--r--   1 root     root          386 Oct 14 14:10 /workspace/src/cibtool.1
  5242981      4 drwxr-xr-x   2 root     root         4096 Oct 14 14:10 /workspace/src/.ambient
  5242969      4 -rw-r--r--   1 root     root         1079 Oct 14 14:10 /workspace/src/LICENSE-MIT
  5242976      4 -rw-r--r--   1 root     root           44 Oct 14 14:10 /workspace/src/.gitignore
  5242970     12 -rw-r--r--   1 root     root         9723 Oct 14 14:10 /workspace/src/LICENSE-APACHE
  5242889      4 -rw-r--r--   1 root     root          469 Oct 14 14:10 /workspace/src/test.yaml
  5242948      4 drwxr-xr-x   3 root     root         4096 Oct 14 14:10 /workspace/src/debian
  5242983      4 drwxr-xr-x   8 root     root         4096 Oct 14 14:10 /workspace/src/.git
  5242961      4 -rw-r--r--   1 root     root          440 Oct 14 14:10 /workspace/src/cib.1
  5242935      8 -rw-r--r--   1 root     root         5951 Oct 14 14:10 /workspace/src/flake.nix
  5242966      4 -rw-r--r--   1 root     root         2245 Oct 14 14:10 /workspace/src/RELEASE.md
  5242964   2932 -rw-r--r--   1 root     root      3002368 Oct 14 14:10 /workspace/src/ci-broker.db
  5242886      4 drwxr-xr-x   2 root     root         4096 Oct 14 14:10 /workspace/src/tests
  5242974      4 drwxr-xr-x   2 root     root         4096 Oct 14 14:10 /workspace/src/.radicle
  5242968     40 -rw-r--r--   1 root     root        37786 Oct 14 14:10 /workspace/src/NEWS.md
  5242971      4 -rw-r--r--   1 root     root         1716 Oct 14 14:10 /workspace/src/Cargo.toml
  5242962      4 -rw-r--r--   1 root     root          732 Oct 14 14:10 /workspace/src/ci-broker.yaml
  5242885      4 -rw-r--r--   1 root     root          386 Oct 14 14:10 /workspace/src/Makefile
  5242967      8 -rw-r--r--   1 root     root         4796 Oct 14 14:10 /workspace/src/README.md
  5242884     92 -rw-r--r--   1 root     root        93100 Oct 14 14:10 /workspace/src/ci-broker.md
  5242965      4 -rw-r--r--   1 root     root          802 Oct 14 14:10 /workspace/src/build.rs
  5242977      4 -rw-r--r--   1 root     root           10 Oct 14 14:10 /workspace/src/.envrc
  5242973      4 -rw-r--r--   1 root     root         1188 Oct 14 14:10 /workspace/src/CONTRIBUTING.md
  5242972    100 -rw-r--r--   1 root     root        98580 Oct 14 14:10 /workspace/src/Cargo.lock
  5242963      4 -rw-r--r--   1 root     root          257 Oct 14 14:10 /workspace/src/ci-broker.subplot
  5242937      4 drwxr-xr-x   2 root     root         4096 Oct 14 14:10 /workspace/src/doc
  5242936      8 -rw-r--r--   1 root     root         6528 Oct 14 14:10 /workspace/src/flake.lock
  5242888      4 -rw-r--r--   1 root     root          905 Oct 14 14:10 /workspace/src/test2.yaml
  5242890      4 drwxr-xr-x   4 root     root         4096 Oct 14 14:10 /workspace/src/src
[2025-10-14T14:10:47Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-14T14:10:47Z DEBUG ambient_ci::plan] RUN: Action CargoFmt
[2025-10-14T14:10:47Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFmt
[2025-10-14T14:10:47Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "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",
        },
        source_dir: "/workspace/src",
    }
SPAWN: argv=["cargo", "--version"]
       cwd=/workspace/src (exists? true)
cargo 1.90.0 (840b83a10 2025-07-30)
SPAWN: argv=["cargo", "clippy", "--version"]
       cwd=/workspace/src (exists? true)
clippy 0.1.90 (1159e78c47 2025-09-14)
SPAWN: argv=["rustc", "--version"]
       cwd=/workspace/src (exists? true)
rustc 1.90.0 (1159e78c4 2025-09-14)
SPAWN: argv=["cargo", "fmt", "--check"]
       cwd=/workspace/src (exists? true)
Diff in /workspace/src/src/logger.rs:4:
 
 use clap::ValueEnum;
 use serde_json::Value;
-use tracing::{debug, error, info, trace, warn, Level};
-use tracing_subscriber::{fmt, layer::SubscriberExt, util::SubscriberInitExt, EnvFilter};
+use tracing::{Level, debug, error, info, trace, warn};
+use tracing_subscriber::{EnvFilter, fmt, layer::SubscriberExt, util::SubscriberInitExt};
 use uuid::Uuid;
 
 use radicle::{git::Oid, identity::RepoId, node::Event, patch::PatchId};
Diff in /workspace/src/src/queueproc.rs:4:
 
 use std::{
     collections::HashSet,
-    sync::{mpsc::RecvTimeoutError, Arc, Mutex},
+    sync::{Arc, Mutex, mpsc::RecvTimeoutError},
     thread::{sleep, spawn},
     time::{Duration, Instant},
 };
Diff in /workspace/src/src/queueproc.rs:11:
 
-use radicle::{identity::RepoId, Profile};
+use radicle::{Profile, identity::RepoId};
 
 use crate::{
     adapter::{Adapter, Adapters},
[2025-10-14T14:10:47Z ERROR ambient_ci::plan] ERROR: Action failed: failed to execute cargo
[2025-10-14T14:10:47Z ERROR ambient_ci::plan] caused by: command failed: "cargo": exit code 1
ERROR: failed to execute cargo
caused by: command failed: "cargo": exit code 1
EXIT CODE: 1
[2025-10-14T14:10:51Z INFO  ambient] ambient ends successfully

Trigger message

{
  "request": "trigger",
  "version": 1,
  "event_type": "patch",
  "repository": {
    "id": "rad:zwTxygwuz5LDGBq255RA2CbNGrz8",
    "name": "radicle-ci-broker",
    "description": "Radicle CI broker",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
      "did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT"
    ]
  },
  "action": "Created",
  "patch": {
    "id": "e4ebdeb1f801ddd45856f6178c5f79b795a0ab2e",
    "author": {
      "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
      "alias": "liw"
    },
    "title": "fix cib logic for when to process next and stop processing queue",
    "state": {
      "status": "open",
      "conflicts": []
    },
    "before": "6bcf81400438044df0a11a564112fcdfbc9c381e",
    "after": "7b865840e80022fcf9279bad2ffe353812a10079",
    "commits": [
      "7b865840e80022fcf9279bad2ffe353812a10079",
      "59ef2c760ce6ef46101d1d80358047521a9beaba",
      "a17ab01ec5e80dfd3686de4727c096ff7964c639",
      "a2ff833fd7a6c9f6744f833d58789f6758c6e2d5",
      "7ba599bbe2edce8018e4c40dbf19d5a4554130a6",
      "2044a69e57b4c013582b517dadd110723107e1e4"
    ],
    "target": "6bcf81400438044df0a11a564112fcdfbc9c381e",
    "labels": [],
    "assignees": [],
    "revisions": [
      {
        "id": "e4ebdeb1f801ddd45856f6178c5f79b795a0ab2e",
        "author": {
          "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
          "alias": "liw"
        },
        "description": "",
        "base": "6bcf81400438044df0a11a564112fcdfbc9c381e",
        "oid": "7b865840e80022fcf9279bad2ffe353812a10079",
        "timestamp": 1760451018
      }
    ]
  }
}

Ambient stdout

[2025-10-14T14:10:26Z INFO  ambient] ambient starts
[2025-10-14T14:10:26Z DEBUG ambient] load default configuration file /home/_rad/.config/ambient/config.yaml if it exists
deprecated: the `cpus` field is replaced by `qemu.cpus`
deprecated: the `memory` field is replaced by `qemu.memory`
[2025-10-14T14:10:26Z DEBUG ambient] complete configuration: Config {
        tmpdir: "/home/_rad/tmp",
        image_store: "/home/_rad/ambient-images",
        projects: "/dev/null",
        state: "/home/_rad/ambient-state",
        rsync_target: None,
        rsync_target_base: None,
        rsync_target_map: None,
        dput_target: None,
        executor: Some(
            "/usr/bin/ambient-execute-plan",
        ),
        artifacts_max_size: Byte(
            1000000000,
        ),
        cache_max_size: Byte(
            30000000000,
        ),
        qemu: QemuConfig {
            cpus: 2,
            memory: Byte(
                12000000000,
            ),
            kvm_binary: "/usr/bin/kvm",
            ovmf_vars_file: "/usr/share/ovmf/OVMF.fd",
            ovmf_code_file: "/usr/share/ovmf/OVMF.fd",
        },
    }
[2025-10-14T14:10:26Z DEBUG ambient] configuration: Config {
        tmpdir: "/home/_rad/tmp",
        image_store: "/home/_rad/ambient-images",
        projects: "/dev/null",
        state: "/home/_rad/ambient-state",
        rsync_target: None,
        rsync_target_base: None,
        rsync_target_map: None,
        dput_target: None,
        executor: Some(
            "/usr/bin/ambient-execute-plan",
        ),
        artifacts_max_size: Byte(
            1000000000,
        ),
        cache_max_size: Byte(
            30000000000,
        ),
        qemu: QemuConfig {
            cpus: 2,
            memory: Byte(
                12000000000,
            ),
            kvm_binary: "/usr/bin/kvm",
            ovmf_vars_file: "/usr/share/ovmf/OVMF.fd",
            ovmf_code_file: "/usr/share/ovmf/OVMF.fd",
        },
    }
[2025-10-14T14:10:26Z DEBUG ambient_ci::project] load project state from /home/_rad/ambient-state/rad:zwTxygwuz5LDGBq255RA2CbNGrz8/meta.yaml
[2025-10-14T14:10:26Z DEBUG ambient_ci::run] latest commit: "6bcf81400438044df0a11a564112fcdfbc9c381e"
[2025-10-14T14:10:26Z DEBUG ambient_ci::run] is a git repository
[2025-10-14T14:10:26Z DEBUG ambient_ci::run] git repository is clean
[2025-10-14T14:10:26Z DEBUG ambient_ci::run] current (HEAD) commit: 7b865840e80022fcf9279bad2ffe353812a10079
[2025-10-14T14:10:26Z DEBUG ambient_ci::run] no dry run requested
[2025-10-14T14:10:26Z DEBUG ambient_ci::run] forced run requested
[2025-10-14T14:10:26Z DEBUG ambient_ci::run] run? true
[2025-10-14T14:10:26Z INFO  ambient_ci::run] project rad:zwTxygwuz5LDGBq255RA2CbNGrz8: running CI
[2025-10-14T14:10:26Z DEBUG ambient_ci::run] Executing pre-plan steps
[2025-10-14T14:10:26Z DEBUG ambient_ci::plan] RUN: Action CargoFetch {
        sourcedir: "/tmp/.tmptX7nVF/src",
    }
[2025-10-14T14:10:26Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFetch {
        sourcedir: "/tmp/.tmptX7nVF/src",
    }
[2025-10-14T14:10:26Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "PATH": "/root/.cargo/bin:/bin:/home/_rad/.radicle/bin:/home/_rad/.cargo/bin",
            "CARGO_TARGET_DIR": "/home/_rad/ambient-state/rad:zwTxygwuz5LDGBq255RA2CbNGrz8/cache",
            "CARGO_HOME": "/home/_rad/ambient-state/rad:zwTxygwuz5LDGBq255RA2CbNGrz8/dependencies",
        },
        source_dir: "/tmp/.tmptX7nVF/src",
    }
SPAWN: argv=["cargo", "--version"]
       cwd=/tmp/.tmptX7nVF/src (exists? true)
cargo 1.90.0 (840b83a10 2025-07-30)
SPAWN: argv=["cargo", "clippy", "--version"]
       cwd=/tmp/.tmptX7nVF/src (exists? true)
clippy 0.1.90 (1159e78c47 2025-09-14)
SPAWN: argv=["rustc", "--version"]
       cwd=/tmp/.tmptX7nVF/src (exists? true)
rustc 1.90.0 (1159e78c4 2025-09-14)
SPAWN: argv=["cargo", "fetch"]
       cwd=/tmp/.tmptX7nVF/src (exists? true)
[2025-10-14T14:10:27Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-14T14:10:27Z DEBUG ambient_ci::plan] All actions were performed successfully
[2025-10-14T14:10:27Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpZGzCGr/src.tar
[2025-10-14T14:10:27Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpZGzCGr/deps.tar
[2025-10-14T14:10:28Z DEBUG ambient_ci::run] create_executor_vdrive: executor="/usr/bin/ambient-execute-plan"
[2025-10-14T14:10:28Z DEBUG ambient_ci::run] create_executor_vdrive: plan=RunnablePlan {
        steps: [
            Mkdir {
                pathname: "/workspace",
            },
            Mkdir {
                pathname: "/workspace/artifacts",
            },
            TarExtract {
                archive: "/dev/vdc",
                directory: "/workspace/src",
            },
            TarExtract {
                archive: "/dev/vdf",
                directory: "/workspace/deps",
            },
            TarExtract {
                archive: "/dev/vde",
                directory: "/workspace/cache",
            },
            Spawn {
                argv: [
                    "find",
                    "/workspace",
                    "-maxdepth",
                    "2",
                    "-ls",
                ],
            },
            CargoFmt,
            CargoClippy,
            Shell {
                shell: "export CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:/root/.radicle/bin:$PATH\"\n\n# Check that `rad` is there.\nrad --help >/dev/null || (echo rad is not there; exit 1)\n\ncargo doc --workspace --no-deps\n\n# FIXME: We can't run upgrade tests from older versions because\n# Ambient only fetches dependencies for the current version.\n# Thus, we can't build the old versions. This is an Ambient\n# problem that we can't fix here. So we skip the upgrade tests.\ncargo test --workspace --no-fail-fast -- --skip upgrade --test-threads 2\n\nsubplot docgen ci-broker.subplot -o doc/ci-broker.html\nsubplot docgen doc/userguide.subplot -o doc/userguide.html\nmake -C doc\ncp doc/*.html /workspace/artifacts/.\n",
            },
            Custom(
                Custom {
                    name: "dch",
                    args: {
                        "debfullname": String("Lars Wirzenius"),
                        "debemail": String("liw@liw.fi"),
                    },
                },
            ),
            Deb,
            TarCreate {
                archive: "/dev/vde",
                directory: "/workspace/cache",
            },
            TarCreate {
                archive: "/dev/vdd",
                directory: "/workspace/artifacts",
            },
        ],
        executor_drive: Some(
            "/dev/vdb",
        ),
        source_drive: Some(
            "/dev/vdc",
        ),
        artifact_drive: Some(
            "/dev/vdd",
        ),
        cache_drive: Some(
            "/dev/vde",
        ),
        deps_drive: Some(
            "/dev/vdf",
        ),
        workspace_dir: Some(
            "/workspace",
        ),
        source_dir: Some(
            "/workspace/src",
        ),
        deps_dir: Some(
            "/workspace/deps",
        ),
        cache_dir: Some(
            "/workspace/cache",
        ),
        artifacts_dir: Some(
            "/workspace/artifacts",
        ),
    }
[2025-10-14T14:10:28Z DEBUG ambient_ci::run] executor bin /usr/bin/ambient-execute-plan
[2025-10-14T14:10:28Z DEBUG ambient_ci::run] copying /usr/bin/ambient-execute-plan to /home/_rad/tmp/.tmpZGzCGr/ambient-execute-plan/run-ci
[2025-10-14T14:10:28Z DEBUG ambient_ci::run] copy OK: true
[2025-10-14T14:10:28Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpZGzCGr/executor.tar
[2025-10-14T14:10:32Z DEBUG ambient_ci::project] removing run log file /home/_rad/ambient-state/rad:zwTxygwuz5LDGBq255RA2CbNGrz8/run.log
[2025-10-14T14:10:32Z DEBUG ambient_ci::project] statedir is /home/_rad/ambient-state/rad:zwTxygwuz5LDGBq255RA2CbNGrz8, exists? true
[2025-10-14T14:10:32Z DEBUG ambient_ci::project] creating run log file /home/_rad/ambient-state/rad:zwTxygwuz5LDGBq255RA2CbNGrz8/run.log
[2025-10-14T14:10:32Z DEBUG ambient_ci::project] created run log file /home/_rad/ambient-state/rad:zwTxygwuz5LDGBq255RA2CbNGrz8/run.log OK
[2025-10-14T14:10:32Z DEBUG ambient_ci::cloud_init] with_hostname called: "ambient"
[2025-10-14T14:10:32Z DEBUG ambient_ci::cloud_init] with_runcmd called: "echo xyzzy > /dev/ttyS1"
[2025-10-14T14:10:32Z DEBUG ambient_ci::cloud_init] with_runcmd called: "\n(set -xeu\nenv\ndir=\"$(mktemp -d)\"\ncd \"$dir\"\ntar -xvf /dev/vdb\nfind -ls || true\nldd ./run-ci || true\necho ================================ BEGIN ================================\nexport RUST_BACKTRACE=1\nif ./run-ci; then\n        echo \"EXIT CODE: 0\"\nelse\n        echo \"EXIT CODE: $?\"\nfi) > /dev/ttyS1 2>&1\n"
[2025-10-14T14:10:32Z DEBUG ambient_ci::cloud_init] with_runcmd called: "poweroff"
[2025-10-14T14:10:32Z DEBUG ambient_ci::cloud_init] LocalDataStoreBuilder: LocalDataStoreBuilder {
        hostname: Some(
            "ambient",
        ),
        network: false,
        bootcmd: [],
        runcmd: [
            "echo xyzzy > /dev/ttyS1",
            "\n(set -xeu\nenv\ndir=\"$(mktemp -d)\"\ncd \"$dir\"\ntar -xvf /dev/vdb\nfind -ls || true\nldd ./run-ci || true\necho ================================ BEGIN ================================\nexport RUST_BACKTRACE=1\nif ./run-ci; then\n        echo \"EXIT CODE: 0\"\nelse\n        echo \"EXIT CODE: $?\"\nfi) > /dev/ttyS1 2>&1\n",
            "poweroff",
        ],
    }
[2025-10-14T14:10:32Z DEBUG ambient_ci::qemu] run QEMU
[2025-10-14T14:10:32Z DEBUG ambient_ci::qemu] create copy-on-write image and UEFI vars file
[2025-10-14T14:10:32Z DEBUG ambient_ci::qemu_utils] qemu-img create /home/_rad/tmp/.tmpSRj692/.tmpoQj0Fy/vm.qcow2 backing on /home/_rad/ambient.qcow2
[2025-10-14T14:10:33Z DEBUG ambient_ci::qemu] create cloud-init ISO file
[2025-10-14T14:10:33Z DEBUG ambient_ci::cloud_init] LocalDataStore: LocalDataStore {
        hostname: "ambient",
        network: false,
        bootcmd: [],
        runcmd: [
            "echo xyzzy > /dev/ttyS1",
            "\n(set -xeu\nenv\ndir=\"$(mktemp -d)\"\ncd \"$dir\"\ntar -xvf /dev/vdb\nfind -ls || true\nldd ./run-ci || true\necho ================================ BEGIN ================================\nexport RUST_BACKTRACE=1\nif ./run-ci; then\n        echo \"EXIT CODE: 0\"\nelse\n        echo \"EXIT CODE: $?\"\nfi) > /dev/ttyS1 2>&1\n",
            "poweroff",
        ],
    }
[2025-10-14T14:10:33Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpt3wTnK/meta-data
[2025-10-14T14:10:33Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpt3wTnK/user-data
[2025-10-14T14:10:33Z DEBUG ambient_ci::qemu] set console log file to /home/_rad/tmp/.tmpSRj692/.tmpoQj0Fy/console.log
[2025-10-14T14:10:33Z DEBUG ambient_ci::util] create file /home/_rad/tmp/.tmpSRj692/.tmpoQj0Fy/console.log
[2025-10-14T14:10:33Z DEBUG ambient_ci::qemu] set run file to /home/_rad/ambient-state/rad:zwTxygwuz5LDGBq255RA2CbNGrz8/run.log
[2025-10-14T14:10:33Z DEBUG ambient_ci::util] create file /home/_rad/ambient-state/rad:zwTxygwuz5LDGBq255RA2CbNGrz8/run.log
[2025-10-14T14:10:33Z DEBUG ambient_ci::qemu] run QEMU: QemuArgs {
        args: [
            "-m",
            "11444",
            "-smp",
            "cpus=2",
            "-cpu",
            "kvm64",
            "-machine",
            "type=q35,accel=kvm,usb=off",
            "-uuid",
            "a85c9de7-edc0-4e54-bead-112e5733582c",
            "-boot",
            "strict=on",
            "-name",
            "ambient-ci-vm",
            "-rtc",
            "base=utc,driftfix=slew",
            "-display",
            "none",
            "-device",
            "virtio-rng-pci",
            "-serial",
            "file:/home/_rad/tmp/.tmpSRj692/.tmpoQj0Fy/console.log",
            "-serial",
            "file:/home/_rad/ambient-state/rad:zwTxygwuz5LDGBq255RA2CbNGrz8/run.log",
            "-drive",
            "if=pflash,format=raw,unit=0,file=/usr/share/ovmf/OVMF.fd,readonly=on",
            "-drive",
            "if=pflash,format=raw,unit=1,file=/home/_rad/tmp/.tmpSRj692/.tmpoQj0Fy/vars.fd",
            "-drive",
            "format=qcow2,if=virtio,file=/home/_rad/tmp/.tmpSRj692/.tmpoQj0Fy/vm.qcow2",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpZGzCGr/executor.tar,readonly=on",
            "-cdrom",
            "/home/_rad/tmp/.tmpSRj692/.tmpoQj0Fy/cloud_init.iso",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpZGzCGr/src.tar,readonly=on",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpZGzCGr/artifacts.tar",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpZGzCGr/cache.tar",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpZGzCGr/deps.tar,readonly=on",
            "-nodefaults",
            "-no-user-config",
        ],
    }
[2025-10-14T14:10:49Z DEBUG ambient_ci::qemu] QEMU finished OK
[2025-10-14T14:10:49Z DEBUG ambient_ci::qemu] run log:
    --------------------==========
    [2025-10-14T14:10:36Z TRACE ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-14T14:10:36Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-14T14:10:36Z INFO  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-14T14:10:36Z WARN  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-14T14:10:36Z ERROR ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 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"
    
        # Check that `rad` is there.
        rad --help >/dev/null || (echo rad is not there; exit 1)
    
        cargo doc --workspace --no-deps
    
        # FIXME: We can't run upgrade tests from older versions because
        # Ambient only fetches dependencies for the current version.
        # Thus, we can't build the old versions. This is an Ambient
        # problem that we can't fix here. So we skip the upgrade tests.
        cargo test --workspace --no-fail-fast -- --skip upgrade --test-threads 2
    
        subplot docgen ci-broker.subplot -o doc/ci-broker.html
        subplot docgen doc/userguide.subplot -o doc/userguide.html
        make -C doc
        cp doc/*.html /workspace/artifacts/.
    - action: custom
      name: dch
      args:
        debfullname: Lars Wirzenius
        debemail: liw@liw.fi
    - 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
    
    
    [2025-10-14T14:10:36Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
            pathname: "/workspace",
        }
    [2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
            pathname: "/workspace",
        }
    [2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "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",
            },
            source_dir: "/workspace/src",
        }
    [2025-10-14T14:10:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-14T14:10:36Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
            pathname: "/workspace/artifacts",
        }
    [2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
            pathname: "/workspace/artifacts",
        }
    [2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "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",
            },
            source_dir: "/workspace/src",
        }
    [2025-10-14T14:10:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-14T14:10:36Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "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",
            },
            source_dir: "/workspace/src",
        }
    [2025-10-14T14:10:36Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
    [2025-10-14T14:10:36Z TRACE ambient_ci::vdrive] extraction OK
    [2025-10-14T14:10:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-14T14:10:36Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-10-14T14:10:36Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "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",
            },
            source_dir: "/workspace/src",
        }
    [2025-10-14T14:10:36Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
    [2025-10-14T14:10:38Z TRACE ambient_ci::vdrive] extraction OK
    [2025-10-14T14:10:38Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-14T14:10:38Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-10-14T14:10:38Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-10-14T14:10:38Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "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",
            },
            source_dir: "/workspace/src",
        }
    [2025-10-14T14:10:38Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
    [2025-10-14T14:10:47Z TRACE ambient_ci::vdrive] extraction OK
    [2025-10-14T14:10:47Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-14T14:10:47Z DEBUG ambient_ci::plan] RUN: Action Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    [2025-10-14T14:10:47Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    [2025-10-14T14:10:47Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "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",
            },
            source_dir: "/workspace/src",
        }
    SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
           cwd=/workspace/src (exists? true)
      5242881      4 drwxr-xr-x   6 root     root         4096 Oct 14 14:10 /workspace
      5242882      4 drwxr-xr-x   2 root     root         4096 Oct 14 14:10 /workspace/artifacts
      5243125      4 drwxr-xr-x   3 root     root         4096 Oct 14 14:10 /workspace/deps
      5243126      4 drwxr-xr-x   5 root     root         4096 Sep 10 13:33 /workspace/deps/registry
      5271213      0 -rw-r--r--   1 root     root            0 Sep 10 13:33 /workspace/deps/.package-cache-mutate
      5271212    120 -rw-r--r--   1 root     root       122880 Oct 14 14:10 /workspace/deps/.global-cache
      5271214      0 -rw-r--r--   1 root     root            0 Sep 10 13:33 /workspace/deps/.package-cache
      5271215      4 drwxr-xr-x   6 root     root         4096 Sep 20 06:05 /workspace/cache
      5275910      4 -rw-r--r--   1 root     root          218 Sep 20 05:56 /workspace/cache/.rustdoc_fingerprint.json
      5271216      4 -rw-r--r--   1 root     root         1038 Oct 14 14:10 /workspace/cache/.rustc_info.json
      5275911      4 drwxr-xr-x   7 root     root         4096 Oct 11 12:58 /workspace/cache/debug
      5271217      4 drwxr-xr-x   7 root     root         4096 Oct 11 12:58 /workspace/cache/release
      5275909      4 drwxr-xr-x   2 root     root         4096 Sep 20 05:52 /workspace/cache/tmp
      5275358      4 drwxr-xr-x  12 root     root         4096 Oct 11 12:54 /workspace/cache/doc
      5242883      4 drwxr-xr-x  10 root     root         4096 Oct 14 14:10 /workspace/src
      5242978      4 drwxr-xr-x   2 root     root         4096 Oct 14 14:10 /workspace/src/.cargo
      5242960      4 -rw-r--r--   1 root     root          386 Oct 14 14:10 /workspace/src/cibtool.1
      5242981      4 drwxr-xr-x   2 root     root         4096 Oct 14 14:10 /workspace/src/.ambient
      5242969      4 -rw-r--r--   1 root     root         1079 Oct 14 14:10 /workspace/src/LICENSE-MIT
      5242976      4 -rw-r--r--   1 root     root           44 Oct 14 14:10 /workspace/src/.gitignore
      5242970     12 -rw-r--r--   1 root     root         9723 Oct 14 14:10 /workspace/src/LICENSE-APACHE
      5242889      4 -rw-r--r--   1 root     root          469 Oct 14 14:10 /workspace/src/test.yaml
      5242948      4 drwxr-xr-x   3 root     root         4096 Oct 14 14:10 /workspace/src/debian
      5242983      4 drwxr-xr-x   8 root     root         4096 Oct 14 14:10 /workspace/src/.git
      5242961      4 -rw-r--r--   1 root     root          440 Oct 14 14:10 /workspace/src/cib.1
      5242935      8 -rw-r--r--   1 root     root         5951 Oct 14 14:10 /workspace/src/flake.nix
      5242966      4 -rw-r--r--   1 root     root         2245 Oct 14 14:10 /workspace/src/RELEASE.md
      5242964   2932 -rw-r--r--   1 root     root      3002368 Oct 14 14:10 /workspace/src/ci-broker.db
      5242886      4 drwxr-xr-x   2 root     root         4096 Oct 14 14:10 /workspace/src/tests
      5242974      4 drwxr-xr-x   2 root     root         4096 Oct 14 14:10 /workspace/src/.radicle
      5242968     40 -rw-r--r--   1 root     root        37786 Oct 14 14:10 /workspace/src/NEWS.md
      5242971      4 -rw-r--r--   1 root     root         1716 Oct 14 14:10 /workspace/src/Cargo.toml
      5242962      4 -rw-r--r--   1 root     root          732 Oct 14 14:10 /workspace/src/ci-broker.yaml
      5242885      4 -rw-r--r--   1 root     root          386 Oct 14 14:10 /workspace/src/Makefile
      5242967      8 -rw-r--r--   1 root     root         4796 Oct 14 14:10 /workspace/src/README.md
      5242884     92 -rw-r--r--   1 root     root        93100 Oct 14 14:10 /workspace/src/ci-broker.md
      5242965      4 -rw-r--r--   1 root     root          802 Oct 14 14:10 /workspace/src/build.rs
      5242977      4 -rw-r--r--   1 root     root           10 Oct 14 14:10 /workspace/src/.envrc
      5242973      4 -rw-r--r--   1 root     root         1188 Oct 14 14:10 /workspace/src/CONTRIBUTING.md
      5242972    100 -rw-r--r--   1 root     root        98580 Oct 14 14:10 /workspace/src/Cargo.lock
      5242963      4 -rw-r--r--   1 root     root          257 Oct 14 14:10 /workspace/src/ci-broker.subplot
      5242937      4 drwxr-xr-x   2 root     root         4096 Oct 14 14:10 /workspace/src/doc
      5242936      8 -rw-r--r--   1 root     root         6528 Oct 14 14:10 /workspace/src/flake.lock
      5242888      4 -rw-r--r--   1 root     root          905 Oct 14 14:10 /workspace/src/test2.yaml
      5242890      4 drwxr-xr-x   4 root     root         4096 Oct 14 14:10 /workspace/src/src
    [2025-10-14T14:10:47Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-14T14:10:47Z DEBUG ambient_ci::plan] RUN: Action CargoFmt
    [2025-10-14T14:10:47Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFmt
    [2025-10-14T14:10:47Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "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",
            },
            source_dir: "/workspace/src",
        }
    SPAWN: argv=["cargo", "--version"]
           cwd=/workspace/src (exists? true)
    cargo 1.90.0 (840b83a10 2025-07-30)
    SPAWN: argv=["cargo", "clippy", "--version"]
           cwd=/workspace/src (exists? true)
    clippy 0.1.90 (1159e78c47 2025-09-14)
    SPAWN: argv=["rustc", "--version"]
           cwd=/workspace/src (exists? true)
    rustc 1.90.0 (1159e78c4 2025-09-14)
    SPAWN: argv=["cargo", "fmt", "--check"]
           cwd=/workspace/src (exists? true)
    Diff in /workspace/src/src/logger.rs:4:
     
     use clap::ValueEnum;
     use serde_json::Value;
    -use tracing::{debug, error, info, trace, warn, Level};
    -use tracing_subscriber::{fmt, layer::SubscriberExt, util::SubscriberInitExt, EnvFilter};
    +use tracing::{Level, debug, error, info, trace, warn};
    +use tracing_subscriber::{EnvFilter, fmt, layer::SubscriberExt, util::SubscriberInitExt};
     use uuid::Uuid;
     
     use radicle::{git::Oid, identity::RepoId, node::Event, patch::PatchId};
    Diff in /workspace/src/src/queueproc.rs:4:
     
     use std::{
         collections::HashSet,
    -    sync::{mpsc::RecvTimeoutError, Arc, Mutex},
    +    sync::{Arc, Mutex, mpsc::RecvTimeoutError},
         thread::{sleep, spawn},
         time::{Duration, Instant},
     };
    Diff in /workspace/src/src/queueproc.rs:11:
     
    -use radicle::{identity::RepoId, Profile};
    +use radicle::{Profile, identity::RepoId};
     
     use crate::{
         adapter::{Adapter, Adapters},
    [2025-10-14T14:10:47Z ERROR ambient_ci::plan] ERROR: Action failed: failed to execute cargo
    [2025-10-14T14:10:47Z ERROR ambient_ci::plan] caused by: command failed: "cargo": exit code 1
    ERROR: failed to execute cargo
    caused by: command failed: "cargo": exit code 1
    EXIT CODE: 1
    
    ====================
[2025-10-14T14:10:49Z DEBUG ambient_ci::qemu] QEMU: CI run under exit code 1
[2025-10-14T14:10:50Z DEBUG ambient_ci::run] CI run exit code from QEMU: 1
[2025-10-14T14:10:50Z DEBUG ambient_ci::project] write project state to /home/_rad/ambient-state/rad:zwTxygwuz5LDGBq255RA2CbNGrz8/meta.yaml
ERROR: CI run failed inside QEMU

Ambient stderr

<empty log>