CI run for rad:z3248z9KmBQ6Tf4mwXih1zKPtuSw5

Radicle repository id rad:z3248z9KmBQ6Tf4mwXih1zKPtuSw5

Table of Contents

Run log

[2025-11-12T14:55:15Z 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   750K  1 disk 
vdd    254:48   0 953.7M  0 disk 
vde    254:64   0  27.9G  0 disk 
vdf    254:80   0 378.6M  1 disk 
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad         0 2025-11-12 14:55 ./
-rw-r--r-- _rad/_rad       967 2025-11-12 14:55 ./plan.yaml
-rwxr-xr-x _rad/_rad   6369536 2025-11-12 14:55 ./run-ci
INFO: Extracted files:
  5767197      4 drwxr-xr-x   2 1000     1000         4096 Nov 12 14:55 .
  5767198      4 -rw-r--r--   1 1000     1000          967 Nov 12 14:55 ./plan.yaml
  5767199   6224 -rwxr-xr-x   1 1000     1000      6369536 Nov 12 14:55 ./run-ci
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-11-12T14:55:09Z TRACE ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-11-12T14:55:09Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-11-12T14:55:09Z INFO  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-11-12T14:55:09Z WARN  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-11-12T14:55:09Z 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: shell
  shell: |
    echo >> $HOME/.ssh/config StrictHostKeyChecking no
    ssh localhost /bin/true
- action: cargo_clippy
- action: cargo_build
- action: cargo_test
- 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-11-12T14:55:09Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
        pathname: "/workspace",
    }
[2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
        pathname: "/workspace",
    }
[2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/workspace/deps",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        },
        source_dir: "/workspace/src",
    }
[2025-11-12T14:55:09Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-11-12T14:55:09Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
        pathname: "/workspace/artifacts",
    }
[2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
        pathname: "/workspace/artifacts",
    }
[2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/workspace/deps",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        },
        source_dir: "/workspace/src",
    }
[2025-11-12T14:55:09Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-11-12T14:55:09Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/workspace/deps",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        },
        source_dir: "/workspace/src",
    }
[2025-11-12T14:55:09Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-11-12T14:55:09Z TRACE ambient_ci::vdrive] extraction OK
[2025-11-12T14:55:09Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-11-12T14:55:09Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/workspace/deps",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        },
        source_dir: "/workspace/src",
    }
[2025-11-12T14:55:09Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-11-12T14:55:11Z TRACE ambient_ci::vdrive] extraction OK
[2025-11-12T14:55:11Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-11-12T14:55:11Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-11-12T14:55:11Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-11-12T14:55:11Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/workspace/deps",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        },
        source_dir: "/workspace/src",
    }
