CI run for rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE

Radicle repository id rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE

Table of Contents

Run log

[2025-10-03T05:20:49Z 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   6.1M  1 disk 
vdc    254:32   0   1.3M  1 disk 
vdd    254:48   0 953.7M  0 disk 
vde    254:64   0  27.9G  0 disk 
vdf    254:80   0 632.1M  1 disk 
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad         0 2025-10-03 05:20 ./
-rw-r--r-- _rad/_rad       983 2025-10-03 05:20 ./plan.yaml
-rwxr-xr-x _rad/_rad   6369536 2025-10-03 05:20 ./run-ci
INFO: Extracted files:
  3538950      4 drwxr-xr-x   2 1000     1000         4096 Oct  3 05:20 .
  3538951      4 -rw-r--r--   1 1000     1000          983 Oct  3 05:20 ./plan.yaml
  3538954   6224 -rwxr-xr-x   1 1000     1000      6369536 Oct  3 05:20 ./run-ci
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-10-03T05:20:15Z TRACE ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-03T05:20:15Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-03T05:20:15Z INFO  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-03T05:20:15Z WARN  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-03T05:20:15Z 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: cargo_test
- action: cargo_doc
- 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-03T05:20:15Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
        pathname: "/workspace",
    }
[2025-10-03T05:20:15Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
        pathname: "/workspace",
    }
[2025-10-03T05:20:15Z 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-03T05:20:15Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-03T05:20:15Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
        pathname: "/workspace/artifacts",
    }
[2025-10-03T05:20:15Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
        pathname: "/workspace/artifacts",
    }
