CI run for rad:zbwass2cGxNYVqU5zR5bUMYATdwW

Radicle repository id rad:zbwass2cGxNYVqU5zR5bUMYATdwW

Table of Contents

Run log

[2025-09-30T10:05:03Z 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   670K  1 disk 
vdd    254:48   0 953.7M  0 disk 
vde    254:64   0  27.9G  0 disk 
vdf    254:80   0 462.4M  1 disk 
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad         0 2025-09-30 10:04 ./
-rw-r--r-- _rad/_rad      1101 2025-09-30 10:04 ./plan.yaml
-rwxr-xr-x _rad/_rad   6365440 2025-09-30 10:04 ./run-ci
INFO: Extracted files:
  3538954      4 drwxr-xr-x   2 1000     1000         4096 Sep 30 10:04 .
  3538950      4 -rw-r--r--   1 1000     1000         1101 Sep 30 10:04 ./plan.yaml
  3538951   6220 -rwxr-xr-x   1 1000     1000      6365440 Sep 30 10:04 ./run-ci
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-09-30T10:04:50Z TRACE ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
[2025-09-30T10:04:50Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
[2025-09-30T10:04:50Z INFO  ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
[2025-09-30T10:04:50Z WARN  ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
[2025-09-30T10:04:50Z 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: shell
  shell: |
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash
- action: cargo_fmt
- action: cargo_clippy
- action: cargo_build
- 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-30T10:04:50Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
        pathname: "/workspace",
    }
[2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
        pathname: "/workspace",
    }
[2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "CARGO_HOME": "/workspace/deps",
        },
        source_dir: "/workspace/src",
    }
[2025-09-30T10:04:50Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-30T10:04:50Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
        pathname: "/workspace/artifacts",
    }
[2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
        pathname: "/workspace/artifacts",
    }
[2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "CARGO_HOME": "/workspace/deps",
        },
        source_dir: "/workspace/src",
    }
[2025-09-30T10:04:50Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-30T10:04:50Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "CARGO_HOME": "/workspace/deps",
        },
        source_dir: "/workspace/src",
    }
[2025-09-30T10:04:50Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-09-30T10:04:50Z TRACE ambient_ci::vdrive] extraction OK
[2025-09-30T10:04:50Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-30T10:04:50Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "CARGO_HOME": "/workspace/deps",
        },
        source_dir: "/workspace/src",
    }
[2025-09-30T10:04:50Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-09-30T10:04:52Z TRACE ambient_ci::vdrive] extraction OK
[2025-09-30T10:04:52Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-30T10:04:52Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-09-30T10:04:52Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-09-30T10:04:52Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "CARGO_HOME": "/workspace/deps",
        },
        source_dir: "/workspace/src",
    }
