CI run for rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE

Radicle repository id rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE

Table of Contents

Run log

[2025-09-22T08:44:21Z 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   1.2M  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-09-22 08:43 ./
-rw-r--r-- _rad/_rad       983 2025-09-22 08:43 ./plan.yaml
-rwxr-xr-x _rad/_rad   6365440 2025-09-22 08:43 ./run-ci
INFO: Extracted files:
  6291466      4 drwxr-xr-x   2 1000     1000         4096 Sep 22 08:43 .
  6291468   6220 -rwxr-xr-x   1 1000     1000      6365440 Sep 22 08:43 ./run-ci
  6291467      4 -rw-r--r--   1 1000     1000          983 Sep 22 08:43 ./plan.yaml
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-09-22T08:44:03Z TRACE ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
[2025-09-22T08:44:03Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
[2025-09-22T08:44:03Z INFO  ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
[2025-09-22T08:44:03Z WARN  ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
[2025-09-22T08:44:03Z ERROR ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 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:
    debemail: liw@liw.fi
    debfullname: Lars Wirzenius
- 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-09-22T08:44:03Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
        pathname: "/workspace",
    }
[2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
        pathname: "/workspace",
    }
[2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_HOME": "/workspace/deps",
        },
        source_dir: "/workspace/src",
    }
[2025-09-22T08:44:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-22T08:44:03Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
        pathname: "/workspace/artifacts",
    }
[2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
        pathname: "/workspace/artifacts",
    }
[2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_HOME": "/workspace/deps",
        },
        source_dir: "/workspace/src",
    }
[2025-09-22T08:44:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-22T08:44:03Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_HOME": "/workspace/deps",
        },
        source_dir: "/workspace/src",
    }
[2025-09-22T08:44:03Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-09-22T08:44:03Z TRACE ambient_ci::vdrive] extraction OK
[2025-09-22T08:44:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-22T08:44:03Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_HOME": "/workspace/deps",
        },
        source_dir: "/workspace/src",
    }
[2025-09-22T08:44:03Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-09-22T08:44:05Z TRACE ambient_ci::vdrive] extraction OK
[2025-09-22T08:44:05Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-22T08:44:05Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-09-22T08:44:05Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-09-22T08:44:05Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_HOME": "/workspace/deps",
        },
        source_dir: "/workspace/src",
    }
[2025-09-22T08:44:05Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-09-22T08:44:11Z TRACE ambient_ci::vdrive] extraction OK
[2025-09-22T08:44:11Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-22T08:44:11Z DEBUG ambient_ci::plan] RUN: Action Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
[2025-09-22T08:44:11Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
[2025-09-22T08:44:11Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_HOME": "/workspace/deps",
        },
        source_dir: "/workspace/src",
    }
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
       cwd=/workspace/src (exists? true)
  2621441      4 drwxr-xr-x   6 root     root         4096 Sep 22 08:44 /workspace
  2621442      4 drwxr-xr-x   2 root     root         4096 Sep 22 08:44 /workspace/artifacts
  2644627      4 drwxr-xr-x   5 root     root         4096 Sep 20 06:01 /workspace/cache
  2648630      4 drwxr-xr-x   7 root     root         4096 Sep 22 07:25 /workspace/cache/debug
  2644628      4 -rw-r--r--   1 root     root         1038 Sep 22 08:42 /workspace/cache/.rustc_info.json
  2644629      4 drwxr-xr-x   7 root     root         4096 Sep 22 07:25 /workspace/cache/release
  2648629      4 drwxr-xr-x   2 root     root         4096 Sep 20 05:54 /workspace/cache/tmp
  2621710      4 drwxr-xr-x   3 root     root         4096 Sep 22 08:42 /workspace/deps
  2644626      0 -rw-r--r--   1 root     root            0 Sep 16 07:43 /workspace/deps/.package-cache
  2621711      4 drwxr-xr-x   5 root     root         4096 Sep 16 07:43 /workspace/deps/registry
  2644624    112 -rw-r--r--   1 root     root       114688 Sep 22 08:42 /workspace/deps/.global-cache
  2644625      0 -rw-r--r--   1 root     root            0 Sep 16 07:43 /workspace/deps/.package-cache-mutate
  2621443      4 drwxr-xr-x  10 root     root         4096 Sep 22 08:43 /workspace/src
  2621460      4 drwxr-xr-x   2 root     root         4096 Sep 22 08:43 /workspace/src/doc
  2621483     12 -rw-r--r--   1 root     root         9723 Sep 22 08:43 /workspace/src/LICENSE-APACHE
  2621459      4 -rw-r--r--   1 root     root          413 Sep 22 08:43 /workspace/src/radicle-native-ci.1
  2621480      4 -rw-r--r--   1 root     root         3452 Sep 22 08:43 /workspace/src/NEWS.md
  2621486      4 drwxr-xr-x   2 root     root         4096 Sep 22 08:43 /workspace/src/.radicle
  2621492      4 drwxr-xr-x   2 root     root         4096 Sep 22 08:43 /workspace/src/.ambient
  2621484      4 -rw-r--r--   1 root     root          925 Sep 22 08:43 /workspace/src/Cargo.toml
  2621444      4 drwxr-xr-x   2 root     root         4096 Sep 22 08:43 /workspace/src/tests
  2621479      4 -rw-r--r--   1 root     root         2849 Sep 22 08:43 /workspace/src/README.md
  2621489      4 -rw-r--r--   1 root     root            8 Sep 22 08:43 /workspace/src/.gitignore
  2621478      4 -rw-r--r--   1 root     root          755 Sep 22 08:43 /workspace/src/build.rs
  2621485     92 -rw-r--r--   1 root     root        91070 Sep 22 08:43 /workspace/src/Cargo.lock
  2621466      4 drwxr-xr-x   3 root     root         4096 Sep 22 08:43 /workspace/src/debian
  2621494      4 drwxr-xr-x   8 root     root         4096 Sep 22 08:43 /workspace/src/.git
  2621482      4 -rw-r--r--   1 root     root         1079 Sep 22 08:43 /workspace/src/LICENSE-MIT
  2621481      4 -rw-r--r--   1 root     root          191 Sep 22 08:43 /workspace/src/Makefile
  2621490      4 drwxr-xr-x   2 root     root         4096 Sep 22 08:43 /workspace/src/.cargo
  2621446      4 drwxr-xr-x   3 root     root         4096 Sep 22 08:43 /workspace/src/src