[2025-10-03T05:20:15Z 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-03T05:20:15Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-03T05:20:15Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-10-03T05:20:15Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-10-03T05:20:15Z 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-03T05:20:15Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-10-03T05:20:15Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-03T05:20:15Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-03T05:20:15Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-10-03T05:20:15Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-10-03T05:20:15Z 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-03T05:20:15Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-10-03T05:20:21Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-03T05:20:21Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-03T05:20:21Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-10-03T05:20:21Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-10-03T05:20:21Z 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-03T05:20:21Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-10-03T05:20:36Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-03T05:20:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-03T05:20:36Z DEBUG ambient_ci::plan] RUN: Action Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
[2025-10-03T05:20:36Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
[2025-10-03T05:20: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",
    }
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
       cwd=/workspace/src (exists? true)
  5242881      4 drwxr-xr-x   6 root     root         4096 Oct  3 05:20 /workspace
  5242882      4 drwxr-xr-x   2 root     root         4096 Oct  3 05:20 /workspace/artifacts
  5243220      4 drwxr-xr-x   3 root     root         4096 Oct  3 05:20 /workspace/deps
  5243221      4 drwxr-xr-x   5 root     root         4096 Sep 16 07:43 /workspace/deps/registry
  5266135      0 -rw-r--r--   1 root     root            0 Sep 16 07:43 /workspace/deps/.package-cache-mutate
  5266134    112 -rw-r--r--   1 root     root       114688 Oct  3 05:20 /workspace/deps/.global-cache
  5266136      0 -rw-r--r--   1 root     root            0 Sep 16 07:43 /workspace/deps/.package-cache
  5266137      4 drwxr-xr-x   5 root     root         4096 Sep 20 06:01 /workspace/cache
  5266138      4 -rw-r--r--   1 root     root         1038 Sep 22 08:42 /workspace/cache/.rustc_info.json
  5270140      4 drwxr-xr-x   7 root     root         4096 Sep 22 07:25 /workspace/cache/debug
  5266139      4 drwxr-xr-x   7 root     root         4096 Sep 22 07:25 /workspace/cache/release
  5270139      4 drwxr-xr-x   2 root     root         4096 Sep 20 05:54 /workspace/cache/tmp
  5242883      4 drwxr-xr-x  10 root     root         4096 Oct  3 05:20 /workspace/src
  5242930      4 drwxr-xr-x   2 root     root         4096 Oct  3 05:20 /workspace/src/.cargo
  5242932      4 drwxr-xr-x   2 root     root         4096 Oct  3 05:20 /workspace/src/.ambient
  5242922      4 -rw-r--r--   1 root     root         1079 Oct  3 05:20 /workspace/src/LICENSE-MIT
  5242929      4 -rw-r--r--   1 root     root            8 Oct  3 05:20 /workspace/src/.gitignore
  5242923     12 -rw-r--r--   1 root     root         9723 Oct  3 05:20 /workspace/src/LICENSE-APACHE
  5242906      4 drwxr-xr-x   3 root     root         4096 Oct  3 05:20 /workspace/src/debian
  5242934      4 drwxr-xr-x   8 root     root         4096 Oct  3 05:20 /workspace/src/.git
  5242884      4 drwxr-xr-x   2 root     root         4096 Oct  3 05:20 /workspace/src/tests
  5242926      4 drwxr-xr-x   2 root     root         4096 Oct  3 05:20 /workspace/src/.radicle
  5242920      4 -rw-r--r--   1 root     root         3452 Oct  3 05:20 /workspace/src/NEWS.md
  5242924      4 -rw-r--r--   1 root     root          925 Oct  3 05:20 /workspace/src/Cargo.toml
  5242921      4 -rw-r--r--   1 root     root          191 Oct  3 05:20 /workspace/src/Makefile
  5242899      4 -rw-r--r--   1 root     root          413 Oct  3 05:20 /workspace/src/radicle-native-ci.1
  5242919      4 -rw-r--r--   1 root     root         2849 Oct  3 05:20 /workspace/src/README.md
  5242918      4 -rw-r--r--   1 root     root          755 Oct  3 05:20 /workspace/src/build.rs
  5242925     92 -rw-r--r--   1 root     root        91070 Oct  3 05:20 /workspace/src/Cargo.lock
  5242900      4 drwxr-xr-x   2 root     root         4096 Oct  3 05:20 /workspace/src/doc
  5242886      4 drwxr-xr-x   3 root     root         4096 Oct  3 05:20 /workspace/src/src
[2025-10-03T05:20:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-03T05:20:36Z DEBUG ambient_ci::plan] RUN: Action CargoFmt
[2025-10-03T05:20:36Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFmt
[2025-10-03T05:20: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",
    }
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)
[2025-10-03T05:20:37Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-03T05:20:37Z DEBUG ambient_ci::plan] RUN: Action CargoClippy
[2025-10-03T05:20:37Z DEBUG ambient_ci::action] Plan::execute: plan=CargoClippy
[2025-10-03T05:20:37Z 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", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"]
       cwd=/workspace/src (exists? true)
   Compiling radicle-native-ci v0.11.1 (/workspace/src)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.12s
[2025-10-03T05:20:39Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-03T05:20:39Z DEBUG ambient_ci::plan] RUN: Action CargoTest
[2025-10-03T05:20:39Z DEBUG ambient_ci::action] Plan::execute: plan=CargoTest
[2025-10-03T05:20:39Z 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", "test", "--offline", "--locked", "--workspace"]
       cwd=/workspace/src (exists? true)
   Compiling radicle-native-ci v0.11.1 (/workspace/src)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 4.20s
     Running unittests src/lib.rs (/workspace/cache/debug/deps/radicle_native_ci-983cb81b18c2fea3)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/radicle-native-ci.rs (/workspace/cache/debug/deps/radicle_native_ci-676b5b252a28af07)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/run_log.rs (/workspace/cache/debug/deps/run_log-503d0d895c4f87cd)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/integration.rs (/workspace/cache/debug/deps/integration-35bd08c1136c1713)

running 9 tests
test commit_doesnt_exist ... FAILED
test command_fails ... FAILED
test config_does_not_exist ... FAILED
test empty_config ... FAILED
test empty_request ... FAILED
test happy_path ... FAILED
test happy_path_with_log_url ... FAILED
test no_config_env_var ... FAILED
test repo_doesnt_exist ... FAILED

failures:

---- commit_doesnt_exist stdout ----
run rad ["auth", "--alias=test-node"] in /tmp/.tmpYk6iMG/dot-radicle
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- command_fails stdout ----
run rad ["auth", "--alias=test-node"] in /tmp/.tmpC4H0Q8/dot-radicle
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- config_does_not_exist stdout ----
run rad ["auth", "--alias=test-node"] in /tmp/.tmpM6vPGo/dot-radicle
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- empty_config stdout ----
run rad ["auth", "--alias=test-node"] in /tmp/.tmpdbSnbI/dot-radicle
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- empty_request stdout ----
run rad ["auth", "--alias=test-node"] in /tmp/.tmpTPoCFv/dot-radicle
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- happy_path stdout ----
run rad ["auth", "--alias=test-node"] in /tmp/.tmptHwGeN/dot-radicle
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- happy_path_with_log_url stdout ----
run rad ["auth", "--alias=test-node"] in /tmp/.tmp5tioxt/dot-radicle
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- no_config_env_var stdout ----
run rad ["auth", "--alias=test-node"] in /tmp/.tmpFyVKzU/dot-radicle
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- repo_doesnt_exist stdout ----
run rad ["auth", "--alias=test-node"] in /tmp/.tmp5eOGR5/dot-radicle
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }


failures:
    command_fails
    commit_doesnt_exist
    config_does_not_exist
    empty_config
    empty_request
    happy_path
    happy_path_with_log_url
    no_config_env_var
    repo_doesnt_exist

test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

error: test failed, to rerun pass `--test integration`
[2025-10-03T05:20:44Z ERROR ambient_ci::plan] ERROR: Action failed: failed to execute cargo
[2025-10-03T05:20:44Z ERROR ambient_ci::plan] caused by: command failed: "cargo": exit code 101
ERROR: failed to execute cargo
caused by: command failed: "cargo": exit code 101
EXIT CODE: 1
[2025-10-03T05:20:49Z INFO  ambient] ambient ends successfully

Trigger message

{
  "request": "trigger",
  "version": 1,
  "event_type": "push",
  "repository": {
    "id": "rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE",
    "name": "radicle-native-ci",
    "description": "Radicle CI adapter for native CI",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
      "did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT"
    ]
  },
  "pusher": {
    "id": "did:key:z6Mki2ago1X2A5UWgKpoSxyCRLLhyZMwpam4T3EKvRmFTyuy",
    "alias": "callisto.liw.fi"
  },
  "before": "5eb36a8685ed46bbb1720aca16ebc2da26d8b482",
  "after": "5eb36a8685ed46bbb1720aca16ebc2da26d8b482",
  "branch": "main",
  "commits": [
    "5eb36a8685ed46bbb1720aca16ebc2da26d8b482"
  ]
}