[2025-09-30T10:04:52Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-09-30T10:04:57Z TRACE ambient_ci::vdrive] extraction OK
[2025-09-30T10:04:57Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-30T10:04:57Z DEBUG ambient_ci::plan] RUN: Action Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
[2025-09-30T10:04:57Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
[2025-09-30T10:04:57Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "CARGO_HOME": "/workspace/deps",
        },
        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 Sep 30 10:04 /workspace
  5242882      4 drwxr-xr-x   2 root     root         4096 Sep 30 10:04 /workspace/artifacts
  5243117      4 drwxr-xr-x   3 root     root         4096 Sep 30 10:02 /workspace/deps
  5243118      4 drwxr-xr-x   5 root     root         4096 Sep 10 13:24 /workspace/deps/registry
  5264384      0 -rw-r--r--   1 root     root            0 Sep 10 13:24 /workspace/deps/.package-cache-mutate
  5264383    108 -rw-r--r--   1 root     root       110592 Sep 30 10:02 /workspace/deps/.global-cache
  5264385      0 -rw-r--r--   1 root     root            0 Sep 10 13:24 /workspace/deps/.package-cache
  5264386      4 drwxr-xr-x   5 root     root         4096 Sep 20 05:48 /workspace/cache
  5294808      4 -rw-r--r--   1 root     root          218 Sep 20 05:48 /workspace/cache/.rustdoc_fingerprint.json
  5264387      4 -rw-r--r--   1 root     root         1038 Sep 30 10:02 /workspace/cache/.rustc_info.json
  5403399      4 drwxr-xr-x   7 root     root         4096 Sep 27 07:33 /workspace/cache/debug
  5264388      4 drwxr-xr-x   7 root     root         4096 Sep 27 07:33 /workspace/cache/release
  5266585      4 drwxr-xr-x 171 root     root         4096 Sep 27 07:33 /workspace/cache/doc
  5242883      4 drwxr-xr-x   8 root     root         4096 Sep 30 10:04 /workspace/src
  5242906      4 drwxr-xr-x   2 root     root         4096 Sep 30 10:04 /workspace/src/.cargo
  5242908      4 drwxr-xr-x   2 root     root         4096 Sep 30 10:04 /workspace/src/.ambient
  5242905      4 -rw-r--r--   1 root     root            8 Sep 30 10:04 /workspace/src/.gitignore
  5242887      4 drwxr-xr-x   3 root     root         4096 Sep 30 10:04 /workspace/src/debian
  5242910      4 drwxr-xr-x   8 root     root         4096 Sep 30 10:04 /workspace/src/.git
  5242886      4 -rw-r--r--   1 root     root          360 Sep 30 10:04 /workspace/src/rad-util.1
  5242903      4 drwxr-xr-x   2 root     root         4096 Sep 30 10:04 /workspace/src/.radicle
  5242901      4 -rw-r--r--   1 root     root          226 Sep 30 10:04 /workspace/src/Cargo.toml
  5242900      4 -rw-r--r--   1 root     root          161 Sep 30 10:04 /workspace/src/Makefile
  5242899      4 -rw-r--r--   1 root     root          129 Sep 30 10:04 /workspace/src/README.md
  5242902     60 -rw-r--r--   1 root     root        60103 Sep 30 10:04 /workspace/src/Cargo.lock
  5242884      4 drwxr-xr-x   2 root     root         4096 Sep 30 10:04 /workspace/src/src
[2025-09-30T10:04:57Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-30T10:04:57Z DEBUG ambient_ci::plan] RUN: Action Shell {
        shell: "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash\n",
    }
[2025-09-30T10:04:57Z DEBUG ambient_ci::action] Plan::execute: plan=Shell {
        shell: "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash\n",
    }
[2025-09-30T10:04:57Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "CARGO_HOME": "/workspace/deps",
        },
        source_dir: "/workspace/src",
    }
SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash\n\n"]
       cwd=/workspace/src (exists? true)
+ bash
+ curl --proto =https --tlsv1.2 -sSf https://sh.rustup.rs
curl: (6) Could not resolve host: sh.rustup.rs
[2025-09-30T10:04:57Z ERROR ambient_ci::plan] ERROR: Action failed: failed to execute /bin/bash
[2025-09-30T10:04:57Z ERROR ambient_ci::plan] caused by: command failed: "/bin/bash": exit code 6
ERROR: failed to execute /bin/bash
caused by: command failed: "/bin/bash": exit code 6
EXIT CODE: 1
[2025-09-30T10:05:03Z INFO  ambient] ambient ends successfully

Trigger message

{
  "request": "trigger",
  "version": 1,
  "event_type": "patch",
  "repository": {
    "id": "rad:zbwass2cGxNYVqU5zR5bUMYATdwW",
    "name": "rad-util",
    "description": "Utility sub-commands for the Radicle rad comman line tool",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
    ]
  },
  "action": "Updated",
  "patch": {
    "id": "26ab0e5c1282671889354d5979667823208e37dc",
    "author": {
      "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
      "alias": "liw"
    },
    "title": "test curlbash in AMbient",
    "state": {
      "status": "open",
      "conflicts": []
    },
    "before": "b9b43452e59d82cc8f6712c7fec68090122126cd",
    "after": "ce974b8cb8609e5ffa69bb3f7b400be4be8e1ac0",
    "commits": [
      "ce974b8cb8609e5ffa69bb3f7b400be4be8e1ac0",
      "dd4ac5c0958b228105a4869f9f6e1e49f99ea180"
    ],
    "target": "b9b43452e59d82cc8f6712c7fec68090122126cd",
    "labels": [],
    "assignees": [],
    "revisions": [
      {
        "id": "26ab0e5c1282671889354d5979667823208e37dc",
        "author": {
          "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
          "alias": "liw"
        },
        "description": "",
        "base": "b9b43452e59d82cc8f6712c7fec68090122126cd",
        "oid": "dd4ac5c0958b228105a4869f9f6e1e49f99ea180",
        "timestamp": 1759226561
      },
      {
        "id": "66d39bd05e43d1805e148463e16f89ceb91eddcf",
        "author": {
          "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
          "alias": "liw"
        },
        "description": "fix",
        "base": "b9b43452e59d82cc8f6712c7fec68090122126cd",
        "oid": "ce974b8cb8609e5ffa69bb3f7b400be4be8e1ac0",
        "timestamp": 1759226679
      }
    ]
  }
}