[2025-09-22T08:44:11Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-22T08:44:11Z DEBUG ambient_ci::plan] RUN: Action CargoFmt
[2025-09-22T08:44:11Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFmt
[2025-09-22T08:44:11Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_HOME": "/workspace/deps",
        },
        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-09-22T08:44:12Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-22T08:44:12Z DEBUG ambient_ci::plan] RUN: Action CargoClippy
[2025-09-22T08:44:12Z DEBUG ambient_ci::action] Plan::execute: plan=CargoClippy
[2025-09-22T08:44:12Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_HOME": "/workspace/deps",
        },
        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 1.31s
[2025-09-22T08:44:13Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-22T08:44:13Z DEBUG ambient_ci::plan] RUN: Action CargoTest
[2025-09-22T08:44:13Z DEBUG ambient_ci::action] Plan::execute: plan=CargoTest
[2025-09-22T08:44:13Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_HOME": "/workspace/deps",
        },
        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 2.60s
     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/.tmpCgqvnb/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/.tmpApRzed/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/.tmpmCb8Op/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/.tmpBEyoQs/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/.tmp7XmsmN/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/.tmps1mSOt/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/.tmpYarH3t/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/.tmps6YkLI/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/.tmpcwyDls/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-09-22T08:44:16Z ERROR ambient_ci::plan] ERROR: Action failed: failed to execute cargo
[2025-09-22T08:44:16Z 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-09-22T08:44:21Z 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:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
    "alias": "liw"
  },
  "before": "5eb36a8685ed46bbb1720aca16ebc2da26d8b482",
  "after": "5eb36a8685ed46bbb1720aca16ebc2da26d8b482",
  "branch": "main",
  "commits": [
    "5eb36a8685ed46bbb1720aca16ebc2da26d8b482"
  ]
}

Ambient stdout

[2025-09-22T08:43:56Z INFO  ambient] ambient starts
[2025-09-22T08:43:56Z 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-22T08:43:56Z 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-22T08:43:56Z 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-22T08:43:56Z DEBUG ambient_ci::project] load project state from /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/meta.yaml
[2025-09-22T08:43:56Z DEBUG ambient_ci::run] latest commit: "5eb36a8685ed46bbb1720aca16ebc2da26d8b482"
[2025-09-22T08:43:56Z DEBUG ambient_ci::run] is a git repository
[2025-09-22T08:43:56Z DEBUG ambient_ci::run] git repository is clean
[2025-09-22T08:43:56Z DEBUG ambient_ci::run] current (HEAD) commit: 5eb36a8685ed46bbb1720aca16ebc2da26d8b482
[2025-09-22T08:43:56Z DEBUG ambient_ci::run] no dry run requested
[2025-09-22T08:43:56Z DEBUG ambient_ci::run] forced run requested
[2025-09-22T08:43:56Z DEBUG ambient_ci::run] run? true
[2025-09-22T08:43:56Z INFO  ambient_ci::run] project rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE: running CI
[2025-09-22T08:43:56Z DEBUG ambient_ci::run] Executing pre-plan steps
[2025-09-22T08:43:56Z DEBUG ambient_ci::plan] RUN: Action CargoFetch {
        sourcedir: "/tmp/.tmpv8NE6y/src",
    }