[2025-11-12T14:55:11Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-11-12T14:55:12Z TRACE ambient_ci::vdrive] extraction OK
[2025-11-12T14:55:12Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-11-12T14:55:12Z DEBUG ambient_ci::plan] RUN: Action Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
[2025-11-12T14:55:12Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
[2025-11-12T14:55:12Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/workspace/deps",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "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)
  1572865      4 drwxr-xr-x   6 root     root         4096 Nov 12 14:55 /workspace
  1573024      4 drwxr-xr-x   3 root     root         4096 Nov 12 14:55 /workspace/deps
  1583612     64 -rw-r--r--   1 root     root        65536 Nov 12 14:55 /workspace/deps/.global-cache
  1583614      0 -rw-r--r--   1 root     root            0 Sep 16 07:42 /workspace/deps/.package-cache
  1573025      4 drwxr-xr-x   5 root     root         4096 Sep 16 07:42 /workspace/deps/registry
  1583613      0 -rw-r--r--   1 root     root            0 Sep 16 07:42 /workspace/deps/.package-cache-mutate
  1572867      4 drwxr-xr-x   8 root     root         4096 Nov 12 14:54 /workspace/src
  1572890      4 drwxr-xr-x   8 root     root         4096 Nov 12 14:54 /workspace/src/.git
  1572870      4 drwxr-xr-x   2 root     root         4096 Nov 12 14:54 /workspace/src/src
  1572883      4 -rw-r--r--   1 root     root          470 Nov 12 14:54 /workspace/src/Cargo.toml
  1572888      4 drwxr-xr-x   2 root     root         4096 Nov 12 14:54 /workspace/src/.cargo
  1572882      4 -rw-r--r--   1 root     root          198 Nov 12 14:54 /workspace/src/Makefile
  1572881      4 -rw-r--r--   1 root     root         2243 Nov 12 14:54 /workspace/src/NEWS.md
  1572880      4 -rw-r--r--   1 root     root         1484 Nov 12 14:54 /workspace/src/README.md
  1572876      4 drwxr-xr-x   2 root     root         4096 Nov 12 14:54 /workspace/src/examples
  1572868      4 drwxr-xr-x   2 root     root         4096 Nov 12 14:54 /workspace/src/tests
  1572884     12 -rw-r--r--   1 root     root        11639 Nov 12 14:54 /workspace/src/Cargo.lock
  1572885      4 drwxr-xr-x   2 root     root         4096 Nov 12 14:54 /workspace/src/.radicle
  1572887      4 -rw-r--r--   1 root     root            8 Nov 12 14:54 /workspace/src/.gitignore
  1583615      4 drwxr-xr-x   3 root     root         4096 Sep 20 05:51 /workspace/cache
  1583616      4 -rw-r--r--   1 root     root         1038 Nov 12 14:55 /workspace/cache/.rustc_info.json
  1583617      4 drwxr-xr-x   7 root     root         4096 Nov  3 14:28 /workspace/cache/debug
  1572866      4 drwxr-xr-x   2 root     root         4096 Nov 12 14:55 /workspace/artifacts
[2025-11-12T14:55:12Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-11-12T14:55:12Z DEBUG ambient_ci::plan] RUN: Action Shell {
        shell: "echo >> $HOME/.ssh/config StrictHostKeyChecking no\nssh localhost /bin/true\n",
    }
[2025-11-12T14:55:12Z DEBUG ambient_ci::action] Plan::execute: plan=Shell {
        shell: "echo >> $HOME/.ssh/config StrictHostKeyChecking no\nssh localhost /bin/true\n",
    }
[2025-11-12T14:55:12Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/workspace/deps",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        },
        source_dir: "/workspace/src",
    }
SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\necho >> $HOME/.ssh/config StrictHostKeyChecking no\nssh localhost /bin/true\n\n"]
       cwd=/workspace/src (exists? true)
+ echo StrictHostKeyChecking no
/bin/bash: line 2: HOME: unbound variable
[2025-11-12T14:55:12Z ERROR ambient_ci::plan] ERROR: Action failed: failed to execute /bin/bash
[2025-11-12T14:55:12Z ERROR ambient_ci::plan] caused by: command failed: "/bin/bash": exit code 1
ERROR: failed to execute /bin/bash
caused by: command failed: "/bin/bash": exit code 1
EXIT CODE: 1
[2025-11-12T14:55:15Z INFO  ambient] ambient ends successfully

Trigger message

{
  "request": "trigger",
  "version": 1,
  "event_type": "push",
  "repository": {
    "id": "rad:z3248z9KmBQ6Tf4mwXih1zKPtuSw5",
    "name": "clingwrap",
    "description": "Utilities for making command line apps in Rust",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
    ]
  },
  "pusher": {
    "id": "did:key:z6Mki2ago1X2A5UWgKpoSxyCRLLhyZMwpam4T3EKvRmFTyuy",
    "alias": "callisto.liw.fi"
  },
  "before": "79dc46d192f9886cd32668d120137d8cff3c07f7",
  "after": "79dc46d192f9886cd32668d120137d8cff3c07f7",
  "branch": "main",
  "commits": [
    "79dc46d192f9886cd32668d120137d8cff3c07f7"
  ]
}

Ambient stdout

[2025-11-12T14:54:59Z INFO  ambient] ambient starts
[2025-11-12T14:54:59Z 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-11-12T14:54:59Z 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-11-12T14:54:59Z 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-11-12T14:54:59Z DEBUG ambient_ci::project] load project state from /home/_rad/ambient-state/rad:z3248z9KmBQ6Tf4mwXih1zKPtuSw5/meta.yaml
[2025-11-12T14:54:59Z DEBUG ambient_ci::run] latest commit: "79dc46d192f9886cd32668d120137d8cff3c07f7"
[2025-11-12T14:54:59Z DEBUG ambient_ci::run] is a git repository
[2025-11-12T14:54:59Z DEBUG ambient_ci::run] git repository is clean
[2025-11-12T14:54:59Z DEBUG ambient_ci::run] current (HEAD) commit: 79dc46d192f9886cd32668d120137d8cff3c07f7
[2025-11-12T14:54:59Z DEBUG ambient_ci::run] no dry run requested
[2025-11-12T14:54:59Z DEBUG ambient_ci::run] forced run requested
[2025-11-12T14:54:59Z DEBUG ambient_ci::run] run? true
[2025-11-12T14:54:59Z INFO  ambient_ci::run] project rad:z3248z9KmBQ6Tf4mwXih1zKPtuSw5: running CI
[2025-11-12T14:54:59Z DEBUG ambient_ci::run] Executing pre-plan steps
[2025-11-12T14:54:59Z DEBUG ambient_ci::plan] RUN: Action CargoFetch {
        sourcedir: "/tmp/.tmpiVDr8s/src",
    }