Ambient stdout

[2025-09-30T10:04:45Z INFO  ambient] ambient starts
[2025-09-30T10:04:45Z 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-30T10:04:45Z 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-30T10:04:45Z 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-30T10:04:45Z DEBUG ambient_ci::project] load project state from /home/_rad/ambient-state/rad:zbwass2cGxNYVqU5zR5bUMYATdwW/meta.yaml
[2025-09-30T10:04:45Z DEBUG ambient_ci::run] latest commit: "dd4ac5c0958b228105a4869f9f6e1e49f99ea180"
[2025-09-30T10:04:45Z DEBUG ambient_ci::run] is a git repository
[2025-09-30T10:04:45Z DEBUG ambient_ci::run] git repository is clean
[2025-09-30T10:04:45Z DEBUG ambient_ci::run] current (HEAD) commit: ce974b8cb8609e5ffa69bb3f7b400be4be8e1ac0
[2025-09-30T10:04:45Z DEBUG ambient_ci::run] no dry run requested
[2025-09-30T10:04:45Z DEBUG ambient_ci::run] forced run requested
[2025-09-30T10:04:45Z DEBUG ambient_ci::run] run? true
[2025-09-30T10:04:45Z INFO  ambient_ci::run] project rad:zbwass2cGxNYVqU5zR5bUMYATdwW: running CI
[2025-09-30T10:04:45Z DEBUG ambient_ci::run] Executing pre-plan steps
[2025-09-30T10:04:45Z DEBUG ambient_ci::plan] RUN: Action CargoFetch {
        sourcedir: "/tmp/.tmpVoh5L2/src",
    }
[2025-09-30T10:04:45Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFetch {
        sourcedir: "/tmp/.tmpVoh5L2/src",
    }
[2025-09-30T10:04:45Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/home/_rad/ambient-state/rad:zbwass2cGxNYVqU5zR5bUMYATdwW/dependencies",
            "PATH": "/root/.cargo/bin:/bin:/home/_rad/.radicle/bin:/home/_rad/.cargo/bin",
            "CARGO_TARGET_DIR": "/home/_rad/ambient-state/rad:zbwass2cGxNYVqU5zR5bUMYATdwW/cache",
        },
        source_dir: "/tmp/.tmpVoh5L2/src",
    }
SPAWN: argv=["cargo", "--version"]
       cwd=/tmp/.tmpVoh5L2/src (exists? true)
cargo 1.90.0 (840b83a10 2025-07-30)
SPAWN: argv=["cargo", "clippy", "--version"]
       cwd=/tmp/.tmpVoh5L2/src (exists? true)
clippy 0.1.90 (1159e78c47 2025-09-14)
SPAWN: argv=["rustc", "--version"]
       cwd=/tmp/.tmpVoh5L2/src (exists? true)
rustc 1.90.0 (1159e78c4 2025-09-14)
SPAWN: argv=["cargo", "fetch"]
       cwd=/tmp/.tmpVoh5L2/src (exists? true)
