CI run for rad:z37EycTqZeuGMYpUSCM3v2e2qe16s

Radicle repository id rad:z37EycTqZeuGMYpUSCM3v2e2qe16s

Table of Contents

Run log

[2025-09-19T11:25:28Z 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
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   2.9M  1 disk 
vdc    254:32   0   400K  1 disk 
vdd    254:48   0 953.7M  0 disk 
vde    254:64   0  27.9G  0 disk 
vdf    254:80   0 263.8M  1 disk 
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad         0 2025-09-19 11:24 ./
-rw-r--r-- _rad/_rad       972 2025-09-19 11:24 ./plan.yaml
-rwxr-xr-x _rad/_rad   2994840 2025-09-19 11:24 ./run-ci
INFO: Extracted files:
  4587530      4 drwxr-xr-x   2 1000     1000         4096 Sep 19 11:24 .
  4587526      4 -rw-r--r--   1 1000     1000          972 Sep 19 11:24 ./plan.yaml
  4587527   2928 -rwxr-xr-x   1 1000     1000      2994840 Sep 19 11:24 ./run-ci
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-09-19T11:24:53Z TRACE ambient_execute_plan] ambient-execute-plan starts
[2025-09-19T11:24:53Z DEBUG ambient_execute_plan] ambient-execute-plan starts
[2025-09-19T11:24:53Z INFO  ambient_execute_plan] ambient-execute-plan starts
[2025-09-19T11:24:53Z WARN  ambient_execute_plan] ambient-execute-plan starts
[2025-09-19T11:24:53Z ERROR ambient_execute_plan] 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: |
    cargo build
    cargo build --features json
    cargo build --no-default-features
- 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


RUN: Action Mkdir {
    pathname: "/workspace",
}
[2025-09-19T11:24:53Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
        pathname: "/workspace",
    }
