CI run for list-radicle-repositories

Radicle repository id rad:z32ecHAK61RX4tzP8BLpfZTHcMnm3

Table of Contents

Run log

[2025-08-08T09:15:36Z INFO  ambient] ambient starts
[=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   2.8M  1 disk 
vdc    254:32   0   360K  1 disk 
vdd    254:48   0   9.3G  0 disk 
vde    254:64   0  46.6G  0 disk 
vdf    254:80   0 225.7M  1 disk 
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad         0 2025-08-08 09:14 ./
-rw-r--r-- _rad/_rad       818 2025-08-08 09:14 ./plan.yaml
-rwxr-xr-x _rad/_rad   2949784 2025-08-08 09:14 ./run-ci
INFO: Extracted files:
  1477811      4 drwxr-xr-x   2 1001     1001         4096 Aug  8 09:14 .
  1477882      4 -rw-r--r--   1 1001     1001          818 Aug  8 09:14 ./plan.yaml
  1477883   2884 -rwxr-xr-x   1 1001     1001      2949784 Aug  8 09:14 ./run-ci
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-08-08T09:14:32Z TRACE ambient_execute_plan] ambient-execute-plan starts
[2025-08-08T09:14:32Z DEBUG ambient_execute_plan] ambient-execute-plan starts
[2025-08-08T09:14:32Z INFO  ambient_execute_plan] ambient-execute-plan starts
[2025-08-08T09:14:32Z WARN  ambient_execute_plan] ambient-execute-plan starts
[2025-08-08T09:14:32Z ERROR ambient_execute_plan] ambient-execute-plan starts
RunnablePlan::from_file: filename=plan.yaml
steps:
- action: mkdir
  pathname: /workspace
- action: mkdir
  pathname: /workspace/artifacts
- action: tar_extract
  archive: /dev/vdc
  directory: /workspace/src
- action: tar_extract
  archive: /dev/vdf
  directory: /workspace/deps
- action: tar_extract
  archive: /dev/vde
  directory: /workspace/cache
- action: spawn
  argv:
  - find
  - /workspace
  - '-maxdepth'
  - '2'
  - '-ls'
- action: cargo_clippy
- action: tar_create
  archive: /dev/vde
  directory: /workspace/cache
- action: tar_create
  archive: /dev/vdd
  directory: /workspace/artifacts
executor_drive: /dev/vdb
source_drive: /dev/vdc
artifact_drive: /dev/vdd
cache_drive: /dev/vde
deps_drive: /dev/vdf
workspace_dir: /workspace
source_dir: /workspace/src
deps_dir: /workspace/deps
cache_dir: /workspace/cache
artifacts_dir: /workspace/artifacts


RUN: Action Mkdir {
    pathname: "/workspace",
}
[2025-08-08T09:14:32Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
        pathname: "/workspace",
    }