[2025-09-22T08:43:56Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFetch {
        sourcedir: "/tmp/.tmpv8NE6y/src",
    }
[2025-09-22T08:43:56Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/dependencies",
            "PATH": "/root/.cargo/bin:/bin:/home/_rad/.radicle/bin:/home/_rad/.cargo/bin",
            "CARGO_TARGET_DIR": "/home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/cache",
        },
        source_dir: "/tmp/.tmpv8NE6y/src",
    }
SPAWN: argv=["cargo", "--version"]
       cwd=/tmp/.tmpv8NE6y/src (exists? true)
cargo 1.90.0 (840b83a10 2025-07-30)
SPAWN: argv=["cargo", "clippy", "--version"]
       cwd=/tmp/.tmpv8NE6y/src (exists? true)
clippy 0.1.90 (1159e78c47 2025-09-14)
SPAWN: argv=["rustc", "--version"]
       cwd=/tmp/.tmpv8NE6y/src (exists? true)
rustc 1.90.0 (1159e78c4 2025-09-14)
SPAWN: argv=["cargo", "fetch"]
       cwd=/tmp/.tmpv8NE6y/src (exists? true)
[2025-09-22T08:43:56Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-22T08:43:56Z DEBUG ambient_ci::plan] All actions were performed successfully
[2025-09-22T08:43:56Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpnZVqwE/src.tar
[2025-09-22T08:43:56Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpnZVqwE/deps.tar
[2025-09-22T08:43:57Z DEBUG ambient_ci::run] create_executor_vdrive: executor="/usr/bin/ambient-execute-plan"
[2025-09-22T08:43:57Z 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: {
                        "debemail": String("liw@liw.fi"),
                        "debfullname": String("Lars Wirzenius"),
                    },
                },
            ),
            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-09-22T08:43:57Z DEBUG ambient_ci::run] executor bin /usr/bin/ambient-execute-plan