RUN: Action finished OK
RUN: Action Mkdir {
    pathname: "/workspace/artifacts",
}
[2025-09-19T11:24:53Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
        pathname: "/workspace/artifacts",
    }
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vdc",
    directory: "/workspace/src",
}
[2025-09-19T11:24:53Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-09-19T11:24:53Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-09-19T11:24:53Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vdf",
    directory: "/workspace/deps",
}
[2025-09-19T11:24:53Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-09-19T11:24:53Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-09-19T11:24:54Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vde",
    directory: "/workspace/cache",
}
[2025-09-19T11:24:54Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-09-19T11:24:54Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-09-19T11:24:54Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action Spawn {
    argv: [
        "find",
        "/workspace",
        "-maxdepth",
        "2",
        "-ls",
    ],
}
[2025-09-19T11:24:54Z DEBUG ambient_ci::action] Plan::execute: Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
       cwd=/workspace/src (exists? true)
       extra_env=[]
  2621441      4 drwxr-xr-x   6 root     root         4096 Sep 19 11:24 /workspace
  2621510      4 drwxr-xr-x   3 root     root         4096 Sep 19 11:24 /workspace/deps
  2631846      0 -rw-r--r--   1 root     root            0 Sep 19 11:24 /workspace/deps/.package-cache-mutate
  2621511      4 drwxr-xr-x   5 root     root         4096 Sep 19 11:24 /workspace/deps/registry
  2631845     64 -rw-r--r--   1 root     root        65536 Sep 19 11:24 /workspace/deps/.global-cache
  2631847      0 -rw-r--r--   1 root     root            0 Sep 19 11:24 /workspace/deps/.package-cache
  2621443      4 drwxr-xr-x   7 root     root         4096 Sep 19 11:24 /workspace/src
  2621452      4 -rw-r--r--   1 root     root         1634 Sep 19 11:24 /workspace/src/Cargo.toml
  2621462      4 drwxr-xr-x   8 root     root         4096 Sep 19 11:24 /workspace/src/.git
  2621444      4 drwxr-xr-x   2 root     root         4096 Sep 19 11:24 /workspace/src/src
  2621449      4 -rw-r--r--   1 root     root         2791 Sep 19 11:24 /workspace/src/README.md
  2621454      4 drwxr-xr-x   2 root     root         4096 Sep 19 11:24 /workspace/src/.radicle
  2621458      4 drwxr-xr-x   3 root     root         4096 Sep 19 11:24 /workspace/src/.github
  2621453     28 -rw-r--r--   1 root     root        26013 Sep 19 11:24 /workspace/src/Cargo.lock
  2621451     12 -rw-r--r--   1 root     root        10847 Sep 19 11:24 /workspace/src/LICENSE-APACHE
  2621457      4 -rw-r--r--   1 root     root            9 Sep 19 11:24 /workspace/src/.gitignore
  2621456      4 -rw-r--r--   1 root     root           53 Sep 19 11:24 /workspace/src/.mailmap
  2621447      4 drwxr-xr-x   2 root     root         4096 Sep 19 11:24 /workspace/src/examples
  2621450      4 -rw-r--r--   1 root     root         1023 Sep 19 11:24 /workspace/src/LICENSE-MIT
  2621442      4 drwxr-xr-x   2 root     root         4096 Sep 19 11:24 /workspace/artifacts
  2631848      4 drwxr-xr-x   2 root     root         4096 Sep 19 11:24 /workspace/cache
RUN: Action finished OK
RUN: Action CargoFmt
[2025-09-19T11:24:54Z DEBUG ambient_ci::action] Plan::execute: 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
[2025-09-19T11:24:54Z DEBUG ambient_ci::action] Plan::execute: CargoClippy
SPAWN: argv=["cargo", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"]
       cwd=/workspace/src (exists? true)
       extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")]
   Compiling proc-macro2 v1.0.95
   Compiling unicode-ident v1.0.18
   Compiling libc v0.2.172
   Compiling quote v1.0.40
   Compiling jobserver v0.1.33
   Compiling syn v2.0.101
   Compiling shlex v1.3.0
    Checking stable_deref_trait v1.2.0
   Compiling cc v1.2.25
   Compiling pkg-config v0.3.32
   Compiling vcpkg v0.2.15
    Checking writeable v0.6.1
   Compiling synstructure v0.13.2
    Checking litemap v0.8.0
   Compiling libz-sys v1.1.22
   Compiling openssl-sys v0.9.109
   Compiling zerofrom-derive v0.1.6
   Compiling yoke-derive v0.8.0
   Compiling zerovec-derive v0.11.1
    Checking zerofrom v0.1.6
    Checking yoke v0.8.0
   Compiling displaydoc v0.2.5
    Checking zerotrie v0.2.2
    Checking zerovec v0.11.2
   Compiling icu_properties_data v2.0.1
    Checking tinystr v0.8.1
    Checking potential_utf v0.1.2
    Checking icu_locale_core v2.0.0
   Compiling icu_normalizer_data v2.0.0
    Checking icu_collections v2.0.0
    Checking icu_provider v2.0.0
   Compiling libssh2-sys v0.3.1
    Checking smallvec v1.15.0
   Compiling crossbeam-utils v0.8.21
    Checking memchr v2.7.4
    Checking icu_normalizer v2.0.0
    Checking icu_properties v2.0.1
    Checking utf8parse v0.2.2
    Checking anstyle-parse v0.2.6
    Checking idna_adapter v1.2.1
    Checking aho-corasick v1.1.3
   Compiling libgit2-sys v0.18.1+1.9.0
    Checking log v0.4.27
    Checking regex-syntax v0.8.5
    Checking anstyle v1.0.10
    Checking anstyle-query v1.1.2
    Checking is_terminal_polyfill v1.70.1
    Checking utf8_iter v1.0.4
    Checking colorchoice v1.0.3
    Checking percent-encoding v2.3.1
    Checking form_urlencoded v1.2.1
    Checking anstream v0.6.18
    Checking idna v1.0.3
    Checking regex-automata v0.4.9
    Checking crossbeam-epoch v0.9.18
    Checking bstr v1.12.0
    Checking same-file v1.0.6
   Compiling heck v0.5.0
    Checking strsim v0.11.1
   Compiling anyhow v1.0.98
    Checking clap_lex v0.7.4
    Checking clap_builder v4.5.39
   Compiling clap_derive v4.5.32
    Checking walkdir v2.5.0
    Checking globset v0.4.16
    Checking crossbeam-deque v0.8.6
    Checking url v2.5.4
    Checking dirs-sys-next v0.1.2
    Checking bitflags v2.9.1
    Checking openssl-probe v0.1.6
    Checking hashbrown v0.15.3
    Checking cfg-if v1.0.0
    Checking equivalent v1.0.2
    Checking indexmap v2.9.0
    Checking dirs-next v2.0.0
    Checking ignore v0.4.23
    Checking clap v4.5.39
    Checking ansi_term v0.12.1
    Checking git2 v0.20.2
    Checking mrh v0.13.2 (/workspace/src)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.62s
RUN: Action finished OK
RUN: Action Shell {
    shell: "cargo build\ncargo build --features json\ncargo build --no-default-features\n",
}
[2025-09-19T11:25:27Z DEBUG ambient_ci::action] Plan::execute: Shell {
        shell: "cargo build\ncargo build --features json\ncargo build --no-default-features\n",
    }
SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\ncargo build\ncargo build --features json\ncargo build --no-default-features\n\n"]
       cwd=/workspace/src (exists? true)
       extra_env=[]
+ cargo build
/bin/bash: line 2: cargo: command not found
ERROR: Action failed: command failed: ["/bin/bash", "-c", "set -xeuo pipefail\ncargo build\ncargo build --features json\ncargo build --no-default-features\n\n"]
ERROR: command failed: ["/bin/bash", "-c", "set -xeuo pipefail\ncargo build\ncargo build --features json\ncargo build --no-default-features\n\n"]
EXIT CODE: 1
[2025-09-19T11:25:28Z INFO  ambient] ambient ends successfully

Trigger message

{
  "request": "trigger",
  "version": 1,
  "event_type": "push",
  "repository": {
    "id": "rad:z37EycTqZeuGMYpUSCM3v2e2qe16s",
    "name": "mrh",
    "description": "Multi-(git)Repo Helper",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkfPSKW7AgQqXSi8fgEJMduHpm9ABmsPYwPhMeF7PssonK",
      "did:key:z6Mkknjd1cBaQuGefJG8T3nKLSGm76eoVqsntCmxGLk23sNG",
      "did:key:z6Mkrr427WTq62SsbZMFqbGZR7oRrE9dqwHU1uVRCNJYAmzc"
    ]
  },
  "pusher": {
    "id": "did:key:z6MkfPSKW7AgQqXSi8fgEJMduHpm9ABmsPYwPhMeF7PssonK",
    "alias": "tshepang"
  },
  "before": "675bc976224381a7dbc7e5f7a676e36b40e89285",
  "after": "675bc976224381a7dbc7e5f7a676e36b40e89285",
  "branch": "main",
  "commits": [
    "675bc976224381a7dbc7e5f7a676e36b40e89285"
  ]
}

Ambient stdout

[2025-09-19T11:24:49Z INFO  ambient] ambient starts
[2025-09-19T11:24:49Z 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-09-19T11:24:49Z 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-09-19T11:24:49Z 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-09-19T11:24:49Z DEBUG ambient_ci::project] load project state from /home/_rad/ambient-state/rad:z37EycTqZeuGMYpUSCM3v2e2qe16s/meta.yaml
[2025-09-19T11:24:49Z DEBUG ambient_ci::run] no latest commit stored
[2025-09-19T11:24:49Z DEBUG ambient_ci::run] is a git repository
[2025-09-19T11:24:49Z DEBUG ambient_ci::run] git repository is clean
[2025-09-19T11:24:49Z DEBUG ambient_ci::run] current (HEAD) commit: 675bc976224381a7dbc7e5f7a676e36b40e89285
[2025-09-19T11:24:49Z DEBUG ambient_ci::run] no dry run requested
[2025-09-19T11:24:49Z DEBUG ambient_ci::run] forced run requested
[2025-09-19T11:24:49Z DEBUG ambient_ci::run] run? true
[2025-09-19T11:24:49Z INFO  ambient_ci::run] project rad:z37EycTqZeuGMYpUSCM3v2e2qe16s: running CI
[2025-09-19T11:24:49Z DEBUG ambient_ci::run] Executing pre-plan steps
[2025-09-19T11:24:49Z DEBUG ambient_ci::action] Plan::execute: CargoFetch {
        sourcedir: "/tmp/.tmpyWuy8x/src",
        dependenciesdir: "/home/_rad/ambient-state/rad:z37EycTqZeuGMYpUSCM3v2e2qe16s/dependencies",
    }
SPAWN: argv=["env", "CARGO_HOME=/home/_rad/ambient-state/rad:z37EycTqZeuGMYpUSCM3v2e2qe16s/dependencies", "cargo", "fetch", "--locked"]
       cwd=/tmp/.tmpyWuy8x/src (exists? true)
       extra_env=[]
    Updating crates.io index
 Downloading crates ...
  Downloaded ansi_term v0.12.1
  Downloaded utf8parse v0.2.2
  Downloaded anstyle-parse v0.2.6
  Downloaded anstyle-wincon v3.0.8
  Downloaded anyhow v1.0.98
  Downloaded indexmap v2.9.0
  Downloaded serde_json v1.0.140
  Downloaded serde_derive v1.0.219
  Downloaded serde v1.0.219
  Downloaded once_cell_polyfill v1.70.1
  Downloaded is_terminal_polyfill v1.70.1
  Downloaded anstyle-query v1.1.2
  Downloaded colorchoice v1.0.3
  Downloaded anstream v0.6.18
  Downloaded winapi-util v0.1.9
  Downloaded unicode-ident v1.0.18
  Downloaded syn v2.0.101
  Downloaded zerofrom v0.1.6
  Downloaded memchr v2.7.4
  Downloaded litemap v0.8.0
  Downloaded tinystr v0.8.1
  Downloaded icu_provider v2.0.0
  Downloaded pkg-config v0.3.32
  Downloaded shlex v1.3.0
  Downloaded writeable v0.6.1
  Downloaded dirs-sys-next v0.1.2
  Downloaded openssl-probe v0.1.6
  Downloaded jobserver v0.1.33
  Downloaded openssl-sys v0.9.109
  Downloaded form_urlencoded v1.2.1
  Downloaded icu_normalizer_data v2.0.0
  Downloaded dirs-next v2.0.0
  Downloaded libredox v0.1.3
  Downloaded globset v0.4.16
  Downloaded utf8_iter v1.0.4
  Downloaded getrandom v0.3.3
  Downloaded anstyle v1.0.10
  Downloaded strsim v0.11.1
  Downloaded thiserror v1.0.69
  Downloaded clap_derive v4.5.32
  Downloaded wasi v0.11.0+wasi-snapshot-preview1
  Downloaded walkdir v2.5.0
  Downloaded clap v4.5.39
  Downloaded icu_properties_data v2.0.1
  Downloaded bitflags v2.9.1
  Downloaded wasi v0.14.2+wasi-0.2.4
  Downloaded url v2.5.4
  Downloaded hashbrown v0.15.3
  Downloaded zerovec v0.11.2
  Downloaded idna v1.0.3
  Downloaded clap_builder v4.5.39
  Downloaded aho-corasick v1.1.3
  Downloaded vcpkg v0.2.15
  Downloaded git2 v0.20.2
  Downloaded cc v1.2.25
  Downloaded icu_normalizer v2.0.0
  Downloaded icu_properties v2.0.1
  Downloaded crossbeam-epoch v0.9.18
  Downloaded r-efi v5.2.0
  Downloaded regex-syntax v0.8.5
  Downloaded wit-bindgen-rt v0.39.0
  Downloaded bstr v1.12.0
  Downloaded smallvec v1.15.0
  Downloaded same-file v1.0.6
  Downloaded icu_collections v2.0.0
  Downloaded getrandom v0.2.16
  Downloaded windows_aarch64_gnullvm v0.52.6
  Downloaded windows_i686_gnullvm v0.52.6
  Downloaded windows_x86_64_gnullvm v0.52.6
  Downloaded redox_users v0.4.6
  Downloaded cfg-if v1.0.0
  Downloaded clap_lex v0.7.4
  Downloaded libssh2-sys v0.3.1
  Downloaded heck v0.5.0
  Downloaded thiserror-impl v1.0.69
  Downloaded regex-automata v0.4.9
  Downloaded ignore v0.4.23
  Downloaded crossbeam-deque v0.8.6
  Downloaded percent-encoding v2.3.1
  Downloaded icu_locale_core v2.0.0
  Downloaded windows-sys v0.59.0
  Downloaded libc v0.2.172
  Downloaded libz-sys v1.1.22
  Downloaded ryu v1.0.20
  Downloaded quote v1.0.40
  Downloaded potential_utf v0.1.2
  Downloaded windows_aarch64_msvc v0.52.6
  Downloaded windows_x86_64_gnu v0.52.6
  Downloaded windows_x86_64_msvc v0.52.6
  Downloaded windows_i686_gnu v0.52.6
  Downloaded displaydoc v0.2.5
  Downloaded windows_i686_msvc v0.52.6
  Downloaded zerotrie v0.2.2
  Downloaded idna_adapter v1.2.1
  Downloaded log v0.4.27
  Downloaded itoa v1.0.15
  Downloaded proc-macro2 v1.0.95
  Downloaded stable_deref_trait v1.2.0
  Downloaded yoke-derive v0.8.0
  Downloaded yoke v0.8.0
  Downloaded winapi v0.3.9
  Downloaded zerovec-derive v0.11.1
  Downloaded synstructure v0.13.2
  Downloaded zerofrom-derive v0.1.6
  Downloaded windows-targets v0.52.6
  Downloaded equivalent v1.0.2
  Downloaded crossbeam-utils v0.8.21
  Downloaded libgit2-sys v0.18.1+1.9.0
  Downloaded winapi-x86_64-pc-windows-gnu v0.4.0
  Downloaded winapi-i686-pc-windows-gnu v0.4.0
[2025-09-19T11:24:51Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpPJhtkN/src.tar
[2025-09-19T11:24:51Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpPJhtkN/deps.tar
[2025-09-19T11:24:51Z DEBUG ambient_ci::run] create_executor_vdrive: executor="/usr/bin/ambient-execute-plan"
[2025-09-19T11:24:51Z 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: "cargo build\ncargo build --features json\ncargo build --no-default-features\n",
            },
            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-09-19T11:24:51Z DEBUG ambient_ci::run] executor bin /usr/bin/ambient-execute-plan
[2025-09-19T11:24:51Z DEBUG ambient_ci::run] copying /usr/bin/ambient-execute-plan to /home/_rad/tmp/.tmpPJhtkN/ambient-execute-plan/run-ci
[2025-09-19T11:24:51Z DEBUG ambient_ci::run] copy OK: true
[2025-09-19T11:24:51Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpPJhtkN/executor.tar
[2025-09-19T11:24:51Z DEBUG ambient_ci::project] removing run log file /home/_rad/ambient-state/rad:z37EycTqZeuGMYpUSCM3v2e2qe16s/run.log
[2025-09-19T11:24:51Z DEBUG ambient_ci::project] statedir is /home/_rad/ambient-state/rad:z37EycTqZeuGMYpUSCM3v2e2qe16s, exists? true
[2025-09-19T11:24:51Z DEBUG ambient_ci::project] creating run log file /home/_rad/ambient-state/rad:z37EycTqZeuGMYpUSCM3v2e2qe16s/run.log
[2025-09-19T11:24:51Z DEBUG ambient_ci::project] created run log file /home/_rad/ambient-state/rad:z37EycTqZeuGMYpUSCM3v2e2qe16s/run.log OK
[2025-09-19T11:24:51Z DEBUG ambient_ci::cloud_init] with_hostname called: "ambient"
[2025-09-19T11:24:51Z DEBUG ambient_ci::cloud_init] with_runcmd called: "echo xyzzy > /dev/ttyS1"
[2025-09-19T11:24:51Z 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-09-19T11:24:51Z DEBUG ambient_ci::cloud_init] with_runcmd called: "poweroff"
[2025-09-19T11:24:51Z 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-09-19T11:24:51Z DEBUG ambient_ci::qemu] run QEMU
[2025-09-19T11:24:51Z DEBUG ambient_ci::qemu] create copy-on-write image and UEFI vars file
[2025-09-19T11:24:51Z DEBUG ambient_ci::qemu_utils] qemu-img create /home/_rad/tmp/.tmp56QDYO/.tmpNq0DeL/vm.qcow2 backing on /home/_rad/ambient.qcow2
[2025-09-19T11:24:51Z DEBUG ambient_ci::qemu] create cloud-init ISO file
[2025-09-19T11:24:51Z 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-09-19T11:24:51Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpTVLuf2/meta-data
[2025-09-19T11:24:51Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpTVLuf2/user-data
[2025-09-19T11:24:51Z DEBUG ambient_ci::qemu] set console log file to /home/_rad/tmp/.tmp56QDYO/.tmpNq0DeL/console.log
[2025-09-19T11:24:51Z DEBUG ambient_ci::util] create file /home/_rad/tmp/.tmp56QDYO/.tmpNq0DeL/console.log
[2025-09-19T11:24:51Z DEBUG ambient_ci::qemu] set run file to /home/_rad/ambient-state/rad:z37EycTqZeuGMYpUSCM3v2e2qe16s/run.log
[2025-09-19T11:24:51Z DEBUG ambient_ci::util] create file /home/_rad/ambient-state/rad:z37EycTqZeuGMYpUSCM3v2e2qe16s/run.log
[2025-09-19T11:24:51Z 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/.tmp56QDYO/.tmpNq0DeL/console.log",
            "-serial",
            "file:/home/_rad/ambient-state/rad:z37EycTqZeuGMYpUSCM3v2e2qe16s/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/.tmp56QDYO/.tmpNq0DeL/vars.fd",
            "-drive",
            "format=qcow2,if=virtio,file=/home/_rad/tmp/.tmp56QDYO/.tmpNq0DeL/vm.qcow2",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpPJhtkN/executor.tar,readonly=on",
            "-cdrom",
            "/home/_rad/tmp/.tmp56QDYO/.tmpNq0DeL/cloud_init.iso",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpPJhtkN/src.tar,readonly=on",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpPJhtkN/artifacts.tar",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpPJhtkN/cache.tar",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpPJhtkN/deps.tar,readonly=on",
            "-nodefaults",
            "-no-user-config",
        ],
    }
[2025-09-19T11:25:28Z DEBUG ambient_ci::qemu] QEMU finished OK
[2025-09-19T11:25:28Z DEBUG ambient_ci::qemu] run log:
    --------------------==========
    [2025-09-19T11:24:53Z TRACE ambient_execute_plan] ambient-execute-plan starts
    [2025-09-19T11:24:53Z DEBUG ambient_execute_plan] ambient-execute-plan starts
    [2025-09-19T11:24:53Z INFO  ambient_execute_plan] ambient-execute-plan starts
    [2025-09-19T11:24:53Z WARN  ambient_execute_plan] ambient-execute-plan starts
    [2025-09-19T11:24:53Z ERROR ambient_execute_plan] 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: |
        cargo build
        cargo build --features json
        cargo build --no-default-features
    - 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
    
    
    RUN: Action Mkdir {
        pathname: "/workspace",
    }
    [2025-09-19T11:24:53Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
            pathname: "/workspace",
        }
    RUN: Action finished OK
    RUN: Action Mkdir {
        pathname: "/workspace/artifacts",
    }
    [2025-09-19T11:24:53Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
            pathname: "/workspace/artifacts",
        }
    RUN: Action finished OK
    RUN: Action TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
    [2025-09-19T11:24:53Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-09-19T11:24:53Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
    [2025-09-19T11:24:53Z TRACE ambient_ci::vdrive] extraction OK
    RUN: Action finished OK
    RUN: Action TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
    [2025-09-19T11:24:53Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-09-19T11:24:53Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
    [2025-09-19T11:24:54Z TRACE ambient_ci::vdrive] extraction OK
    RUN: Action finished OK
    RUN: Action TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
    [2025-09-19T11:24:54Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-09-19T11:24:54Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
    [2025-09-19T11:24:54Z TRACE ambient_ci::vdrive] extraction OK
    RUN: Action finished OK
    RUN: Action Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
    [2025-09-19T11:24:54Z DEBUG ambient_ci::action] Plan::execute: Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
           cwd=/workspace/src (exists? true)
           extra_env=[]
      2621441      4 drwxr-xr-x   6 root     root         4096 Sep 19 11:24 /workspace
      2621510      4 drwxr-xr-x   3 root     root         4096 Sep 19 11:24 /workspace/deps
      2631846      0 -rw-r--r--   1 root     root            0 Sep 19 11:24 /workspace/deps/.package-cache-mutate
      2621511      4 drwxr-xr-x   5 root     root         4096 Sep 19 11:24 /workspace/deps/registry
      2631845     64 -rw-r--r--   1 root     root        65536 Sep 19 11:24 /workspace/deps/.global-cache
      2631847      0 -rw-r--r--   1 root     root            0 Sep 19 11:24 /workspace/deps/.package-cache
      2621443      4 drwxr-xr-x   7 root     root         4096 Sep 19 11:24 /workspace/src
      2621452      4 -rw-r--r--   1 root     root         1634 Sep 19 11:24 /workspace/src/Cargo.toml
      2621462      4 drwxr-xr-x   8 root     root         4096 Sep 19 11:24 /workspace/src/.git
      2621444      4 drwxr-xr-x   2 root     root         4096 Sep 19 11:24 /workspace/src/src
      2621449      4 -rw-r--r--   1 root     root         2791 Sep 19 11:24 /workspace/src/README.md
      2621454      4 drwxr-xr-x   2 root     root         4096 Sep 19 11:24 /workspace/src/.radicle
      2621458      4 drwxr-xr-x   3 root     root         4096 Sep 19 11:24 /workspace/src/.github
      2621453     28 -rw-r--r--   1 root     root        26013 Sep 19 11:24 /workspace/src/Cargo.lock
      2621451     12 -rw-r--r--   1 root     root        10847 Sep 19 11:24 /workspace/src/LICENSE-APACHE
      2621457      4 -rw-r--r--   1 root     root            9 Sep 19 11:24 /workspace/src/.gitignore
      2621456      4 -rw-r--r--   1 root     root           53 Sep 19 11:24 /workspace/src/.mailmap
      2621447      4 drwxr-xr-x   2 root     root         4096 Sep 19 11:24 /workspace/src/examples
      2621450      4 -rw-r--r--   1 root     root         1023 Sep 19 11:24 /workspace/src/LICENSE-MIT
      2621442      4 drwxr-xr-x   2 root     root         4096 Sep 19 11:24 /workspace/artifacts
      2631848      4 drwxr-xr-x   2 root     root         4096 Sep 19 11:24 /workspace/cache
    RUN: Action finished OK
    RUN: Action CargoFmt
    [2025-09-19T11:24:54Z DEBUG ambient_ci::action] Plan::execute: 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
    [2025-09-19T11:24:54Z DEBUG ambient_ci::action] Plan::execute: CargoClippy
    SPAWN: argv=["cargo", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"]
           cwd=/workspace/src (exists? true)
           extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")]
       Compiling proc-macro2 v1.0.95
       Compiling unicode-ident v1.0.18
       Compiling libc v0.2.172
       Compiling quote v1.0.40
       Compiling jobserver v0.1.33
       Compiling syn v2.0.101
       Compiling shlex v1.3.0
        Checking stable_deref_trait v1.2.0
       Compiling cc v1.2.25
       Compiling pkg-config v0.3.32
       Compiling vcpkg v0.2.15
        Checking writeable v0.6.1
       Compiling synstructure v0.13.2
        Checking litemap v0.8.0
       Compiling libz-sys v1.1.22
       Compiling openssl-sys v0.9.109
       Compiling zerofrom-derive v0.1.6
       Compiling yoke-derive v0.8.0
       Compiling zerovec-derive v0.11.1
        Checking zerofrom v0.1.6
        Checking yoke v0.8.0
       Compiling displaydoc v0.2.5
        Checking zerotrie v0.2.2
        Checking zerovec v0.11.2
       Compiling icu_properties_data v2.0.1
        Checking tinystr v0.8.1
        Checking potential_utf v0.1.2
        Checking icu_locale_core v2.0.0
       Compiling icu_normalizer_data v2.0.0
        Checking icu_collections v2.0.0
        Checking icu_provider v2.0.0
       Compiling libssh2-sys v0.3.1
        Checking smallvec v1.15.0
       Compiling crossbeam-utils v0.8.21
        Checking memchr v2.7.4
        Checking icu_normalizer v2.0.0
        Checking icu_properties v2.0.1
        Checking utf8parse v0.2.2
        Checking anstyle-parse v0.2.6
        Checking idna_adapter v1.2.1
        Checking aho-corasick v1.1.3
       Compiling libgit2-sys v0.18.1+1.9.0
        Checking log v0.4.27
        Checking regex-syntax v0.8.5
        Checking anstyle v1.0.10
        Checking anstyle-query v1.1.2
        Checking is_terminal_polyfill v1.70.1
        Checking utf8_iter v1.0.4
        Checking colorchoice v1.0.3
        Checking percent-encoding v2.3.1
        Checking form_urlencoded v1.2.1
        Checking anstream v0.6.18
        Checking idna v1.0.3
        Checking regex-automata v0.4.9
        Checking crossbeam-epoch v0.9.18
        Checking bstr v1.12.0
        Checking same-file v1.0.6
       Compiling heck v0.5.0
        Checking strsim v0.11.1
       Compiling anyhow v1.0.98
        Checking clap_lex v0.7.4
        Checking clap_builder v4.5.39
       Compiling clap_derive v4.5.32
        Checking walkdir v2.5.0
        Checking globset v0.4.16
        Checking crossbeam-deque v0.8.6
        Checking url v2.5.4
        Checking dirs-sys-next v0.1.2
        Checking bitflags v2.9.1
        Checking openssl-probe v0.1.6
        Checking hashbrown v0.15.3
        Checking cfg-if v1.0.0
        Checking equivalent v1.0.2
        Checking indexmap v2.9.0
        Checking dirs-next v2.0.0
        Checking ignore v0.4.23
        Checking clap v4.5.39
        Checking ansi_term v0.12.1
        Checking git2 v0.20.2
        Checking mrh v0.13.2 (/workspace/src)
        Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.62s
    RUN: Action finished OK
    RUN: Action Shell {
        shell: "cargo build\ncargo build --features json\ncargo build --no-default-features\n",
    }
    [2025-09-19T11:25:27Z DEBUG ambient_ci::action] Plan::execute: Shell {
            shell: "cargo build\ncargo build --features json\ncargo build --no-default-features\n",
        }
    SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\ncargo build\ncargo build --features json\ncargo build --no-default-features\n\n"]
           cwd=/workspace/src (exists? true)
           extra_env=[]
    + cargo build
    /bin/bash: line 2: cargo: command not found
    ERROR: Action failed: command failed: ["/bin/bash", "-c", "set -xeuo pipefail\ncargo build\ncargo build --features json\ncargo build --no-default-features\n\n"]
    ERROR: command failed: ["/bin/bash", "-c", "set -xeuo pipefail\ncargo build\ncargo build --features json\ncargo build --no-default-features\n\n"]
    EXIT CODE: 1
    
    ====================
[2025-09-19T11:25:28Z DEBUG ambient_ci::qemu] QEMU exit code 1
ERROR: failed to run actions in QEMU

Ambient stderr

<empty log>