RUN: Action finished OK
RUN: Action Mkdir {
    pathname: "/workspace/artifacts",
}
[2025-08-08T09:14:32Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
        pathname: "/workspace/artifacts",
    }
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vdc",
    directory: "/workspace/src",
}
[2025-08-08T09:14:32Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-08-08T09:14:32Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-08-08T09:14:32Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vdf",
    directory: "/workspace/deps",
}
[2025-08-08T09:14:32Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-08-08T09:14:32Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-08-08T09:14:33Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vde",
    directory: "/workspace/cache",
}
[2025-08-08T09:14:33Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-08-08T09:14:33Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-08-08T09:14:33Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action Spawn {
    argv: [
        "find",
        "/workspace",
        "-maxdepth",
        "2",
        "-ls",
    ],
}
[2025-08-08T09:14:33Z DEBUG ambient_ci::action] Plan::execute: Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
       cwd=/workspace/src (exists? true)
       extra_env=[]
  3932161      4 drwxr-xr-x   6 root     root         4096 Aug  8 09:14 /workspace
  3932162      4 drwxr-xr-x   2 root     root         4096 Aug  8 09:14 /workspace/artifacts
  3932476      4 drwxr-xr-x   3 root     root         4096 Aug  8 09:14 /workspace/deps
  3932478     88 -rw-r--r--   1 root     root        90112 Aug  8 09:14 /workspace/deps/.global-cache
  3932477      0 -rw-r--r--   1 root     root            0 Jun 28 03:40 /workspace/deps/.package-cache-mutate
  3932479      0 -rw-r--r--   1 root     root            0 Jun  7 10:48 /workspace/deps/.package-cache
  3932480      4 drwxr-xr-x   5 root     root         4096 Jun  7 10:48 /workspace/deps/registry
  3932163      4 drwxr-xr-x   5 root     root         4096 Aug  8 09:14 /workspace/src
  3932164      4 drwxr-xr-x   2 root     root         4096 Aug  8 09:14 /workspace/src/.radicle
  3932475     44 -rw-r--r--   1 root     root        43897 Aug  8 09:14 /workspace/src/Cargo.lock
  3932169      4 -rw-r--r--   1 root     root          399 Aug  8 09:14 /workspace/src/Cargo.toml
  3932168      4 -rw-r--r--   1 root     root            8 Aug  8 09:14 /workspace/src/.gitignore
  3932170      4 drwxr-xr-x   8 root     root         4096 Aug  8 09:14 /workspace/src/.git
  3932166      4 drwxr-xr-x   2 root     root         4096 Aug  8 09:14 /workspace/src/src
  3945105      4 drwxr-xr-x   3 root     root         4096 Jun  7 10:49 /workspace/cache
  3945106      4 drwxr-xr-x   7 root     root         4096 Jun  7 10:49 /workspace/cache/debug
  3947311      4 -rw-r--r--   1 root     root         1033 Aug  5 12:40 /workspace/cache/.rustc_info.json
RUN: Action finished OK
RUN: Action CargoClippy
[2025-08-08T09:14:33Z DEBUG ambient_ci::action] Plan::execute: CargoClippy
SPAWN: argv=["cargo", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"]
       cwd=/workspace/src (exists? true)
       extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")]
   Compiling proc-macro2 v1.0.94
   Compiling unicode-ident v1.0.18
   Compiling libc v0.2.170
    Checking stable_deref_trait v1.2.0
    Checking pin-project-lite v0.2.16
    Checking bytes v1.10.1
   Compiling shlex v1.3.0
    Checking itoa v1.0.15
   Compiling autocfg v1.4.0
    Checking futures-core v0.3.31
   Compiling cc v1.2.16
   Compiling slab v0.4.9
    Checking futures-sink v0.3.31
   Compiling quote v1.0.39
   Compiling syn v2.0.99
    Checking once_cell v1.20.3
   Compiling pkg-config v0.3.32
   Compiling vcpkg v0.2.15
    Checking mio v1.0.3
   Compiling openssl-sys v0.9.106
    Checking socket2 v0.5.8
    Checking writeable v0.5.5
    Checking litemap v0.7.5
    Checking tokio v1.43.0
    Checking memchr v2.7.4
    Checking fnv v1.0.7
    Checking smallvec v1.14.0
    Checking http v1.2.0
    Checking futures-task v0.3.31
    Checking icu_locid_transform_data v1.5.0
    Checking futures-io v0.3.31
    Checking pin-utils v0.1.0
    Checking futures-util v0.3.31
    Checking tracing-core v0.1.33
    Checking cfg-if v1.0.0
   Compiling openssl v0.10.71
   Compiling synstructure v0.13.1
   Compiling zerovec-derive v0.10.3
   Compiling displaydoc v0.2.5
   Compiling icu_provider_macros v1.5.0
   Compiling zerofrom-derive v0.1.6
   Compiling yoke-derive v0.7.5
   Compiling httparse v1.10.1
    Checking hashbrown v0.15.2
    Checking foreign-types-shared v0.1.1
    Checking equivalent v1.0.2
    Checking icu_properties_data v1.5.0
    Checking foreign-types v0.3.2
    Checking tokio-util v0.7.13
    Checking zerofrom v0.1.6
   Compiling openssl-macros v0.1.1
    Checking indexmap v2.7.1
    Checking tracing v0.1.41
    Checking http-body v1.0.1
    Checking yoke v0.7.5
    Checking icu_normalizer_data v1.5.0
    Checking write16 v1.0.0
   Compiling serde v1.0.218
    Checking zerovec v0.10.4
    Checking utf16_iter v1.0.5
    Checking atomic-waker v1.1.2
    Checking try-lock v0.2.5
    Checking bitflags v2.9.0
   Compiling native-tls v0.2.14
    Checking utf8_iter v1.0.4
    Checking want v0.3.1
    Checking h2 v0.4.8
   Compiling serde_derive v1.0.218
    Checking tinystr v0.7.6
    Checking icu_locid v1.5.0
    Checking icu_provider v1.5.0
    Checking icu_locid_transform v1.5.0
    Checking icu_collections v1.5.0
    Checking futures-channel v0.3.31
    Checking icu_properties v1.5.1
    Checking log v0.4.26
    Checking tower-service v0.3.3
    Checking percent-encoding v2.3.1
    Checking utf8parse v0.2.2
    Checking openssl-probe v0.1.6
    Checking anstyle-parse v0.2.6
    Checking form_urlencoded v1.2.1
    Checking hyper v1.6.0
    Checking is_terminal_polyfill v1.70.1
    Checking anstyle-query v1.1.2
    Checking ryu v1.0.20
    Checking colorchoice v1.0.3
   Compiling serde_json v1.0.140
    Checking anstyle v1.0.10
    Checking anstream v0.6.18
    Checking tokio-native-tls v0.3.1
    Checking hyper-util v0.1.10
    Checking http-body-util v0.1.2
    Checking sync_wrapper v1.0.2
   Compiling anyhow v1.0.97
    Checking powerfmt v0.2.0
    Checking tower-layer v0.3.3
    Checking icu_normalizer v1.5.0
    Checking strsim v0.11.1
   Compiling heck v0.5.0
   Compiling time-core v0.1.3
    Checking clap_lex v0.7.4
   Compiling num-conv v0.1.0
    Checking utf8-width v0.1.7
    Checking rustls-pki-types v1.11.0
    Checking idna_adapter v1.2.0
   Compiling time-macros v0.2.20
    Checking idna v1.0.3
    Checking rustls-pemfile v2.2.0
    Checking url v2.5.4
    Checking html-escape v0.2.13
    Checking clap_builder v4.5.31
   Compiling clap_derive v4.5.28
    Checking serde_urlencoded v0.7.1
    Checking hyper-tls v0.6.0
    Checking tower v0.5.2
    Checking deranged v0.3.11
    Checking encoding_rs v0.8.35
    Checking base64 v0.22.1
    Checking mime v0.3.17
    Checking ipnet v2.11.0
    Checking time v0.3.39
    Checking clap v4.5.31
    Checking html-page v0.4.0
    Checking reqwest v0.12.12
    Checking list-radicle-repositories v0.1.0 (/workspace/src)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.31s
RUN: Action finished OK
RUN: Action TarCreate {
    archive: "/dev/vde",
    directory: "/workspace/cache",
}
[2025-08-08T09:15:30Z DEBUG ambient_ci::action] Plan::execute: TarCreate {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-08-08T09:15:30Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
        filename: Some(
            "/dev/vde",
        ),
        root: Some(
            "/workspace/cache",
        ),
        size: None,
    }
[2025-08-08T09:15:30Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vde; exists? true
[2025-08-08T09:15:30Z TRACE ambient_ci::vdrive] create archive file /dev/vde
[2025-08-08T09:15:30Z TRACE ambient_ci::vdrive] directory /workspace/cache exists? true
[2025-08-08T09:15:30Z TRACE ambient_ci::vdrive] add contents of /workspace/cache as .
[2025-08-08T09:15:31Z TRACE ambient_ci::vdrive] created virtual drive /dev/vde
RUN: Action finished OK
RUN: Action TarCreate {
    archive: "/dev/vdd",
    directory: "/workspace/artifacts",
}
[2025-08-08T09:15:31Z DEBUG ambient_ci::action] Plan::execute: TarCreate {
        archive: "/dev/vdd",
        directory: "/workspace/artifacts",
    }
[2025-08-08T09:15:31Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
        filename: Some(
            "/dev/vdd",
        ),
        root: Some(
            "/workspace/artifacts",
        ),
        size: None,
    }
[2025-08-08T09:15:31Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vdd; exists? true
[2025-08-08T09:15:31Z TRACE ambient_ci::vdrive] create archive file /dev/vdd
[2025-08-08T09:15:31Z TRACE ambient_ci::vdrive] directory /workspace/artifacts exists? true
[2025-08-08T09:15:31Z TRACE ambient_ci::vdrive] add contents of /workspace/artifacts as .
[2025-08-08T09:15:31Z TRACE ambient_ci::vdrive] created virtual drive /dev/vdd
RUN: Action finished OK
ambient-execute-plan ends
EXIT CODE: 0
[2025-08-08T09:15:36Z INFO  ambient] ambient ends successfully

Trigger message

{
  "request": "trigger",
  "version": 1,
  "event_type": "push",
  "repository": {
    "id": "rad:z32ecHAK61RX4tzP8BLpfZTHcMnm3",
    "name": "list-radicle-repositories",
    "description": "List Radicle repositories on my Radicle node",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
    ]
  },
  "pusher": {
    "id": "did:key:z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8",
    "alias": "ci0"
  },
  "before": "8507e0dc9a71ff0654a07fe5b4a94c17e82f363b",
  "after": "8507e0dc9a71ff0654a07fe5b4a94c17e82f363b",
  "branch": "main",
  "commits": [
    "8507e0dc9a71ff0654a07fe5b4a94c17e82f363b"
  ]
}

Ambient stdout

[2025-08-08T09:14:04Z INFO  ambient] ambient starts
[2025-08-08T09:14:04Z DEBUG ambient] load default configuration file /home/_rad/.config/ambient/config.yaml if it exists
[2025-08-08T09:14:04Z DEBUG ambient] load files named with --config: /tmp/.tmpUt9V2H/ambient_extra_values.yaml
[2025-08-08T09:14:04Z DEBUG ambient] complete configuration: Config {
        tmpdir: "/srv/tmp",
        image_store: "/home/_rad/.local/state/ambient-ci/images",
        projects: "/home/_rad/ambient-projects.yaml",
        state: "/srv/ambient-state",
        rsync_target: None,
        rsync_target_base: Some(
            "ci@http.liw.fi:/srv/http",
        ),
        rsync_target_map: None,
        dput_target: Some(
            "apt.liw.fi",
        ),
        executor: Some(
            "/usr/bin/ambient-execute-plan",
        ),
        artifacts_max_size: Byte(
            10000000000,
        ),
        cache_max_size: Byte(
            50000000000,
        ),
        qemu: QemuConfig {
            cpus: 4,
            memory: Byte(
                8000000000,
            ),
            kvm_binary: "/usr/bin/kvm",
            ovmf_vars_file: "/usr/share/ovmf/OVMF.fd",
            ovmf_code_file: "/usr/share/ovmf/OVMF.fd",
        },
    }
[2025-08-08T09:14:04Z DEBUG ambient] configuration: Config {
        tmpdir: "/srv/tmp",
        image_store: "/home/_rad/.local/state/ambient-ci/images",
        projects: "/home/_rad/ambient-projects.yaml",
        state: "/srv/ambient-state",
        rsync_target: None,
        rsync_target_base: Some(
            "ci@http.liw.fi:/srv/http",
        ),
        rsync_target_map: None,
        dput_target: Some(
            "apt.liw.fi",
        ),
        executor: Some(
            "/usr/bin/ambient-execute-plan",
        ),
        artifacts_max_size: Byte(
            10000000000,
        ),
        cache_max_size: Byte(
            50000000000,
        ),
        qemu: QemuConfig {
            cpus: 4,
            memory: Byte(
                8000000000,
            ),
            kvm_binary: "/usr/bin/kvm",
            ovmf_vars_file: "/usr/share/ovmf/OVMF.fd",
            ovmf_code_file: "/usr/share/ovmf/OVMF.fd",
        },
    }
[2025-08-08T09:14:04Z DEBUG ambient_ci::project] load project state from /srv/ambient-state/list-radicle-repositories/meta.yaml
[2025-08-08T09:14:04Z DEBUG ambient_ci::run] latest commit: "8507e0dc9a71ff0654a07fe5b4a94c17e82f363b"
[2025-08-08T09:14:04Z DEBUG ambient_ci::run] is a git repository
[2025-08-08T09:14:04Z DEBUG ambient_ci::run] git repository is clean
[2025-08-08T09:14:04Z DEBUG ambient_ci::run] current (HEAD) commit: 8507e0dc9a71ff0654a07fe5b4a94c17e82f363b
[2025-08-08T09:14:04Z DEBUG ambient_ci::run] no dry run requested
[2025-08-08T09:14:04Z DEBUG ambient_ci::run] forced run requested
[2025-08-08T09:14:04Z DEBUG ambient_ci::run] run? true
[2025-08-08T09:14:04Z INFO  ambient_ci::run] project list-radicle-repositories: running CI
[2025-08-08T09:14:04Z DEBUG ambient_ci::run] Executing pre-plan steps
[2025-08-08T09:14:04Z DEBUG ambient_ci::action] Plan::execute: CargoFetch {
        sourcedir: "/tmp/.tmprQqKzZ/src",
        dependenciesdir: "/srv/ambient-state/list-radicle-repositories/dependencies",
    }
SPAWN: argv=["env", "CARGO_HOME=/srv/ambient-state/list-radicle-repositories/dependencies", "cargo", "fetch", "--locked"]
       cwd=/tmp/.tmprQqKzZ/src (exists? true)
       extra_env=[]
[2025-08-08T09:14:05Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmpsZTfJv/src.tar
[2025-08-08T09:14:05Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmpsZTfJv/deps.tar
[2025-08-08T09:14:12Z DEBUG ambient_ci::run] create_executor_vdrive: executor="/usr/bin/ambient-execute-plan"
[2025-08-08T09:14:12Z 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",
                ],
            },
            CargoClippy,
            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-08-08T09:14:12Z DEBUG ambient_ci::run] executor bin /usr/bin/ambient-execute-plan
[2025-08-08T09:14:12Z DEBUG ambient_ci::run] copying /usr/bin/ambient-execute-plan to /srv/tmp/.tmpsZTfJv/ambient-execute-plan/run-ci
[2025-08-08T09:14:12Z DEBUG ambient_ci::run] copy OK: true
[2025-08-08T09:14:12Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmpsZTfJv/executor.tar
[2025-08-08T09:14:22Z DEBUG ambient_ci::project] removing run log file /srv/ambient-state/list-radicle-repositories/run.log
[2025-08-08T09:14:22Z DEBUG ambient_ci::project] statedir is /srv/ambient-state/list-radicle-repositories, exists? true
[2025-08-08T09:14:22Z DEBUG ambient_ci::project] creating run log file /srv/ambient-state/list-radicle-repositories/run.log
[2025-08-08T09:14:22Z DEBUG ambient_ci::project] created run log file /srv/ambient-state/list-radicle-repositories/run.log OK
[2025-08-08T09:14:22Z DEBUG ambient_ci::cloud_init] with_hostname called: "ambient"
[2025-08-08T09:14:22Z DEBUG ambient_ci::cloud_init] with_runcmd called: "echo xyzzy > /dev/ttyS1"
[2025-08-08T09:14:22Z 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-08-08T09:14:22Z DEBUG ambient_ci::cloud_init] with_runcmd called: "poweroff"
[2025-08-08T09:14:22Z 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-08-08T09:14:22Z DEBUG ambient_ci::qemu] run QEMU
[2025-08-08T09:14:22Z DEBUG ambient_ci::qemu] create copy-on-write image and UEFI vars file
[2025-08-08T09:14:22Z DEBUG ambient_ci::qemu_utils] qemu-img create /srv/tmp/.tmpLLV7Yl/.tmpRna9EB/vm.qcow2 backing on /home/_rad/ambient.qcow2
[2025-08-08T09:14:23Z DEBUG ambient_ci::qemu] create cloud-init ISO file
[2025-08-08T09:14:23Z 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-08-08T09:14:23Z DEBUG ambient_ci::cloud_init] write /tmp/.tmp4XWtBl/meta-data
[2025-08-08T09:14:23Z DEBUG ambient_ci::cloud_init] write /tmp/.tmp4XWtBl/user-data
[2025-08-08T09:14:23Z DEBUG ambient_ci::qemu] set console log file to /srv/tmp/.tmpLLV7Yl/.tmpRna9EB/console.log
[2025-08-08T09:14:23Z DEBUG ambient_ci::util] create file /srv/tmp/.tmpLLV7Yl/.tmpRna9EB/console.log
[2025-08-08T09:14:23Z DEBUG ambient_ci::qemu] set run file to /srv/ambient-state/list-radicle-repositories/run.log
[2025-08-08T09:14:23Z DEBUG ambient_ci::util] create file /srv/ambient-state/list-radicle-repositories/run.log
[2025-08-08T09:14:23Z DEBUG ambient_ci::qemu] run QEMU: QemuArgs {
        args: [
            "-m",
            "7629",
            "-smp",
            "cpus=4",
            "-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:/srv/tmp/.tmpLLV7Yl/.tmpRna9EB/console.log",
            "-serial",
            "file:/srv/ambient-state/list-radicle-repositories/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=/srv/tmp/.tmpLLV7Yl/.tmpRna9EB/vars.fd",
            "-drive",
            "format=qcow2,if=virtio,file=/srv/tmp/.tmpLLV7Yl/.tmpRna9EB/vm.qcow2",
            "-drive",
            "format=raw,if=virtio,file=/srv/tmp/.tmpsZTfJv/executor.tar,readonly=on",
            "-cdrom",
            "/srv/tmp/.tmpLLV7Yl/.tmpRna9EB/cloud_init.iso",
            "-drive",
            "format=raw,if=virtio,file=/srv/tmp/.tmpsZTfJv/src.tar,readonly=on",
            "-drive",
            "format=raw,if=virtio,file=/srv/tmp/.tmpsZTfJv/artifacts.tar",
            "-drive",
            "format=raw,if=virtio,file=/srv/tmp/.tmpsZTfJv/cache.tar",
            "-drive",
            "format=raw,if=virtio,file=/srv/tmp/.tmpsZTfJv/deps.tar,readonly=on",
            "-nodefaults",
            "-no-user-config",
        ],
    }
[2025-08-08T09:15:35Z DEBUG ambient_ci::qemu] QEMU finished OK
[2025-08-08T09:15:35Z DEBUG ambient_ci::qemu] run log:
    --------------------==========
    [2025-08-08T09:14:32Z TRACE ambient_execute_plan] ambient-execute-plan starts
    [2025-08-08T09:14:32Z DEBUG ambient_execute_plan] ambient-execute-plan starts
    [2025-08-08T09:14:32Z INFO  ambient_execute_plan] ambient-execute-plan starts
    [2025-08-08T09:14:32Z WARN  ambient_execute_plan] ambient-execute-plan starts
    [2025-08-08T09:14:32Z ERROR ambient_execute_plan] ambient-execute-plan starts
    RunnablePlan::from_file: filename=plan.yaml
    steps:
    - action: mkdir
      pathname: /workspace
    - action: mkdir
      pathname: /workspace/artifacts
    - action: tar_extract
      archive: /dev/vdc
      directory: /workspace/src
    - action: tar_extract
      archive: /dev/vdf
      directory: /workspace/deps
    - action: tar_extract
      archive: /dev/vde
      directory: /workspace/cache
    - action: spawn
      argv:
      - find
      - /workspace
      - '-maxdepth'
      - '2'
      - '-ls'
    - action: cargo_clippy
    - action: tar_create
      archive: /dev/vde
      directory: /workspace/cache
    - action: tar_create
      archive: /dev/vdd
      directory: /workspace/artifacts
    executor_drive: /dev/vdb
    source_drive: /dev/vdc
    artifact_drive: /dev/vdd
    cache_drive: /dev/vde
    deps_drive: /dev/vdf
    workspace_dir: /workspace
    source_dir: /workspace/src
    deps_dir: /workspace/deps
    cache_dir: /workspace/cache
    artifacts_dir: /workspace/artifacts
    
    
    RUN: Action Mkdir {
        pathname: "/workspace",
    }
    [2025-08-08T09:14:32Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
            pathname: "/workspace",
        }
    RUN: Action finished OK
    RUN: Action Mkdir {
        pathname: "/workspace/artifacts",
    }
    [2025-08-08T09:14:32Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
            pathname: "/workspace/artifacts",
        }
    RUN: Action finished OK
    RUN: Action TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
    [2025-08-08T09:14:32Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-08-08T09:14:32Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
    [2025-08-08T09:14:32Z TRACE ambient_ci::vdrive] extraction OK
    RUN: Action finished OK
    RUN: Action TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
    [2025-08-08T09:14:32Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-08-08T09:14:32Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
    [2025-08-08T09:14:33Z TRACE ambient_ci::vdrive] extraction OK
    RUN: Action finished OK
    RUN: Action TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
    [2025-08-08T09:14:33Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-08-08T09:14:33Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
    [2025-08-08T09:14:33Z TRACE ambient_ci::vdrive] extraction OK
    RUN: Action finished OK
    RUN: Action Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
    [2025-08-08T09:14:33Z DEBUG ambient_ci::action] Plan::execute: Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
           cwd=/workspace/src (exists? true)
           extra_env=[]
      3932161      4 drwxr-xr-x   6 root     root         4096 Aug  8 09:14 /workspace
      3932162      4 drwxr-xr-x   2 root     root         4096 Aug  8 09:14 /workspace/artifacts
      3932476      4 drwxr-xr-x   3 root     root         4096 Aug  8 09:14 /workspace/deps
      3932478     88 -rw-r--r--   1 root     root        90112 Aug  8 09:14 /workspace/deps/.global-cache
      3932477      0 -rw-r--r--   1 root     root            0 Jun 28 03:40 /workspace/deps/.package-cache-mutate
      3932479      0 -rw-r--r--   1 root     root            0 Jun  7 10:48 /workspace/deps/.package-cache
      3932480      4 drwxr-xr-x   5 root     root         4096 Jun  7 10:48 /workspace/deps/registry
      3932163      4 drwxr-xr-x   5 root     root         4096 Aug  8 09:14 /workspace/src
      3932164      4 drwxr-xr-x   2 root     root         4096 Aug  8 09:14 /workspace/src/.radicle
      3932475     44 -rw-r--r--   1 root     root        43897 Aug  8 09:14 /workspace/src/Cargo.lock
      3932169      4 -rw-r--r--   1 root     root          399 Aug  8 09:14 /workspace/src/Cargo.toml
      3932168      4 -rw-r--r--   1 root     root            8 Aug  8 09:14 /workspace/src/.gitignore
      3932170      4 drwxr-xr-x   8 root     root         4096 Aug  8 09:14 /workspace/src/.git
      3932166      4 drwxr-xr-x   2 root     root         4096 Aug  8 09:14 /workspace/src/src
      3945105      4 drwxr-xr-x   3 root     root         4096 Jun  7 10:49 /workspace/cache
      3945106      4 drwxr-xr-x   7 root     root         4096 Jun  7 10:49 /workspace/cache/debug
      3947311      4 -rw-r--r--   1 root     root         1033 Aug  5 12:40 /workspace/cache/.rustc_info.json
    RUN: Action finished OK
    RUN: Action CargoClippy
    [2025-08-08T09:14:33Z DEBUG ambient_ci::action] Plan::execute: CargoClippy
    SPAWN: argv=["cargo", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"]
           cwd=/workspace/src (exists? true)
           extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")]
       Compiling proc-macro2 v1.0.94
       Compiling unicode-ident v1.0.18
       Compiling libc v0.2.170
        Checking stable_deref_trait v1.2.0
        Checking pin-project-lite v0.2.16
        Checking bytes v1.10.1
       Compiling shlex v1.3.0
        Checking itoa v1.0.15
       Compiling autocfg v1.4.0
        Checking futures-core v0.3.31
       Compiling cc v1.2.16
       Compiling slab v0.4.9
        Checking futures-sink v0.3.31
       Compiling quote v1.0.39
       Compiling syn v2.0.99
        Checking once_cell v1.20.3
       Compiling pkg-config v0.3.32
       Compiling vcpkg v0.2.15
        Checking mio v1.0.3
       Compiling openssl-sys v0.9.106
        Checking socket2 v0.5.8
        Checking writeable v0.5.5
        Checking litemap v0.7.5
        Checking tokio v1.43.0
        Checking memchr v2.7.4
        Checking fnv v1.0.7
        Checking smallvec v1.14.0
        Checking http v1.2.0
        Checking futures-task v0.3.31
        Checking icu_locid_transform_data v1.5.0
        Checking futures-io v0.3.31
        Checking pin-utils v0.1.0
        Checking futures-util v0.3.31
        Checking tracing-core v0.1.33
        Checking cfg-if v1.0.0
       Compiling openssl v0.10.71
       Compiling synstructure v0.13.1
       Compiling zerovec-derive v0.10.3
       Compiling displaydoc v0.2.5
       Compiling icu_provider_macros v1.5.0
       Compiling zerofrom-derive v0.1.6
       Compiling yoke-derive v0.7.5
       Compiling httparse v1.10.1
        Checking hashbrown v0.15.2
        Checking foreign-types-shared v0.1.1
        Checking equivalent v1.0.2
        Checking icu_properties_data v1.5.0
        Checking foreign-types v0.3.2
        Checking tokio-util v0.7.13
        Checking zerofrom v0.1.6
       Compiling openssl-macros v0.1.1
        Checking indexmap v2.7.1
        Checking tracing v0.1.41
        Checking http-body v1.0.1
        Checking yoke v0.7.5
        Checking icu_normalizer_data v1.5.0
        Checking write16 v1.0.0
       Compiling serde v1.0.218
        Checking zerovec v0.10.4
        Checking utf16_iter v1.0.5
        Checking atomic-waker v1.1.2
        Checking try-lock v0.2.5
        Checking bitflags v2.9.0
       Compiling native-tls v0.2.14
        Checking utf8_iter v1.0.4
        Checking want v0.3.1
        Checking h2 v0.4.8
       Compiling serde_derive v1.0.218
        Checking tinystr v0.7.6
        Checking icu_locid v1.5.0
        Checking icu_provider v1.5.0
        Checking icu_locid_transform v1.5.0
        Checking icu_collections v1.5.0
        Checking futures-channel v0.3.31
        Checking icu_properties v1.5.1
        Checking log v0.4.26
        Checking tower-service v0.3.3
        Checking percent-encoding v2.3.1
        Checking utf8parse v0.2.2
        Checking openssl-probe v0.1.6
        Checking anstyle-parse v0.2.6
        Checking form_urlencoded v1.2.1
        Checking hyper v1.6.0
        Checking is_terminal_polyfill v1.70.1
        Checking anstyle-query v1.1.2
        Checking ryu v1.0.20
        Checking colorchoice v1.0.3
       Compiling serde_json v1.0.140
        Checking anstyle v1.0.10
        Checking anstream v0.6.18
        Checking tokio-native-tls v0.3.1
        Checking hyper-util v0.1.10
        Checking http-body-util v0.1.2
        Checking sync_wrapper v1.0.2
       Compiling anyhow v1.0.97
        Checking powerfmt v0.2.0
        Checking tower-layer v0.3.3
        Checking icu_normalizer v1.5.0
        Checking strsim v0.11.1
       Compiling heck v0.5.0
       Compiling time-core v0.1.3
        Checking clap_lex v0.7.4
       Compiling num-conv v0.1.0
        Checking utf8-width v0.1.7
        Checking rustls-pki-types v1.11.0
        Checking idna_adapter v1.2.0
       Compiling time-macros v0.2.20
        Checking idna v1.0.3
        Checking rustls-pemfile v2.2.0
        Checking url v2.5.4
        Checking html-escape v0.2.13
        Checking clap_builder v4.5.31
       Compiling clap_derive v4.5.28
        Checking serde_urlencoded v0.7.1
        Checking hyper-tls v0.6.0
        Checking tower v0.5.2
        Checking deranged v0.3.11
        Checking encoding_rs v0.8.35
        Checking base64 v0.22.1
        Checking mime v0.3.17
        Checking ipnet v2.11.0
        Checking time v0.3.39
        Checking clap v4.5.31
        Checking html-page v0.4.0
        Checking reqwest v0.12.12
        Checking list-radicle-repositories v0.1.0 (/workspace/src)
        Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.31s
    RUN: Action finished OK
    RUN: Action TarCreate {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
    [2025-08-08T09:15:30Z DEBUG ambient_ci::action] Plan::execute: TarCreate {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-08-08T09:15:30Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
            filename: Some(
                "/dev/vde",
            ),
            root: Some(
                "/workspace/cache",
            ),
            size: None,
        }
    [2025-08-08T09:15:30Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vde; exists? true
    [2025-08-08T09:15:30Z TRACE ambient_ci::vdrive] create archive file /dev/vde
    [2025-08-08T09:15:30Z TRACE ambient_ci::vdrive] directory /workspace/cache exists? true
    [2025-08-08T09:15:30Z TRACE ambient_ci::vdrive] add contents of /workspace/cache as .
    [2025-08-08T09:15:31Z TRACE ambient_ci::vdrive] created virtual drive /dev/vde
    RUN: Action finished OK
    RUN: Action TarCreate {
        archive: "/dev/vdd",
        directory: "/workspace/artifacts",
    }
    [2025-08-08T09:15:31Z DEBUG ambient_ci::action] Plan::execute: TarCreate {
            archive: "/dev/vdd",
            directory: "/workspace/artifacts",
        }
    [2025-08-08T09:15:31Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
            filename: Some(
                "/dev/vdd",
            ),
            root: Some(
                "/workspace/artifacts",
            ),
            size: None,
        }
    [2025-08-08T09:15:31Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vdd; exists? true
    [2025-08-08T09:15:31Z TRACE ambient_ci::vdrive] create archive file /dev/vdd
    [2025-08-08T09:15:31Z TRACE ambient_ci::vdrive] directory /workspace/artifacts exists? true
    [2025-08-08T09:15:31Z TRACE ambient_ci::vdrive] add contents of /workspace/artifacts as .
    [2025-08-08T09:15:31Z TRACE ambient_ci::vdrive] created virtual drive /dev/vdd
    RUN: Action finished OK
    ambient-execute-plan ends
    EXIT CODE: 0
    
    ====================
[2025-08-08T09:15:35Z DEBUG ambient_ci::qemu] QEMU exit code 0
[2025-08-08T09:15:35Z DEBUG ambient_ci::run] remove old cache
[2025-08-08T09:15:35Z DEBUG ambient_ci::run] extract cache
[2025-08-08T09:15:36Z DEBUG ambient_ci::run] Executing post-plan steps
[2025-08-08T09:15:36Z DEBUG ambient_ci::project] write project state to /srv/ambient-state/list-radicle-repositories/meta.yaml
[2025-08-08T09:15:36Z INFO  ambient] ambient ends successfully

Ambient stderr

<empty log>