Ambient stdout

[2025-10-03T05:20:02Z INFO  ambient] ambient starts
[2025-10-03T05:20:02Z 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-03T05:20:02Z 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-03T05:20:02Z 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-03T05:20:02Z DEBUG ambient_ci::project] load project state from /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/meta.yaml
[2025-10-03T05:20:02Z DEBUG ambient_ci::run] latest commit: "5eb36a8685ed46bbb1720aca16ebc2da26d8b482"
[2025-10-03T05:20:02Z DEBUG ambient_ci::run] is a git repository
[2025-10-03T05:20:02Z DEBUG ambient_ci::run] git repository is clean
[2025-10-03T05:20:02Z DEBUG ambient_ci::run] current (HEAD) commit: 5eb36a8685ed46bbb1720aca16ebc2da26d8b482
[2025-10-03T05:20:02Z DEBUG ambient_ci::run] no dry run requested
[2025-10-03T05:20:02Z DEBUG ambient_ci::run] forced run requested
[2025-10-03T05:20:02Z DEBUG ambient_ci::run] run? true
[2025-10-03T05:20:02Z INFO  ambient_ci::run] project rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE: running CI
[2025-10-03T05:20:02Z DEBUG ambient_ci::run] Executing pre-plan steps
[2025-10-03T05:20:02Z DEBUG ambient_ci::plan] RUN: Action CargoFetch {
        sourcedir: "/tmp/.tmp0fj17M/src",
    }