[2025-09-30T10:04:45Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-09-30T10:04:45Z DEBUG ambient_ci::plan] All actions were performed successfully
[2025-09-30T10:04:45Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpFwqkx2/src.tar
[2025-09-30T10:04:45Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpFwqkx2/deps.tar
[2025-09-30T10:04:46Z DEBUG ambient_ci::run] create_executor_vdrive: executor="/usr/bin/ambient-execute-plan"
[2025-09-30T10:04:46Z DEBUG ambient_ci::run] create_executor_vdrive: plan=RunnablePlan {
        steps: [
            Mkdir {
                pathname: "/workspace",
            },
            Mkdir {
                pathname: "/workspace/artifacts",
            },
            TarExtract {
                archive: "/dev/vdc",
                directory: "/workspace/src",
            },
            TarExtract {
                archive: "/dev/vdf",
                directory: "/workspace/deps",
            },
            TarExtract {
                archive: "/dev/vde",
                directory: "/workspace/cache",
            },
            Spawn {
                argv: [
                    "find",
                    "/workspace",
                    "-maxdepth",
                    "2",
                    "-ls",
                ],
            },
            Shell {
                shell: "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash\n",
            },
            CargoFmt,
            CargoClippy,
            CargoBuild,
            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-30T10:04:46Z DEBUG ambient_ci::run] executor bin /usr/bin/ambient-execute-plan
[2025-09-30T10:04:46Z DEBUG ambient_ci::run] copying /usr/bin/ambient-execute-plan to /home/_rad/tmp/.tmpFwqkx2/ambient-execute-plan/run-ci
[2025-09-30T10:04:46Z DEBUG ambient_ci::run] copy OK: true
[2025-09-30T10:04:46Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpFwqkx2/executor.tar
[2025-09-30T10:04:48Z DEBUG ambient_ci::project] removing run log file /home/_rad/ambient-state/rad:zbwass2cGxNYVqU5zR5bUMYATdwW/run.log
[2025-09-30T10:04:48Z DEBUG ambient_ci::project] statedir is /home/_rad/ambient-state/rad:zbwass2cGxNYVqU5zR5bUMYATdwW, exists? true
[2025-09-30T10:04:48Z DEBUG ambient_ci::project] creating run log file /home/_rad/ambient-state/rad:zbwass2cGxNYVqU5zR5bUMYATdwW/run.log
[2025-09-30T10:04:48Z DEBUG ambient_ci::project] created run log file /home/_rad/ambient-state/rad:zbwass2cGxNYVqU5zR5bUMYATdwW/run.log OK
[2025-09-30T10:04:48Z DEBUG ambient_ci::cloud_init] with_hostname called: "ambient"
[2025-09-30T10:04:48Z DEBUG ambient_ci::cloud_init] with_runcmd called: "echo xyzzy > /dev/ttyS1"
[2025-09-30T10:04:48Z 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-30T10:04:48Z DEBUG ambient_ci::cloud_init] with_runcmd called: "poweroff"
[2025-09-30T10:04:48Z 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-30T10:04:48Z DEBUG ambient_ci::qemu] run QEMU
[2025-09-30T10:04:48Z DEBUG ambient_ci::qemu] create copy-on-write image and UEFI vars file
[2025-09-30T10:04:48Z DEBUG ambient_ci::qemu_utils] qemu-img create /home/_rad/tmp/.tmpBV1BFU/.tmpMsk7ld/vm.qcow2 backing on /home/_rad/ambient.qcow2
[2025-09-30T10:04:48Z DEBUG ambient_ci::qemu] create cloud-init ISO file
[2025-09-30T10:04:48Z 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-30T10:04:48Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpenUudm/meta-data
[2025-09-30T10:04:48Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpenUudm/user-data
[2025-09-30T10:04:48Z DEBUG ambient_ci::qemu] set console log file to /home/_rad/tmp/.tmpBV1BFU/.tmpMsk7ld/console.log
[2025-09-30T10:04:48Z DEBUG ambient_ci::util] create file /home/_rad/tmp/.tmpBV1BFU/.tmpMsk7ld/console.log
[2025-09-30T10:04:48Z DEBUG ambient_ci::qemu] set run file to /home/_rad/ambient-state/rad:zbwass2cGxNYVqU5zR5bUMYATdwW/run.log
[2025-09-30T10:04:48Z DEBUG ambient_ci::util] create file /home/_rad/ambient-state/rad:zbwass2cGxNYVqU5zR5bUMYATdwW/run.log
[2025-09-30T10:04:48Z 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/.tmpBV1BFU/.tmpMsk7ld/console.log",
            "-serial",
            "file:/home/_rad/ambient-state/rad:zbwass2cGxNYVqU5zR5bUMYATdwW/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/.tmpBV1BFU/.tmpMsk7ld/vars.fd",
            "-drive",
            "format=qcow2,if=virtio,file=/home/_rad/tmp/.tmpBV1BFU/.tmpMsk7ld/vm.qcow2",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpFwqkx2/executor.tar,readonly=on",
            "-cdrom",
            "/home/_rad/tmp/.tmpBV1BFU/.tmpMsk7ld/cloud_init.iso",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpFwqkx2/src.tar,readonly=on",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpFwqkx2/artifacts.tar",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpFwqkx2/cache.tar",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmpFwqkx2/deps.tar,readonly=on",
            "-nodefaults",
            "-no-user-config",
        ],
    }
[2025-09-30T10:04:59Z DEBUG ambient_ci::qemu] QEMU finished OK
[2025-09-30T10:04:59Z DEBUG ambient_ci::qemu] run log:
    --------------------==========
    [2025-09-30T10:04:50Z TRACE ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
    [2025-09-30T10:04:50Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
    [2025-09-30T10:04:50Z INFO  ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
    [2025-09-30T10:04:50Z WARN  ambient_execute_plan] ambient-execute-plan version 0.7.0@12daec3 starts
    [2025-09-30T10:04:50Z 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: shell
      shell: |
        curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash
    - action: cargo_fmt
    - action: cargo_clippy
    - action: cargo_build
    - 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-30T10:04:50Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
            pathname: "/workspace",
        }
    [2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
            pathname: "/workspace",
        }
    [2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "CARGO_HOME": "/workspace/deps",
            },
            source_dir: "/workspace/src",
        }
    [2025-09-30T10:04:50Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-09-30T10:04:50Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
            pathname: "/workspace/artifacts",
        }
    [2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
            pathname: "/workspace/artifacts",
        }
    [2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "CARGO_HOME": "/workspace/deps",
            },
            source_dir: "/workspace/src",
        }
    [2025-09-30T10:04:50Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-09-30T10:04:50Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "CARGO_HOME": "/workspace/deps",
            },
            source_dir: "/workspace/src",
        }
    [2025-09-30T10:04:50Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
    [2025-09-30T10:04:50Z TRACE ambient_ci::vdrive] extraction OK
    [2025-09-30T10:04:50Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-09-30T10:04:50Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-09-30T10:04:50Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "CARGO_HOME": "/workspace/deps",
            },
            source_dir: "/workspace/src",
        }
    [2025-09-30T10:04:50Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
    [2025-09-30T10:04:52Z TRACE ambient_ci::vdrive] extraction OK
    [2025-09-30T10:04:52Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-09-30T10:04:52Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-09-30T10:04:52Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-09-30T10:04:52Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "CARGO_HOME": "/workspace/deps",
            },
            source_dir: "/workspace/src",
        }
    [2025-09-30T10:04:52Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
    [2025-09-30T10:04:57Z TRACE ambient_ci::vdrive] extraction OK
    [2025-09-30T10:04:57Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-09-30T10:04:57Z DEBUG ambient_ci::plan] RUN: Action Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    [2025-09-30T10:04:57Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    [2025-09-30T10:04:57Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "CARGO_HOME": "/workspace/deps",
            },
            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 Sep 30 10:04 /workspace
      5242882      4 drwxr-xr-x   2 root     root         4096 Sep 30 10:04 /workspace/artifacts
      5243117      4 drwxr-xr-x   3 root     root         4096 Sep 30 10:02 /workspace/deps
      5243118      4 drwxr-xr-x   5 root     root         4096 Sep 10 13:24 /workspace/deps/registry
      5264384      0 -rw-r--r--   1 root     root            0 Sep 10 13:24 /workspace/deps/.package-cache-mutate
      5264383    108 -rw-r--r--   1 root     root       110592 Sep 30 10:02 /workspace/deps/.global-cache
      5264385      0 -rw-r--r--   1 root     root            0 Sep 10 13:24 /workspace/deps/.package-cache
      5264386      4 drwxr-xr-x   5 root     root         4096 Sep 20 05:48 /workspace/cache
      5294808      4 -rw-r--r--   1 root     root          218 Sep 20 05:48 /workspace/cache/.rustdoc_fingerprint.json
      5264387      4 -rw-r--r--   1 root     root         1038 Sep 30 10:02 /workspace/cache/.rustc_info.json
      5403399      4 drwxr-xr-x   7 root     root         4096 Sep 27 07:33 /workspace/cache/debug
      5264388      4 drwxr-xr-x   7 root     root         4096 Sep 27 07:33 /workspace/cache/release
      5266585      4 drwxr-xr-x 171 root     root         4096 Sep 27 07:33 /workspace/cache/doc
      5242883      4 drwxr-xr-x   8 root     root         4096 Sep 30 10:04 /workspace/src
      5242906      4 drwxr-xr-x   2 root     root         4096 Sep 30 10:04 /workspace/src/.cargo
      5242908      4 drwxr-xr-x   2 root     root         4096 Sep 30 10:04 /workspace/src/.ambient
      5242905      4 -rw-r--r--   1 root     root            8 Sep 30 10:04 /workspace/src/.gitignore
      5242887      4 drwxr-xr-x   3 root     root         4096 Sep 30 10:04 /workspace/src/debian
      5242910      4 drwxr-xr-x   8 root     root         4096 Sep 30 10:04 /workspace/src/.git
      5242886      4 -rw-r--r--   1 root     root          360 Sep 30 10:04 /workspace/src/rad-util.1
      5242903      4 drwxr-xr-x   2 root     root         4096 Sep 30 10:04 /workspace/src/.radicle
      5242901      4 -rw-r--r--   1 root     root          226 Sep 30 10:04 /workspace/src/Cargo.toml
      5242900      4 -rw-r--r--   1 root     root          161 Sep 30 10:04 /workspace/src/Makefile
      5242899      4 -rw-r--r--   1 root     root          129 Sep 30 10:04 /workspace/src/README.md
      5242902     60 -rw-r--r--   1 root     root        60103 Sep 30 10:04 /workspace/src/Cargo.lock
      5242884      4 drwxr-xr-x   2 root     root         4096 Sep 30 10:04 /workspace/src/src
    [2025-09-30T10:04:57Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-09-30T10:04:57Z DEBUG ambient_ci::plan] RUN: Action Shell {
            shell: "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash\n",
        }
    [2025-09-30T10:04:57Z DEBUG ambient_ci::action] Plan::execute: plan=Shell {
            shell: "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash\n",
        }
    [2025-09-30T10:04:57Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "CARGO_HOME": "/workspace/deps",
            },
            source_dir: "/workspace/src",
        }
    SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash\n\n"]
           cwd=/workspace/src (exists? true)
    + bash
    + curl --proto =https --tlsv1.2 -sSf https://sh.rustup.rs
    curl: (6) Could not resolve host: sh.rustup.rs
    [2025-09-30T10:04:57Z ERROR ambient_ci::plan] ERROR: Action failed: failed to execute /bin/bash
    [2025-09-30T10:04:57Z ERROR ambient_ci::plan] caused by: command failed: "/bin/bash": exit code 6
    ERROR: failed to execute /bin/bash
    caused by: command failed: "/bin/bash": exit code 6
    EXIT CODE: 1
    
    ====================
[2025-09-30T10:05:00Z DEBUG ambient_ci::run] remove old cache
[2025-09-30T10:05:00Z DEBUG ambient_ci::run] extract cache
[2025-09-30T10:05:03Z DEBUG ambient_ci::run] Executing post-plan steps
[2025-09-30T10:05:03Z DEBUG ambient_ci::plan] All actions were performed successfully
[2025-09-30T10:05:03Z DEBUG ambient_ci::project] write project state to /home/_rad/ambient-state/rad:zbwass2cGxNYVqU5zR5bUMYATdwW/meta.yaml
[2025-09-30T10:05:03Z INFO  ambient] ambient ends successfully

Ambient stderr

<empty log>