[2025-09-22T08:43:57Z DEBUG ambient_ci::run] copying /usr/bin/ambient-execute-plan to /home/_rad/tmp/.tmpnZVqwE/ambient-execute-plan/run-ci
[2025-09-22T08:43:57Z DEBUG ambient_ci::run] copy OK: true
[2025-09-22T08:43:57Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpnZVqwE/executor.tar
[2025-09-22T08:43:59Z DEBUG ambient_ci::project] removing run log file /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/run.log
[2025-09-22T08:43:59Z DEBUG ambient_ci::project] statedir is /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE, exists? true
[2025-09-22T08:43:59Z DEBUG ambient_ci::project] creating run log file /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/run.log
[2025-09-22T08:43:59Z DEBUG ambient_ci::project] created run log file /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/run.log OK
[2025-09-22T08:43:59Z DEBUG ambient_ci::cloud_init] with_hostname called: "ambient"
[2025-09-22T08:43:59Z DEBUG ambient_ci::cloud_init] with_runcmd called: "echo xyzzy > /dev/ttyS1"
[2025-09-22T08:43:59Z 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-22T08:43:59Z DEBUG ambient_ci::cloud_init] with_runcmd called: "poweroff"
[2025-09-22T08:43:59Z 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-22T08:43:59Z DEBUG ambient_ci::qemu] run QEMU
[2025-09-22T08:43:59Z DEBUG ambient_ci::qemu] create copy-on-write image and UEFI vars file
[2025-09-22T08:43:59Z DEBUG ambient_ci::qemu_utils] qemu-img create /home/_rad/tmp/.tmpr5yko3/.tmp8Bcj0l/vm.qcow2 backing on /home/_rad/ambient.qcow2
[2025-09-22T08:43:59Z DEBUG ambient_ci::qemu] create cloud-init ISO file
[2025-09-22T08:43:59Z 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-22T08:43:59Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpQj3guj/meta-data
[2025-09-22T08:43:59Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpQj3guj/user-data
[2025-09-22T08:44:00Z DEBUG ambient_ci::qemu] set console log file to /home/_rad/tmp/.tmpr5yko3/.tmp8Bcj0l/console.log
[2025-09-22T08:44:00Z DEBUG ambient_ci::util] create file /home/_rad/tmp/.tmpr5yko3/.tmp8Bcj0l/console.log
[2025-09-22T08:44:00Z DEBUG ambient_ci::qemu] set run file to /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/run.log
[2025-09-22T08:44:00Z DEBUG ambient_ci::util] create file /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/run.log
[2025-09-22T08:44:00Z 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/.tmpr5yko3/.tmp8Bcj0l/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/.tmpr5yko3/.tmp8Bcj0l/vars.fd",
            "-drive",
            "format=qcow2,if=virtio,file=/home/_rad/tmp/.tmpr5yko3/.tmp8Bcj0l/vm.qcow2",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpnZVqwE/executor.tar,readonly=on",
            "-cdrom",
            "/home/_rad/tmp/.tmpr5yko3/.tmp8Bcj0l/cloud_init.iso",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpnZVqwE/src.tar,readonly=on",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpnZVqwE/artifacts.tar",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpnZVqwE/cache.tar",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpnZVqwE/deps.tar,readonly=on",
            "-nodefaults",
            "-no-user-config",
        ],
    }
[2025-09-22T08:44:18Z DEBUG ambient_ci::qemu] QEMU finished OK
[2025-09-22T08:44:18Z DEBUG ambient_ci::qemu] run log:
    --------------------==========
    [2025-09-22T08:44:03Z TRACE ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
    [2025-09-22T08:44:03Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
    [2025-09-22T08:44:03Z INFO  ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
    [2025-09-22T08:44:03Z WARN  ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
    [2025-09-22T08:44:03Z ERROR ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 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:
        debemail: liw@liw.fi
        debfullname: Lars Wirzenius
    - 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-09-22T08:44:03Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
            pathname: "/workspace",
        }
    [2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
            pathname: "/workspace",
        }
    [2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_HOME": "/workspace/deps",
            },
            source_dir: "/workspace/src",
        }
    [2025-09-22T08:44:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-09-22T08:44:03Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
            pathname: "/workspace/artifacts",
        }
    [2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
            pathname: "/workspace/artifacts",
        }
    [2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_HOME": "/workspace/deps",
            },
            source_dir: "/workspace/src",
        }
    [2025-09-22T08:44:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-09-22T08:44:03Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_HOME": "/workspace/deps",
            },
            source_dir: "/workspace/src",
        }
    [2025-09-22T08:44:03Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
    [2025-09-22T08:44:03Z TRACE ambient_ci::vdrive] extraction OK
    [2025-09-22T08:44:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-09-22T08:44:03Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-09-22T08:44:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_HOME": "/workspace/deps",
            },
            source_dir: "/workspace/src",
        }
    [2025-09-22T08:44:03Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
    [2025-09-22T08:44:05Z TRACE ambient_ci::vdrive] extraction OK
    [2025-09-22T08:44:05Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-09-22T08:44:05Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-09-22T08:44:05Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-09-22T08:44:05Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_HOME": "/workspace/deps",
            },
            source_dir: "/workspace/src",
        }
    [2025-09-22T08:44:05Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
    [2025-09-22T08:44:11Z TRACE ambient_ci::vdrive] extraction OK
    [2025-09-22T08:44:11Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-09-22T08:44:11Z DEBUG ambient_ci::plan] RUN: Action Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    [2025-09-22T08:44:11Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    [2025-09-22T08:44:11Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_HOME": "/workspace/deps",
            },
            source_dir: "/workspace/src",
        }
    SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
           cwd=/workspace/src (exists? true)
      2621441      4 drwxr-xr-x   6 root     root         4096 Sep 22 08:44 /workspace
      2621442      4 drwxr-xr-x   2 root     root         4096 Sep 22 08:44 /workspace/artifacts
      2644627      4 drwxr-xr-x   5 root     root         4096 Sep 20 06:01 /workspace/cache
      2648630      4 drwxr-xr-x   7 root     root         4096 Sep 22 07:25 /workspace/cache/debug
      2644628      4 -rw-r--r--   1 root     root         1038 Sep 22 08:42 /workspace/cache/.rustc_info.json
      2644629      4 drwxr-xr-x   7 root     root         4096 Sep 22 07:25 /workspace/cache/release
      2648629      4 drwxr-xr-x   2 root     root         4096 Sep 20 05:54 /workspace/cache/tmp
      2621710      4 drwxr-xr-x   3 root     root         4096 Sep 22 08:42 /workspace/deps
      2644626      0 -rw-r--r--   1 root     root            0 Sep 16 07:43 /workspace/deps/.package-cache
      2621711      4 drwxr-xr-x   5 root     root         4096 Sep 16 07:43 /workspace/deps/registry
      2644624    112 -rw-r--r--   1 root     root       114688 Sep 22 08:42 /workspace/deps/.global-cache
      2644625      0 -rw-r--r--   1 root     root            0 Sep 16 07:43 /workspace/deps/.package-cache-mutate
      2621443      4 drwxr-xr-x  10 root     root         4096 Sep 22 08:43 /workspace/src
      2621460      4 drwxr-xr-x   2 root     root         4096 Sep 22 08:43 /workspace/src/doc
      2621483     12 -rw-r--r--   1 root     root         9723 Sep 22 08:43 /workspace/src/LICENSE-APACHE
      2621459      4 -rw-r--r--   1 root     root          413 Sep 22 08:43 /workspace/src/radicle-native-ci.1
      2621480      4 -rw-r--r--   1 root     root         3452 Sep 22 08:43 /workspace/src/NEWS.md
      2621486      4 drwxr-xr-x   2 root     root         4096 Sep 22 08:43 /workspace/src/.radicle
      2621492      4 drwxr-xr-x   2 root     root         4096 Sep 22 08:43 /workspace/src/.ambient
      2621484      4 -rw-r--r--   1 root     root          925 Sep 22 08:43 /workspace/src/Cargo.toml
      2621444      4 drwxr-xr-x   2 root     root         4096 Sep 22 08:43 /workspace/src/tests
      2621479      4 -rw-r--r--   1 root     root         2849 Sep 22 08:43 /workspace/src/README.md
      2621489      4 -rw-r--r--   1 root     root            8 Sep 22 08:43 /workspace/src/.gitignore
      2621478      4 -rw-r--r--   1 root     root          755 Sep 22 08:43 /workspace/src/build.rs
      2621485     92 -rw-r--r--   1 root     root        91070 Sep 22 08:43 /workspace/src/Cargo.lock
      2621466      4 drwxr-xr-x   3 root     root         4096 Sep 22 08:43 /workspace/src/debian
      2621494      4 drwxr-xr-x   8 root     root         4096 Sep 22 08:43 /workspace/src/.git
      2621482      4 -rw-r--r--   1 root     root         1079 Sep 22 08:43 /workspace/src/LICENSE-MIT
      2621481      4 -rw-r--r--   1 root     root          191 Sep 22 08:43 /workspace/src/Makefile
      2621490      4 drwxr-xr-x   2 root     root         4096 Sep 22 08:43 /workspace/src/.cargo
      2621446      4 drwxr-xr-x   3 root     root         4096 Sep 22 08:43 /workspace/src/src
    [2025-09-22T08:44:11Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-09-22T08:44:11Z DEBUG ambient_ci::plan] RUN: Action CargoFmt
    [2025-09-22T08:44:11Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFmt
    [2025-09-22T08:44:11Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_HOME": "/workspace/deps",
            },
            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-09-22T08:44:12Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-09-22T08:44:12Z DEBUG ambient_ci::plan] RUN: Action CargoClippy
    [2025-09-22T08:44:12Z DEBUG ambient_ci::action] Plan::execute: plan=CargoClippy
    [2025-09-22T08:44:12Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_HOME": "/workspace/deps",
            },
            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 1.31s
    [2025-09-22T08:44:13Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-09-22T08:44:13Z DEBUG ambient_ci::plan] RUN: Action CargoTest
    [2025-09-22T08:44:13Z DEBUG ambient_ci::action] Plan::execute: plan=CargoTest
    [2025-09-22T08:44:13Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_HOME": "/workspace/deps",
            },
            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 2.60s
         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/.tmpCgqvnb/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/.tmpApRzed/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/.tmpmCb8Op/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/.tmpBEyoQs/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/.tmp7XmsmN/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/.tmps1mSOt/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/.tmpYarH3t/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/.tmps6YkLI/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/.tmpcwyDls/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-09-22T08:44:16Z ERROR ambient_ci::plan] ERROR: Action failed: failed to execute cargo
    [2025-09-22T08:44:16Z 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-09-22T08:44:18Z DEBUG ambient_ci::run] remove old cache
[2025-09-22T08:44:19Z DEBUG ambient_ci::run] extract cache
[2025-09-22T08:44:20Z DEBUG ambient_ci::run] Executing post-plan steps
[2025-09-22T08:44:20Z DEBUG ambient_ci::plan] All actions were performed successfully
[2025-09-22T08:44:20Z DEBUG ambient_ci::project] write project state to /home/_rad/ambient-state/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE/meta.yaml
[2025-09-22T08:44:21Z INFO  ambient] ambient ends successfully

Ambient stderr

<empty log>