[2025-10-03T05:20:02Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFetch {
        sourcedir: "/tmp/.tmp0fj17M/src",
    }
[2025-10-03T05:20:02Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "PATH": "/root/.cargo/bin:/bin:/home/_rad/.radicle/bin:/home/_rad/.cargo/bin",
            "CARGO_HOME": "/home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/dependencies",
            "CARGO_TARGET_DIR": "/home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/cache",
        },
        source_dir: "/tmp/.tmp0fj17M/src",
    }
SPAWN: argv=["cargo", "--version"]
       cwd=/tmp/.tmp0fj17M/src (exists? true)
cargo 1.90.0 (840b83a10 2025-07-30)
SPAWN: argv=["cargo", "clippy", "--version"]
       cwd=/tmp/.tmp0fj17M/src (exists? true)
clippy 0.1.90 (1159e78c47 2025-09-14)
SPAWN: argv=["rustc", "--version"]
       cwd=/tmp/.tmp0fj17M/src (exists? true)
rustc 1.90.0 (1159e78c4 2025-09-14)
SPAWN: argv=["cargo", "fetch"]
       cwd=/tmp/.tmp0fj17M/src (exists? true)
[2025-10-03T05:20:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-03T05:20:03Z DEBUG ambient_ci::plan] All actions were performed successfully
[2025-10-03T05:20:03Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmp9etS2X/src.tar
[2025-10-03T05:20:03Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmp9etS2X/deps.tar
[2025-10-03T05:20:06Z DEBUG ambient_ci::run] create_executor_vdrive: executor="/usr/bin/ambient-execute-plan"
[2025-10-03T05:20:06Z 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,
            CargoTest,
            CargoDoc,
            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-03T05:20:06Z DEBUG ambient_ci::run] executor bin /usr/bin/ambient-execute-plan
[2025-10-03T05:20:06Z DEBUG ambient_ci::run] copying /usr/bin/ambient-execute-plan to /home/_rad/tmp/.tmp9etS2X/ambient-execute-plan/run-ci
[2025-10-03T05:20:06Z DEBUG ambient_ci::run] copy OK: true
[2025-10-03T05:20:06Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmp9etS2X/executor.tar
[2025-10-03T05:20:09Z DEBUG ambient_ci::project] removing run log file /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/run.log
[2025-10-03T05:20:09Z DEBUG ambient_ci::project] statedir is /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE, exists? true
[2025-10-03T05:20:09Z DEBUG ambient_ci::project] creating run log file /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/run.log
[2025-10-03T05:20:09Z DEBUG ambient_ci::project] created run log file /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/run.log OK
[2025-10-03T05:20:09Z DEBUG ambient_ci::cloud_init] with_hostname called: "ambient"
[2025-10-03T05:20:09Z DEBUG ambient_ci::cloud_init] with_runcmd called: "echo xyzzy > /dev/ttyS1"
[2025-10-03T05:20:09Z 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-03T05:20:09Z DEBUG ambient_ci::cloud_init] with_runcmd called: "poweroff"
[2025-10-03T05:20:09Z 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-03T05:20:09Z DEBUG ambient_ci::qemu] run QEMU
[2025-10-03T05:20:09Z DEBUG ambient_ci::qemu] create copy-on-write image and UEFI vars file
[2025-10-03T05:20:09Z DEBUG ambient_ci::qemu_utils] qemu-img create /home/_rad/tmp/.tmpqHRlta/.tmp65Qzmg/vm.qcow2 backing on /home/_rad/ambient.qcow2
[2025-10-03T05:20:09Z DEBUG ambient_ci::qemu] create cloud-init ISO file
[2025-10-03T05:20:09Z 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-03T05:20:09Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpt15HTc/meta-data
[2025-10-03T05:20:09Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpt15HTc/user-data
[2025-10-03T05:20:09Z DEBUG ambient_ci::qemu] set console log file to /home/_rad/tmp/.tmpqHRlta/.tmp65Qzmg/console.log
[2025-10-03T05:20:09Z DEBUG ambient_ci::util] create file /home/_rad/tmp/.tmpqHRlta/.tmp65Qzmg/console.log
[2025-10-03T05:20:09Z DEBUG ambient_ci::qemu] set run file to /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/run.log
[2025-10-03T05:20:09Z DEBUG ambient_ci::util] create file /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/run.log
[2025-10-03T05:20:09Z 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/.tmpqHRlta/.tmp65Qzmg/console.log",
            "-serial",
            "file:/home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/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/.tmpqHRlta/.tmp65Qzmg/vars.fd",
            "-drive",
            "format=qcow2,if=virtio,file=/home/_rad/tmp/.tmpqHRlta/.tmp65Qzmg/vm.qcow2",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmp9etS2X/executor.tar,readonly=on",
            "-cdrom",
            "/home/_rad/tmp/.tmpqHRlta/.tmp65Qzmg/cloud_init.iso",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmp9etS2X/src.tar,readonly=on",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmp9etS2X/artifacts.tar",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmp9etS2X/cache.tar",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmp9etS2X/deps.tar,readonly=on",
            "-nodefaults",
            "-no-user-config",
        ],
    }
[2025-10-03T05:20:47Z DEBUG ambient_ci::qemu] QEMU finished OK
[2025-10-03T05:20:47Z DEBUG ambient_ci::qemu] run log:
    --------------------==========
    [2025-10-03T05:20:15Z TRACE ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-03T05:20:15Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-03T05:20:15Z INFO  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-03T05:20:15Z WARN  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-03T05:20:15Z 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: cargo_test
    - action: cargo_doc
    - 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-03T05:20:15Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
            pathname: "/workspace",
        }
    [2025-10-03T05:20:15Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
            pathname: "/workspace",
        }
    [2025-10-03T05:20:15Z 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-03T05:20:15Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-03T05:20:15Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
            pathname: "/workspace/artifacts",
        }
    [2025-10-03T05:20:15Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
            pathname: "/workspace/artifacts",
        }
    [2025-10-03T05:20:15Z 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-03T05:20:15Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-03T05:20:15Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-10-03T05:20:15Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-10-03T05:20:15Z 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-03T05:20:15Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
    [2025-10-03T05:20:15Z TRACE ambient_ci::vdrive] extraction OK
    [2025-10-03T05:20:15Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-03T05:20:15Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-10-03T05:20:15Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-10-03T05:20:15Z 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-03T05:20:15Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
    [2025-10-03T05:20:21Z TRACE ambient_ci::vdrive] extraction OK
    [2025-10-03T05:20:21Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-03T05:20:21Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-10-03T05:20:21Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-10-03T05:20:21Z 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-03T05:20:21Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
    [2025-10-03T05:20:36Z TRACE ambient_ci::vdrive] extraction OK
    [2025-10-03T05:20:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-03T05:20:36Z DEBUG ambient_ci::plan] RUN: Action Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    [2025-10-03T05:20:36Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    [2025-10-03T05:20: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",
        }
    SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
           cwd=/workspace/src (exists? true)
      5242881      4 drwxr-xr-x   6 root     root         4096 Oct  3 05:20 /workspace
      5242882      4 drwxr-xr-x   2 root     root         4096 Oct  3 05:20 /workspace/artifacts
      5243220      4 drwxr-xr-x   3 root     root         4096 Oct  3 05:20 /workspace/deps
      5243221      4 drwxr-xr-x   5 root     root         4096 Sep 16 07:43 /workspace/deps/registry
      5266135      0 -rw-r--r--   1 root     root            0 Sep 16 07:43 /workspace/deps/.package-cache-mutate
      5266134    112 -rw-r--r--   1 root     root       114688 Oct  3 05:20 /workspace/deps/.global-cache
      5266136      0 -rw-r--r--   1 root     root            0 Sep 16 07:43 /workspace/deps/.package-cache
      5266137      4 drwxr-xr-x   5 root     root         4096 Sep 20 06:01 /workspace/cache
      5266138      4 -rw-r--r--   1 root     root         1038 Sep 22 08:42 /workspace/cache/.rustc_info.json
      5270140      4 drwxr-xr-x   7 root     root         4096 Sep 22 07:25 /workspace/cache/debug
      5266139      4 drwxr-xr-x   7 root     root         4096 Sep 22 07:25 /workspace/cache/release
      5270139      4 drwxr-xr-x   2 root     root         4096 Sep 20 05:54 /workspace/cache/tmp
      5242883      4 drwxr-xr-x  10 root     root         4096 Oct  3 05:20 /workspace/src
      5242930      4 drwxr-xr-x   2 root     root         4096 Oct  3 05:20 /workspace/src/.cargo
      5242932      4 drwxr-xr-x   2 root     root         4096 Oct  3 05:20 /workspace/src/.ambient
      5242922      4 -rw-r--r--   1 root     root         1079 Oct  3 05:20 /workspace/src/LICENSE-MIT
      5242929      4 -rw-r--r--   1 root     root            8 Oct  3 05:20 /workspace/src/.gitignore
      5242923     12 -rw-r--r--   1 root     root         9723 Oct  3 05:20 /workspace/src/LICENSE-APACHE
      5242906      4 drwxr-xr-x   3 root     root         4096 Oct  3 05:20 /workspace/src/debian
      5242934      4 drwxr-xr-x   8 root     root         4096 Oct  3 05:20 /workspace/src/.git
      5242884      4 drwxr-xr-x   2 root     root         4096 Oct  3 05:20 /workspace/src/tests
      5242926      4 drwxr-xr-x   2 root     root         4096 Oct  3 05:20 /workspace/src/.radicle
      5242920      4 -rw-r--r--   1 root     root         3452 Oct  3 05:20 /workspace/src/NEWS.md
      5242924      4 -rw-r--r--   1 root     root          925 Oct  3 05:20 /workspace/src/Cargo.toml
      5242921      4 -rw-r--r--   1 root     root          191 Oct  3 05:20 /workspace/src/Makefile
      5242899      4 -rw-r--r--   1 root     root          413 Oct  3 05:20 /workspace/src/radicle-native-ci.1
      5242919      4 -rw-r--r--   1 root     root         2849 Oct  3 05:20 /workspace/src/README.md
      5242918      4 -rw-r--r--   1 root     root          755 Oct  3 05:20 /workspace/src/build.rs
      5242925     92 -rw-r--r--   1 root     root        91070 Oct  3 05:20 /workspace/src/Cargo.lock
      5242900      4 drwxr-xr-x   2 root     root         4096 Oct  3 05:20 /workspace/src/doc
      5242886      4 drwxr-xr-x   3 root     root         4096 Oct  3 05:20 /workspace/src/src
    [2025-10-03T05:20:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-03T05:20:36Z DEBUG ambient_ci::plan] RUN: Action CargoFmt
    [2025-10-03T05:20:36Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFmt
    [2025-10-03T05:20: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",
        }
    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)
    [2025-10-03T05:20:37Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-03T05:20:37Z DEBUG ambient_ci::plan] RUN: Action CargoClippy
    [2025-10-03T05:20:37Z DEBUG ambient_ci::action] Plan::execute: plan=CargoClippy
    [2025-10-03T05:20:37Z 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", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"]
           cwd=/workspace/src (exists? true)
       Compiling radicle-native-ci v0.11.1 (/workspace/src)
        Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.12s
    [2025-10-03T05:20:39Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-03T05:20:39Z DEBUG ambient_ci::plan] RUN: Action CargoTest
    [2025-10-03T05:20:39Z DEBUG ambient_ci::action] Plan::execute: plan=CargoTest
    [2025-10-03T05:20:39Z 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", "test", "--offline", "--locked", "--workspace"]
           cwd=/workspace/src (exists? true)
       Compiling radicle-native-ci v0.11.1 (/workspace/src)
        Finished `test` profile [unoptimized + debuginfo] target(s) in 4.20s
         Running unittests src/lib.rs (/workspace/cache/debug/deps/radicle_native_ci-983cb81b18c2fea3)
    
    running 0 tests
    
    test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
    
         Running unittests src/bin/radicle-native-ci.rs (/workspace/cache/debug/deps/radicle_native_ci-676b5b252a28af07)
    
    running 0 tests
    
    test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
    
         Running unittests src/bin/run_log.rs (/workspace/cache/debug/deps/run_log-503d0d895c4f87cd)
    
    running 0 tests
    
    test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
    
         Running tests/integration.rs (/workspace/cache/debug/deps/integration-35bd08c1136c1713)
    
    running 9 tests
    test commit_doesnt_exist ... FAILED
    test command_fails ... FAILED
    test config_does_not_exist ... FAILED
    test empty_config ... FAILED
    test empty_request ... FAILED
    test happy_path ... FAILED
    test happy_path_with_log_url ... FAILED
    test no_config_env_var ... FAILED
    test repo_doesnt_exist ... FAILED
    
    failures:
    
    ---- commit_doesnt_exist stdout ----
    run rad ["auth", "--alias=test-node"] in /tmp/.tmpYk6iMG/dot-radicle
    Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
    
    ---- command_fails stdout ----
    run rad ["auth", "--alias=test-node"] in /tmp/.tmpC4H0Q8/dot-radicle
    Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
    
    ---- config_does_not_exist stdout ----
    run rad ["auth", "--alias=test-node"] in /tmp/.tmpM6vPGo/dot-radicle
    Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
    
    ---- empty_config stdout ----
    run rad ["auth", "--alias=test-node"] in /tmp/.tmpdbSnbI/dot-radicle
    Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
    
    ---- empty_request stdout ----
    run rad ["auth", "--alias=test-node"] in /tmp/.tmpTPoCFv/dot-radicle
    Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
    
    ---- happy_path stdout ----
    run rad ["auth", "--alias=test-node"] in /tmp/.tmptHwGeN/dot-radicle
    Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
    
    ---- happy_path_with_log_url stdout ----
    run rad ["auth", "--alias=test-node"] in /tmp/.tmp5tioxt/dot-radicle
    Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
    
    ---- no_config_env_var stdout ----
    run rad ["auth", "--alias=test-node"] in /tmp/.tmpFyVKzU/dot-radicle
    Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
    
    ---- repo_doesnt_exist stdout ----
    run rad ["auth", "--alias=test-node"] in /tmp/.tmp5eOGR5/dot-radicle
    Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
    
    
    failures:
        command_fails
        commit_doesnt_exist
        config_does_not_exist
        empty_config
        empty_request
        happy_path
        happy_path_with_log_url
        no_config_env_var
        repo_doesnt_exist
    
    test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
    
    error: test failed, to rerun pass `--test integration`
    [2025-10-03T05:20:44Z ERROR ambient_ci::plan] ERROR: Action failed: failed to execute cargo
    [2025-10-03T05:20:44Z ERROR ambient_ci::plan] caused by: command failed: "cargo": exit code 101
    ERROR: failed to execute cargo
    caused by: command failed: "cargo": exit code 101
    EXIT CODE: 1
    
    ====================
[2025-10-03T05:20:47Z DEBUG ambient_ci::qemu] QEMU: CI run under exit code 1
[2025-10-03T05:20:48Z DEBUG ambient_ci::run] CI run exit code from QEMU: 1
[2025-10-03T05:20:48Z DEBUG ambient_ci::project] write project state to /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/meta.yaml
ERROR: CI run failed inside QEMU

Ambient stderr

<empty log>