[2025-11-12T14:54:59Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFetch {
        sourcedir: "/tmp/.tmpiVDr8s/src",
    }
[2025-11-12T14:54:59Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_TARGET_DIR": "/home/_rad/ambient-state/rad:z3248z9KmBQ6Tf4mwXih1zKPtuSw5/cache",
            "CARGO_HOME": "/home/_rad/ambient-state/rad:z3248z9KmBQ6Tf4mwXih1zKPtuSw5/dependencies",
            "PATH": "/root/.cargo/bin:/bin:/home/_rad/.radicle/bin:/home/_rad/.cargo/bin",
        },
        source_dir: "/tmp/.tmpiVDr8s/src",
    }
SPAWN: argv=["cargo", "--version"]
       cwd=/tmp/.tmpiVDr8s/src (exists? true)
cargo 1.91.1 (ea2d97820 2025-10-10)
SPAWN: argv=["cargo", "clippy", "--version"]
       cwd=/tmp/.tmpiVDr8s/src (exists? true)
clippy 0.1.91 (ed61e7d7e2 2025-11-07)
SPAWN: argv=["rustc", "--version"]
       cwd=/tmp/.tmpiVDr8s/src (exists? true)
rustc 1.91.1 (ed61e7d7e 2025-11-07)
SPAWN: argv=["cargo", "fetch"]
       cwd=/tmp/.tmpiVDr8s/src (exists? true)
[2025-11-12T14:55:00Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-11-12T14:55:00Z DEBUG ambient_ci::plan] All actions were performed successfully
[2025-11-12T14:55:00Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpxPodYR/src.tar
[2025-11-12T14:55:00Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpxPodYR/deps.tar
[2025-11-12T14:55:03Z DEBUG ambient_ci::run] create_executor_vdrive: executor="/usr/bin/ambient-execute-plan"
[2025-11-12T14:55:03Z 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",
                ],
            },
            Shell {
                shell: "echo >> $HOME/.ssh/config StrictHostKeyChecking no\nssh localhost /bin/true\n",
            },
            CargoClippy,
            CargoBuild,
            CargoTest,
            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-11-12T14:55:03Z DEBUG ambient_ci::run] executor bin /usr/bin/ambient-execute-plan
[2025-11-12T14:55:03Z DEBUG ambient_ci::run] copying /usr/bin/ambient-execute-plan to /home/_rad/tmp/.tmpxPodYR/ambient-execute-plan/run-ci
[2025-11-12T14:55:03Z DEBUG ambient_ci::run] copy OK: true
[2025-11-12T14:55:03Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpxPodYR/executor.tar
[2025-11-12T14:55:05Z DEBUG ambient_ci::project] removing run log file /home/_rad/ambient-state/rad:z3248z9KmBQ6Tf4mwXih1zKPtuSw5/run.log
[2025-11-12T14:55:05Z DEBUG ambient_ci::project] statedir is /home/_rad/ambient-state/rad:z3248z9KmBQ6Tf4mwXih1zKPtuSw5, exists? true
[2025-11-12T14:55:05Z DEBUG ambient_ci::project] creating run log file /home/_rad/ambient-state/rad:z3248z9KmBQ6Tf4mwXih1zKPtuSw5/run.log
[2025-11-12T14:55:05Z DEBUG ambient_ci::project] created run log file /home/_rad/ambient-state/rad:z3248z9KmBQ6Tf4mwXih1zKPtuSw5/run.log OK
[2025-11-12T14:55:05Z DEBUG ambient_ci::cloud_init] with_hostname called: "ambient"
[2025-11-12T14:55:05Z DEBUG ambient_ci::cloud_init] with_runcmd called: "echo xyzzy > /dev/ttyS1"
[2025-11-12T14:55:05Z 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-11-12T14:55:05Z DEBUG ambient_ci::cloud_init] with_runcmd called: "poweroff"
[2025-11-12T14:55:05Z 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-11-12T14:55:05Z DEBUG ambient_ci::qemu] run QEMU
[2025-11-12T14:55:05Z DEBUG ambient_ci::qemu] create copy-on-write image and UEFI vars file
[2025-11-12T14:55:05Z DEBUG ambient_ci::qemu_utils] qemu-img create /home/_rad/tmp/.tmpkjmhBH/.tmpl3x3aR/vm.qcow2 backing on /home/_rad/ambient.qcow2
[2025-11-12T14:55:05Z DEBUG ambient_ci::qemu] create cloud-init ISO file
[2025-11-12T14:55:05Z 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-11-12T14:55:05Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpHYLmEw/meta-data
[2025-11-12T14:55:05Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpHYLmEw/user-data
[2025-11-12T14:55:05Z DEBUG ambient_ci::qemu] set console log file to /home/_rad/tmp/.tmpkjmhBH/.tmpl3x3aR/console.log
[2025-11-12T14:55:05Z DEBUG ambient_ci::util] create file /home/_rad/tmp/.tmpkjmhBH/.tmpl3x3aR/console.log
[2025-11-12T14:55:05Z DEBUG ambient_ci::qemu] set run file to /home/_rad/ambient-state/rad:z3248z9KmBQ6Tf4mwXih1zKPtuSw5/run.log
[2025-11-12T14:55:05Z DEBUG ambient_ci::util] create file /home/_rad/ambient-state/rad:z3248z9KmBQ6Tf4mwXih1zKPtuSw5/run.log
[2025-11-12T14:55:05Z 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/.tmpkjmhBH/.tmpl3x3aR/console.log",
            "-serial",
            "file:/home/_rad/ambient-state/rad:z3248z9KmBQ6Tf4mwXih1zKPtuSw5/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/.tmpkjmhBH/.tmpl3x3aR/vars.fd",
            "-drive",
            "format=qcow2,if=virtio,file=/home/_rad/tmp/.tmpkjmhBH/.tmpl3x3aR/vm.qcow2",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpxPodYR/executor.tar,readonly=on",
            "-cdrom",
            "/home/_rad/tmp/.tmpkjmhBH/.tmpl3x3aR/cloud_init.iso",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpxPodYR/src.tar,readonly=on",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpxPodYR/artifacts.tar",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpxPodYR/cache.tar",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpxPodYR/deps.tar,readonly=on",
            "-nodefaults",
            "-no-user-config",
        ],
    }
[2025-11-12T14:55:15Z DEBUG ambient_ci::qemu] QEMU finished OK
[2025-11-12T14:55:15Z DEBUG ambient_ci::qemu] run log:
    --------------------==========
    [2025-11-12T14:55:09Z TRACE ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-11-12T14:55:09Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-11-12T14:55:09Z INFO  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-11-12T14:55:09Z WARN  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-11-12T14:55:09Z 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: shell
      shell: |
        echo >> $HOME/.ssh/config StrictHostKeyChecking no
        ssh localhost /bin/true
    - action: cargo_clippy
    - action: cargo_build
    - action: cargo_test
    - 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-11-12T14:55:09Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
            pathname: "/workspace",
        }
    [2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
            pathname: "/workspace",
        }
    [2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_HOME": "/workspace/deps",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            },
            source_dir: "/workspace/src",
        }
    [2025-11-12T14:55:09Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-11-12T14:55:09Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
            pathname: "/workspace/artifacts",
        }
    [2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
            pathname: "/workspace/artifacts",
        }
    [2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_HOME": "/workspace/deps",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            },
            source_dir: "/workspace/src",
        }
    [2025-11-12T14:55:09Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-11-12T14:55:09Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_HOME": "/workspace/deps",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            },
            source_dir: "/workspace/src",
        }
    [2025-11-12T14:55:09Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
    [2025-11-12T14:55:09Z TRACE ambient_ci::vdrive] extraction OK
    [2025-11-12T14:55:09Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-11-12T14:55:09Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-11-12T14:55:09Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_HOME": "/workspace/deps",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            },
            source_dir: "/workspace/src",
        }
    [2025-11-12T14:55:09Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
    [2025-11-12T14:55:11Z TRACE ambient_ci::vdrive] extraction OK
    [2025-11-12T14:55:11Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-11-12T14:55:11Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-11-12T14:55:11Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-11-12T14:55:11Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_HOME": "/workspace/deps",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            },
            source_dir: "/workspace/src",
        }
    [2025-11-12T14:55:11Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
    [2025-11-12T14:55:12Z TRACE ambient_ci::vdrive] extraction OK
    [2025-11-12T14:55:12Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-11-12T14:55:12Z DEBUG ambient_ci::plan] RUN: Action Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    [2025-11-12T14:55:12Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    [2025-11-12T14:55:12Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_HOME": "/workspace/deps",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "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)
      1572865      4 drwxr-xr-x   6 root     root         4096 Nov 12 14:55 /workspace
      1573024      4 drwxr-xr-x   3 root     root         4096 Nov 12 14:55 /workspace/deps
      1583612     64 -rw-r--r--   1 root     root        65536 Nov 12 14:55 /workspace/deps/.global-cache
      1583614      0 -rw-r--r--   1 root     root            0 Sep 16 07:42 /workspace/deps/.package-cache
      1573025      4 drwxr-xr-x   5 root     root         4096 Sep 16 07:42 /workspace/deps/registry
      1583613      0 -rw-r--r--   1 root     root            0 Sep 16 07:42 /workspace/deps/.package-cache-mutate
      1572867      4 drwxr-xr-x   8 root     root         4096 Nov 12 14:54 /workspace/src
      1572890      4 drwxr-xr-x   8 root     root         4096 Nov 12 14:54 /workspace/src/.git
      1572870      4 drwxr-xr-x   2 root     root         4096 Nov 12 14:54 /workspace/src/src
      1572883      4 -rw-r--r--   1 root     root          470 Nov 12 14:54 /workspace/src/Cargo.toml
      1572888      4 drwxr-xr-x   2 root     root         4096 Nov 12 14:54 /workspace/src/.cargo
      1572882      4 -rw-r--r--   1 root     root          198 Nov 12 14:54 /workspace/src/Makefile
      1572881      4 -rw-r--r--   1 root     root         2243 Nov 12 14:54 /workspace/src/NEWS.md
      1572880      4 -rw-r--r--   1 root     root         1484 Nov 12 14:54 /workspace/src/README.md
      1572876      4 drwxr-xr-x   2 root     root         4096 Nov 12 14:54 /workspace/src/examples
      1572868      4 drwxr-xr-x   2 root     root         4096 Nov 12 14:54 /workspace/src/tests
      1572884     12 -rw-r--r--   1 root     root        11639 Nov 12 14:54 /workspace/src/Cargo.lock
      1572885      4 drwxr-xr-x   2 root     root         4096 Nov 12 14:54 /workspace/src/.radicle
      1572887      4 -rw-r--r--   1 root     root            8 Nov 12 14:54 /workspace/src/.gitignore
      1583615      4 drwxr-xr-x   3 root     root         4096 Sep 20 05:51 /workspace/cache
      1583616      4 -rw-r--r--   1 root     root         1038 Nov 12 14:55 /workspace/cache/.rustc_info.json
      1583617      4 drwxr-xr-x   7 root     root         4096 Nov  3 14:28 /workspace/cache/debug
      1572866      4 drwxr-xr-x   2 root     root         4096 Nov 12 14:55 /workspace/artifacts
    [2025-11-12T14:55:12Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-11-12T14:55:12Z DEBUG ambient_ci::plan] RUN: Action Shell {
            shell: "echo >> $HOME/.ssh/config StrictHostKeyChecking no\nssh localhost /bin/true\n",
        }
    [2025-11-12T14:55:12Z DEBUG ambient_ci::action] Plan::execute: plan=Shell {
            shell: "echo >> $HOME/.ssh/config StrictHostKeyChecking no\nssh localhost /bin/true\n",
        }
    [2025-11-12T14:55:12Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_HOME": "/workspace/deps",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            },
            source_dir: "/workspace/src",
        }
    SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\necho >> $HOME/.ssh/config StrictHostKeyChecking no\nssh localhost /bin/true\n\n"]
           cwd=/workspace/src (exists? true)
    + echo StrictHostKeyChecking no
    /bin/bash: line 2: HOME: unbound variable
    [2025-11-12T14:55:12Z ERROR ambient_ci::plan] ERROR: Action failed: failed to execute /bin/bash
    [2025-11-12T14:55:12Z ERROR ambient_ci::plan] caused by: command failed: "/bin/bash": exit code 1
    ERROR: failed to execute /bin/bash
    caused by: command failed: "/bin/bash": exit code 1
    EXIT CODE: 1
    
    ====================
[2025-11-12T14:55:15Z DEBUG ambient_ci::qemu] QEMU: CI run under exit code 1
[2025-11-12T14:55:15Z DEBUG ambient_ci::run] CI run exit code from QEMU: 1
[2025-11-12T14:55:15Z DEBUG ambient_ci::project] write project state to /home/_rad/ambient-state/rad:z3248z9KmBQ6Tf4mwXih1zKPtuSw5/meta.yaml
ERROR: CI run failed inside QEMU

Ambient stderr

<empty log>