CI run for rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5

Radicle repository id rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5

Table of Contents

Run log

[2025-10-08T10:30:16Z 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  58.1M  1 disk 
vdd    254:48   0 953.7M  0 disk 
vde    254:64   0  27.9G  0 disk 
vdf    254:80   0   1.3G  1 disk 
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad         0 2025-10-08 10:29 ./
-rw-r--r-- _rad/_rad      2450 2025-10-08 10:29 ./plan.yaml
-rwxr-xr-x _rad/_rad   6369536 2025-10-08 10:29 ./run-ci
INFO: Extracted files:
  3538954      4 drwxr-xr-x   2 1000     1000         4096 Oct  8 10:29 .
  3538955      4 -rw-r--r--   1 1000     1000         2450 Oct  8 10:29 ./plan.yaml
  3538956   6224 -rwxr-xr-x   1 1000     1000      6369536 Oct  8 10:29 ./run-ci
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-10-08T10:29:36Z TRACE ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-08T10:29:36Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-08T10:29:36Z INFO  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-08T10:29:36Z WARN  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-08T10:29:36Z ERROR ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
RunnablePlan::from_file: filename=plan.yaml
steps:
- action: mkdir
  pathname: /workspace
- action: mkdir
  pathname: /workspace/artifacts
- action: tar_extract
  archive: /dev/vdc
  directory: /workspace/src
- action: tar_extract
  archive: /dev/vdf
  directory: /workspace/deps
- action: tar_extract
  archive: /dev/vde
  directory: /workspace/cache
- action: spawn
  argv:
  - find
  - /workspace
  - -maxdepth
  - '2'
  - -ls
- action: cargo_fmt
- action: cargo_clippy
- action: cargo_build
- action: cargo_test
- action: shell
  shell: |
    # Because of a (temporary) limitation in Ambient, we need to set
    # these variables manually. Once Ambient manages environment
    # variables better, these can be deleted.
    export CARGO_TARGET_DIR=/workspace/cache
    export CARGO_HOME=/workspace/deps
    export HOME=/root
    export PATH="/root/.cargo/bin:$PATH"
    export RUSTDOCFLAGS='-D warnings'

    cargo doc --workspace --no-deps
- action: shell
  shell: |
    # Because of a (temporary) limitation in Ambient, we need to set
    # these variables manually. Once Ambient manages environment
    # variables better, these can be deleted.
    export CARGO_TARGET_DIR=/workspace/cache
    export CARGO_HOME=/workspace/deps
    export HOME=/root
    export PATH="/root/.cargo/bin:$PATH"

    # These are based on debian/control.
    export DEBEMAIL=liw@liw.fi
    export DEBFULLNAME="Lars Wirzenius"

    # Clean up after tests and documentation building. The Debian
    # package building tools do not want changes outside the
    # `debian` directory, compared to what is committed to Git, from
    # which the "upstream tarball" is created.
    git reset --hard
    git clean -fdx
    git status --ignored

    # Update debian/changelog with a new version so that every run
    # creates a newer version. This avoids us having to update the
    # file manually for every CI run.
    V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')"
    T="$(date -u "+%Y%m%dT%H%M%S")"
    version="$V.ci$T-1"
    dch -v "$version" "CI build under Ambient."
    dch -r ''
- action: deb
- action: tar_create
  archive: /dev/vde
  directory: /workspace/cache
- action: tar_create
  archive: /dev/vdd
  directory: /workspace/artifacts
executor_drive: /dev/vdb
source_drive: /dev/vdc
artifact_drive: /dev/vdd
cache_drive: /dev/vde
deps_drive: /dev/vdf
workspace_dir: /workspace
source_dir: /workspace/src
deps_dir: /workspace/deps
cache_dir: /workspace/cache
artifacts_dir: /workspace/artifacts


[2025-10-08T10:29:36Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
        pathname: "/workspace",
    }
[2025-10-08T10:29:36Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
        pathname: "/workspace",
    }
[2025-10-08T10:29:36Z 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-10-08T10:29:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-08T10:29:36Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
        pathname: "/workspace/artifacts",
    }
[2025-10-08T10:29:36Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
        pathname: "/workspace/artifacts",
    }
[2025-10-08T10:29:36Z 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-10-08T10:29:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-08T10:29:36Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-10-08T10:29:36Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-10-08T10:29:36Z 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-10-08T10:29:36Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-10-08T10:29:36Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-08T10:29:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-08T10:29:36Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-10-08T10:29:36Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-10-08T10:29:36Z 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-10-08T10:29:36Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-10-08T10:29:40Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-08T10:29:40Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-08T10:29:40Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-10-08T10:29:40Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-10-08T10:29:40Z 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-10-08T10:29:40Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-10-08T10:29:52Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-08T10:29:52Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-08T10:29:52Z DEBUG ambient_ci::plan] RUN: Action Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
[2025-10-08T10:29:52Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
[2025-10-08T10:29:52Z 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)
  5242881      4 drwxr-xr-x   6 root     root         4096 Oct  8 10:29 /workspace
  5242882      4 drwxr-xr-x   2 root     root         4096 Oct  8 10:29 /workspace/artifacts
  5243874      4 drwxr-xr-x   3 root     root         4096 Oct  8 10:29 /workspace/deps
  5243875      4 drwxr-xr-x   5 root     root         4096 Sep 10 13:40 /workspace/deps/registry
  5291488      0 -rw-r--r--   1 root     root            0 Sep 10 13:40 /workspace/deps/.package-cache-mutate
  5291487    180 -rw-r--r--   1 root     root       184320 Oct  8 10:29 /workspace/deps/.global-cache
  5291489      0 -rw-r--r--   1 root     root            0 Sep 10 13:40 /workspace/deps/.package-cache
  5374530      4 drwxr-xr-x   6 root     root         4096 Oct  7 15:12 /workspace/cache
  5384703      4 -rw-r--r--   1 root     root          218 Oct  7 15:11 /workspace/cache/.rustdoc_fingerprint.json
  5374531      4 -rw-r--r--   1 root     root         1037 Oct  7 16:42 /workspace/cache/.rustc_info.json
  5384704      4 drwxr-xr-x   7 root     root         4096 Oct  7 15:07 /workspace/cache/debug
  5374532      4 drwxr-xr-x   7 root     root         4096 Oct  7 15:17 /workspace/cache/release
  5384702      4 drwxr-xr-x   2 root     root         4096 Oct  7 15:02 /workspace/cache/tmp
  5379246      4 drwxr-xr-x  24 root     root         4096 Oct  7 15:11 /workspace/cache/doc
  5242883      4 drwxr-xr-x  12 root     root         4096 Oct  8 10:29 /workspace/src
  5243554      4 drwxr-xr-x   2 root     root         4096 Oct  8 10:29 /workspace/src/.cargo
  5242924      4 drwxr-xr-x  17 root     root         4096 Oct  8 10:29 /workspace/src/crates
  5243531      4 -rw-r--r--   1 root     root         1079 Oct  8 10:29 /workspace/src/LICENSE-MIT
  5243544      4 -rw-r--r--   1 root     root          101 Oct  8 10:29 /workspace/src/.gitignore
  5243532     12 -rw-r--r--   1 root     root         9723 Oct  8 10:29 /workspace/src/LICENSE-APACHE
  5242911      4 drwxr-xr-x   3 root     root         4096 Oct  8 10:29 /workspace/src/debian
  5243556      4 drwxr-xr-x   8 root     root         4096 Oct  8 10:29 /workspace/src/.git
  5242892      4 drwxr-xr-x   2 root     root         4096 Oct  8 10:29 /workspace/src/scripts
  5242904      8 -rw-r--r--   1 root     root         8023 Oct  8 10:29 /workspace/src/rad.1.adoc
  5243552      4 drwxr-xr-x   2 root     root         4096 Oct  8 10:29 /workspace/src/.config
  5242908     12 -rw-r--r--   1 root     root        10819 Oct  8 10:29 /workspace/src/flake.nix
  5242903      4 -rw-r--r--   1 root     root          426 Oct  8 10:29 /workspace/src/radicle-node.1.adoc
  5243540      4 drwxr-xr-x   2 root     root         4096 Oct  8 10:29 /workspace/src/.radicle
  5242902      4 -rw-r--r--   1 root     root           77 Oct  8 10:29 /workspace/src/rust-toolchain.toml
  5243535      4 -rw-r--r--   1 root     root         2653 Oct  8 10:29 /workspace/src/Cargo.toml
  5242907      4 -rw-r--r--   1 root     root          571 Oct  8 10:29 /workspace/src/git-remote-rad.1.adoc
  5242905     12 -rw-r--r--   1 root     root        10975 Oct  8 10:29 /workspace/src/rad-patch.1.adoc
  5242885      4 drwxr-xr-x   5 root     root         4096 Oct  8 10:29 /workspace/src/systemd
  5243551      4 -rw-r--r--   1 root     root           30 Oct  8 10:29 /workspace/src/.dockerignore
  5242884     12 -rw-r--r--   1 root     root        11348 Oct  8 10:29 /workspace/src/difft
  5243530      4 -rw-r--r--   1 root     root         3133 Oct  8 10:29 /workspace/src/README.md
  5243538     16 -rw-r--r--   1 root     root        14022 Oct  8 10:29 /workspace/src/CHANGELOG.md
  5243534      4 -rw-r--r--   1 root     root         1203 Oct  8 10:29 /workspace/src/DCO
  5243543      4 -rw-r--r--   1 root     root         1083 Oct  8 10:29 /workspace/src/.gitsigners
  5243515      4 drwxr-xr-x   2 root     root         4096 Oct  8 10:29 /workspace/src/build
  5243550      4 -rw-r--r--   1 root     root           61 Oct  8 10:29 /workspace/src/.env.seed
  5243545      4 drwxr-xr-x   3 root     root         4096 Oct  8 10:29 /workspace/src/.github
  5243533      8 -rw-r--r--   1 root     root         7645 Oct  8 10:29 /workspace/src/HACKING.md
  5243539      4 -rw-r--r--   1 root     root           79 Oct  8 10:29 /workspace/src/ARCHITECTURE.md
  5243528      4 -rw-r--r--   1 root     root         1623 Oct  8 10:29 /workspace/src/build.rs
  5243549      4 -rw-r--r--   1 root     root           42 Oct  8 10:29 /workspace/src/.envrc
  5242910      8 -rw-r--r--   1 root     root         5432 Oct  8 10:29 /workspace/src/deny.toml
  5243529      4 -rw-r--r--   1 root     root         2163 Oct  8 10:29 /workspace/src/VERSIONING.md
  5242906      8 -rw-r--r--   1 root     root         7144 Oct  8 10:29 /workspace/src/rad-id.1.adoc
  5243537     12 -rw-r--r--   1 root     root         9636 Oct  8 10:29 /workspace/src/CONTRIBUTING.md
  5243536    124 -rw-r--r--   1 root     root       122985 Oct  8 10:29 /workspace/src/Cargo.lock
  5242909      8 -rw-r--r--   1 root     root         5102 Oct  8 10:29 /workspace/src/flake.lock
[2025-10-08T10:29:52Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-08T10:29:52Z DEBUG ambient_ci::plan] RUN: Action CargoFmt
[2025-10-08T10:29:52Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFmt
[2025-10-08T10:29:52Z 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.88.0 (873a06493 2025-05-10)
SPAWN: argv=["cargo", "clippy", "--version"]
       cwd=/workspace/src (exists? true)
clippy 0.1.88 (6b00bc3880 2025-06-23)
SPAWN: argv=["rustc", "--version"]
       cwd=/workspace/src (exists? true)
rustc 1.88.0 (6b00bc388 2025-06-23)
SPAWN: argv=["cargo", "fmt", "--check"]
       cwd=/workspace/src (exists? true)
[2025-10-08T10:29:53Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-08T10:29:53Z DEBUG ambient_ci::plan] RUN: Action CargoClippy
[2025-10-08T10:29:53Z DEBUG ambient_ci::action] Plan::execute: plan=CargoClippy
[2025-10-08T10:29:53Z 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.88.0 (873a06493 2025-05-10)
SPAWN: argv=["cargo", "clippy", "--version"]
       cwd=/workspace/src (exists? true)
clippy 0.1.88 (6b00bc3880 2025-06-23)
SPAWN: argv=["rustc", "--version"]
       cwd=/workspace/src (exists? true)
rustc 1.88.0 (6b00bc388 2025-06-23)
SPAWN: argv=["cargo", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"]
       cwd=/workspace/src (exists? true)
    Checking serde_fmt v1.0.3
    Checking erased-serde v0.4.6
    Checking getrandom v0.2.15
    Checking rand_core v0.6.4
    Checking crypto-common v0.1.6
    Checking value-bag-serde1 v1.11.1
    Checking digest v0.10.7
    Checking value-bag v1.11.1
    Checking cipher v0.4.4
    Checking log v0.4.27
    Checking sha2 v0.10.8
    Checking universal-hash v0.5.1
    Checking aead v0.5.2
    Checking ec25519 v0.1.0
    Checking poly1305 v0.8.0
    Checking prodash v29.0.2
    Checking chacha20 v0.9.1
    Checking cyphergraphy v0.3.0
    Checking gix-features v0.39.1
    Checking sha3 v0.10.8
    Checking git2 v0.19.0
    Checking polyval v0.6.2
    Checking hmac v0.12.1
    Checking ppv-lite86 v0.2.17
    Checking rand_chacha v0.3.1
    Checking cypheraddr v0.4.0
    Checking pbkdf2 v0.12.2
    Checking ghash v0.5.1
    Checking chacha20poly1305 v0.10.1
    Checking ctr v0.9.2
    Checking aes v0.8.4
    Checking aes-gcm v0.10.3
    Checking noise-framework v0.4.0
    Checking ssh-encoding v0.2.0
    Checking socks5-client v0.4.1
    Checking rand v0.8.5
    Checking blowfish v0.9.1
    Checking cbc v0.1.2
    Checking radicle-git-ext v0.8.1
    Checking ssh-cipher v0.2.0
    Checking bcrypt-pbkdf v0.10.0
    Checking cyphernet v0.5.2
    Checking qcheck v1.0.0
    Checking ssh-key v0.6.6
    Checking radicle-ssh v0.10.0 (/workspace/src/crates/radicle-ssh)
    Checking radicle-dag v0.10.0 (/workspace/src/crates/radicle-dag)
    Checking radicle-crypto v0.14.0 (/workspace/src/crates/radicle-crypto)
    Checking gix-object v0.46.1
    Checking radicle-cob v0.17.0 (/workspace/src/crates/radicle-cob)
    Checking serde-untagged v0.1.7
    Checking anstyle v1.0.11
    Checking anstream v0.6.13
    Checking gix-commitgraph v0.25.1
    Checking radicle v0.20.0 (/workspace/src/crates/radicle)
    Checking gix-revwalk v0.17.0
    Checking gix-fs v0.12.1
    Checking gix-tempfile v15.0.0
    Checking gix-lock v15.0.1
    Checking gix-url v0.28.2
    Checking radicle-signals v0.11.0 (/workspace/src/crates/radicle-signals)
    Checking gix-revision v0.31.1
    Checking gix-traverse v0.43.1
    Checking gix-diff v0.49.0
    Checking mio v0.8.11
    Checking mio v1.0.4
    Checking signal-hook-mio v0.2.4
    Checking gix-transport v0.44.0
    Checking gix-pack v0.56.0
    Checking gix-refspec v0.27.0
    Checking gix-credentials v0.26.0
    Checking gix-ref v0.49.1
    Checking gix-shallow v0.1.0
    Checking gix-negotiate v0.17.0
   Compiling portable-atomic v1.11.0
    Checking gix-odb v0.66.0
    Checking gix-protocol v0.47.0
    Checking unicode-width v0.2.1
    Checking console v0.16.0
    Checking crossterm v0.25.0
    Checking snapbox-macros v0.3.8
    Checking salsa20 v0.10.2
    Checking unit-prefix v0.5.1
    Checking snapbox v0.4.17
    Checking inquire v0.7.5
    Checking indicatif v0.18.0
    Checking scrypt v0.11.0
    Checking crossterm v0.29.0
    Checking systemd-journal-logger v2.2.2
    Checking popol v3.0.0
   Compiling heck v0.5.0
    Checking clap_lex v0.7.5
    Checking pin-project-lite v0.2.16
    Checking strsim v0.11.1
    Checking clap_builder v4.5.44
    Checking tokio v1.47.1
    Checking radicle-fetch v0.16.0 (/workspace/src/crates/radicle-fetch)
   Compiling clap_derive v4.5.41
    Checking io-reactor v0.5.2
    Checking os_info v3.12.0
   Compiling radicle-node v0.16.0 (/workspace/src/crates/radicle-node)
   Compiling radicle-cli v0.17.0 (/workspace/src/crates/radicle-cli)
    Checking radicle-surf v0.22.0
    Checking netservices v0.8.0
    Checking human-panic v2.0.3
    Checking clap v4.5.44
    Checking radicle-protocol v0.4.0 (/workspace/src/crates/radicle-protocol)
    Checking structured-logger v1.0.4
    Checking radicle-systemd v0.11.0 (/workspace/src/crates/radicle-systemd)
    Checking radicle-term v0.16.0 (/workspace/src/crates/radicle-term)
    Checking itertools v0.14.0
    Checking escargot v0.5.10
    Checking env_filter v0.1.3
    Checking ahash v0.8.11
    Checking env_logger v0.11.8
    Checking radicle-cli-test v0.13.0 (/workspace/src/crates/radicle-cli-test)
   Compiling radicle-remote-helper v0.14.0 (/workspace/src/crates/radicle-remote-helper)
   Compiling paste v1.0.15
    Checking test-log v0.2.18
error: used a field initializer for a tuple struct
  --> crates/radicle-cli/src/commands/clone/args.rs:35:9
   |
35 |         Self { 0: value }
   |         ^^^^^^^^^^^^^^^^^ help: use tuple initialization: `Self(value)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#init_numbered_fields
   = note: `-D clippy::init-numbered-fields` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::init_numbered_fields)]`

    Checking referencing v0.30.0
    Checking jsonschema v0.30.0
error: could not compile `radicle-cli` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
[2025-10-08T10:30:12Z ERROR ambient_ci::plan] ERROR: Action failed: failed to execute cargo
[2025-10-08T10:30:12Z ERROR ambient_ci::plan] caused by: command failed: "cargo": exit code 101
ERROR: failed to execute cargo
caused by: command failed: "cargo": exit code 101
EXIT CODE: 1
[2025-10-08T10:30:16Z INFO  ambient] ambient ends successfully

Trigger message

{
  "request": "trigger",
  "version": 1,
  "event_type": "patch",
  "repository": {
    "id": "rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5",
    "name": "heartwood",
    "description": "Radicle Heartwood Protocol & Stack",
    "private": false,
    "default_branch": "master",
    "delegates": [
      "did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT",
      "did:key:z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW",
      "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
      "did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
      "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz"
    ]
  },
  "action": "Updated",
  "patch": {
    "id": "c0bcf014517eee36c3693bd62601670410cfc6d2",
    "author": {
      "id": "did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
      "alias": "erikli"
    },
    "title": "cli/clone: Use clap",
    "state": {
      "status": "open",
      "conflicts": []
    },
    "before": "2e77d5ef4df526a8453d38d6d2d735fe9ce7e423",
    "after": "7bca9f7e98f6b519244a379ef3361a6d60707ee4",
    "commits": [
      "7bca9f7e98f6b519244a379ef3361a6d60707ee4",
      "2ca3b41fcdc50895d45ec31a0f5f735a59b194c8",
      "6eb935646aeaf41d7759b093289ba02bdd998f12",
      "2ef7958d08f16adb70bea5782d1122a279827d26",
      "716f091c9fd4728303bd1272b6d856dd5316110b"
    ],
    "target": "2e77d5ef4df526a8453d38d6d2d735fe9ce7e423",
    "labels": [],
    "assignees": [],
    "revisions": [
      {
        "id": "c0bcf014517eee36c3693bd62601670410cfc6d2",
        "author": {
          "id": "did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
          "alias": "erikli"
        },
        "description": "See `issue/7fb03f234030b91c38cc4f5b48bd30cf5fd6a1de`.",
        "base": "f1c7c9860716e5db88f657c61d39d6081fb5645f",
        "oid": "96d2e720f8a9780463c25ad70d45609cc363db3b",
        "timestamp": 1759128736
      },
      {
        "id": "d4af4023b6984b634ce82bcb9b1ca5502c37b388",
        "author": {
          "id": "did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
          "alias": "erikli"
        },
        "description": "Move args to module",
        "base": "f1c7c9860716e5db88f657c61d39d6081fb5645f",
        "oid": "838fef8ff2600aada7bdc72d142b790f80214271",
        "timestamp": 1759230501
      },
      {
        "id": "ede21741ab39001af243ebf10d089c820f3652ae",
        "author": {
          "id": "did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
          "alias": "erikli"
        },
        "description": "Squash review.",
        "base": "f1c7c9860716e5db88f657c61d39d6081fb5645f",
        "oid": "5abe144fe3c82fc31586312ededfd0ff4b7f9bfe",
        "timestamp": 1759231345
      },
      {
        "id": "22263dd33aa6c3a5602d1bea663f023e1cdb4b89",
        "author": {
          "id": "did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
          "alias": "erikli"
        },
        "description": "Rebased and restricted arg visibility to `pub(super)`",
        "base": "753b7aef93e3f8deb1056aa6946cdc2fdc87b9dd",
        "oid": "969054995a40f556d7cf7372fffee5bd7d059eef",
        "timestamp": 1759317505
      },
      {
        "id": "ba47815b9c13a4beaf57844911653d83fada4ead",
        "author": {
          "id": "did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
          "alias": "erikli"
        },
        "description": "Rebase",
        "base": "ee49e28766ce7c703b95e22d177cce046072f03d",
        "oid": "aa0a00895809b6605b08cad250f670a76f0a3138",
        "timestamp": 1759354871
      },
      {
        "id": "c0038a7eca211219aa791972f4573d0b245f9d5f",
        "author": {
          "id": "did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
          "alias": "erikli"
        },
        "description": "Changes:\n\n- Rebase\n- Add new type for optionally prefixed RID\n- Add unit tests that make sure we can parse into this type\n- Add example values to the RID argument help output\n- Minor argument doc fixes",
        "base": "2e77d5ef4df526a8453d38d6d2d735fe9ce7e423",
        "oid": "7bca9f7e98f6b519244a379ef3361a6d60707ee4",
        "timestamp": 1759919361
      }
    ]
  }
}

Ambient stdout

[2025-10-08T10:29:24Z INFO  ambient] ambient starts
[2025-10-08T10:29:24Z DEBUG ambient] load default configuration file /home/_rad/.config/ambient/config.yaml if it exists
deprecated: the `cpus` field is replaced by `qemu.cpus`
deprecated: the `memory` field is replaced by `qemu.memory`
[2025-10-08T10:29:24Z DEBUG ambient] complete configuration: Config {
        tmpdir: "/home/_rad/tmp",
        image_store: "/home/_rad/ambient-images",
        projects: "/dev/null",
        state: "/home/_rad/ambient-state",
        rsync_target: None,
        rsync_target_base: None,
        rsync_target_map: None,
        dput_target: None,
        executor: Some(
            "/usr/bin/ambient-execute-plan",
        ),
        artifacts_max_size: Byte(
            1000000000,
        ),
        cache_max_size: Byte(
            30000000000,
        ),
        qemu: QemuConfig {
            cpus: 2,
            memory: Byte(
                12000000000,
            ),
            kvm_binary: "/usr/bin/kvm",
            ovmf_vars_file: "/usr/share/ovmf/OVMF.fd",
            ovmf_code_file: "/usr/share/ovmf/OVMF.fd",
        },
    }
[2025-10-08T10:29:24Z DEBUG ambient] configuration: Config {
        tmpdir: "/home/_rad/tmp",
        image_store: "/home/_rad/ambient-images",
        projects: "/dev/null",
        state: "/home/_rad/ambient-state",
        rsync_target: None,
        rsync_target_base: None,
        rsync_target_map: None,
        dput_target: None,
        executor: Some(
            "/usr/bin/ambient-execute-plan",
        ),
        artifacts_max_size: Byte(
            1000000000,
        ),
        cache_max_size: Byte(
            30000000000,
        ),
        qemu: QemuConfig {
            cpus: 2,
            memory: Byte(
                12000000000,
            ),
            kvm_binary: "/usr/bin/kvm",
            ovmf_vars_file: "/usr/share/ovmf/OVMF.fd",
            ovmf_code_file: "/usr/share/ovmf/OVMF.fd",
        },
    }
[2025-10-08T10:29:24Z DEBUG ambient_ci::project] load project state from /home/_rad/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/meta.yaml
[2025-10-08T10:29:24Z DEBUG ambient_ci::run] latest commit: "31e9818961b95511466d80090e8c47ea93a11138"
[2025-10-08T10:29:24Z DEBUG ambient_ci::run] is a git repository
[2025-10-08T10:29:24Z DEBUG ambient_ci::run] git repository is clean
[2025-10-08T10:29:24Z DEBUG ambient_ci::run] current (HEAD) commit: 7bca9f7e98f6b519244a379ef3361a6d60707ee4
[2025-10-08T10:29:24Z DEBUG ambient_ci::run] no dry run requested
[2025-10-08T10:29:24Z DEBUG ambient_ci::run] forced run requested
[2025-10-08T10:29:24Z DEBUG ambient_ci::run] run? true
[2025-10-08T10:29:24Z INFO  ambient_ci::run] project rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5: running CI
[2025-10-08T10:29:24Z DEBUG ambient_ci::run] Executing pre-plan steps
[2025-10-08T10:29:24Z DEBUG ambient_ci::plan] RUN: Action CargoFetch {
        sourcedir: "/tmp/.tmp790OlZ/src",
    }
[2025-10-08T10:29:24Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFetch {
        sourcedir: "/tmp/.tmp790OlZ/src",
    }
[2025-10-08T10:29:24Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_TARGET_DIR": "/home/_rad/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/cache",
            "PATH": "/root/.cargo/bin:/bin:/home/_rad/.radicle/bin:/home/_rad/.cargo/bin",
            "CARGO_HOME": "/home/_rad/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/dependencies",
        },
        source_dir: "/tmp/.tmp790OlZ/src",
    }
SPAWN: argv=["cargo", "--version"]
       cwd=/tmp/.tmp790OlZ/src (exists? true)
cargo 1.88.0 (873a06493 2025-05-10)
SPAWN: argv=["cargo", "clippy", "--version"]
       cwd=/tmp/.tmp790OlZ/src (exists? true)
clippy 0.1.88 (6b00bc3880 2025-06-23)
SPAWN: argv=["rustc", "--version"]
       cwd=/tmp/.tmp790OlZ/src (exists? true)
rustc 1.88.0 (6b00bc388 2025-06-23)
SPAWN: argv=["cargo", "fetch"]
       cwd=/tmp/.tmp790OlZ/src (exists? true)
[2025-10-08T10:29:25Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-08T10:29:25Z DEBUG ambient_ci::plan] All actions were performed successfully
[2025-10-08T10:29:25Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmp7PUY4Y/src.tar
[2025-10-08T10:29:25Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmp7PUY4Y/deps.tar
[2025-10-08T10:29:26Z DEBUG ambient_ci::run] create_executor_vdrive: executor="/usr/bin/ambient-execute-plan"
[2025-10-08T10:29:26Z 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,
            CargoBuild,
            CargoTest,
            Shell {
                shell: "# Because of a (temporary) limitation in Ambient, we need to set\n# these variables manually. Once Ambient manages environment\n# variables better, these can be deleted.\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\nexport RUSTDOCFLAGS='-D warnings'\n\ncargo doc --workspace --no-deps\n",
            },
            Shell {
                shell: "# Because of a (temporary) limitation in Ambient, we need to set\n# these variables manually. Once Ambient manages environment\n# variables better, these can be deleted.\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\n# These are based on debian/control.\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\n\n# Clean up after tests and documentation building. The Debian\n# package building tools do not want changes outside the\n# `debian` directory, compared to what is committed to Git, from\n# which the \"upstream tarball\" is created.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\n\n# Update debian/changelog with a new version so that every run\n# creates a newer version. This avoids us having to update the\n# file manually for every CI run.\nV=\"$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')\"\nT=\"$(date -u \"+%Y%m%dT%H%M%S\")\"\nversion=\"$V.ci$T-1\"\ndch -v \"$version\" \"CI build under Ambient.\"\ndch -r ''\n",
            },
            Deb,
            TarCreate {
                archive: "/dev/vde",
                directory: "/workspace/cache",
            },
            TarCreate {
                archive: "/dev/vdd",
                directory: "/workspace/artifacts",
            },
        ],
        executor_drive: Some(
            "/dev/vdb",
        ),
        source_drive: Some(
            "/dev/vdc",
        ),
        artifact_drive: Some(
            "/dev/vdd",
        ),
        cache_drive: Some(
            "/dev/vde",
        ),
        deps_drive: Some(
            "/dev/vdf",
        ),
        workspace_dir: Some(
            "/workspace",
        ),
        source_dir: Some(
            "/workspace/src",
        ),
        deps_dir: Some(
            "/workspace/deps",
        ),
        cache_dir: Some(
            "/workspace/cache",
        ),
        artifacts_dir: Some(
            "/workspace/artifacts",
        ),
    }
[2025-10-08T10:29:26Z DEBUG ambient_ci::run] executor bin /usr/bin/ambient-execute-plan
[2025-10-08T10:29:26Z DEBUG ambient_ci::run] copying /usr/bin/ambient-execute-plan to /home/_rad/tmp/.tmp7PUY4Y/ambient-execute-plan/run-ci
[2025-10-08T10:29:26Z DEBUG ambient_ci::run] copy OK: true
[2025-10-08T10:29:26Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmp7PUY4Y/executor.tar
[2025-10-08T10:29:32Z DEBUG ambient_ci::project] removing run log file /home/_rad/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/run.log
[2025-10-08T10:29:32Z DEBUG ambient_ci::project] statedir is /home/_rad/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5, exists? true
[2025-10-08T10:29:32Z DEBUG ambient_ci::project] creating run log file /home/_rad/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/run.log
[2025-10-08T10:29:32Z DEBUG ambient_ci::project] created run log file /home/_rad/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/run.log OK
[2025-10-08T10:29:32Z DEBUG ambient_ci::cloud_init] with_hostname called: "ambient"
[2025-10-08T10:29:32Z DEBUG ambient_ci::cloud_init] with_runcmd called: "echo xyzzy > /dev/ttyS1"
[2025-10-08T10:29:32Z DEBUG ambient_ci::cloud_init] with_runcmd called: "\n(set -xeu\nenv\ndir=\"$(mktemp -d)\"\ncd \"$dir\"\ntar -xvf /dev/vdb\nfind -ls || true\nldd ./run-ci || true\necho ================================ BEGIN ================================\nexport RUST_BACKTRACE=1\nif ./run-ci; then\n        echo \"EXIT CODE: 0\"\nelse\n        echo \"EXIT CODE: $?\"\nfi) > /dev/ttyS1 2>&1\n"
[2025-10-08T10:29:32Z DEBUG ambient_ci::cloud_init] with_runcmd called: "poweroff"
[2025-10-08T10:29:32Z DEBUG ambient_ci::cloud_init] LocalDataStoreBuilder: LocalDataStoreBuilder {
        hostname: Some(
            "ambient",
        ),
        network: false,
        bootcmd: [],
        runcmd: [
            "echo xyzzy > /dev/ttyS1",
            "\n(set -xeu\nenv\ndir=\"$(mktemp -d)\"\ncd \"$dir\"\ntar -xvf /dev/vdb\nfind -ls || true\nldd ./run-ci || true\necho ================================ BEGIN ================================\nexport RUST_BACKTRACE=1\nif ./run-ci; then\n        echo \"EXIT CODE: 0\"\nelse\n        echo \"EXIT CODE: $?\"\nfi) > /dev/ttyS1 2>&1\n",
            "poweroff",
        ],
    }
[2025-10-08T10:29:32Z DEBUG ambient_ci::qemu] run QEMU
[2025-10-08T10:29:32Z DEBUG ambient_ci::qemu] create copy-on-write image and UEFI vars file
[2025-10-08T10:29:32Z DEBUG ambient_ci::qemu_utils] qemu-img create /home/_rad/tmp/.tmphZzqyL/.tmpA3xFJC/vm.qcow2 backing on /home/_rad/ambient.qcow2
[2025-10-08T10:29:32Z DEBUG ambient_ci::qemu] create cloud-init ISO file
[2025-10-08T10:29:32Z DEBUG ambient_ci::cloud_init] LocalDataStore: LocalDataStore {
        hostname: "ambient",
        network: false,
        bootcmd: [],
        runcmd: [
            "echo xyzzy > /dev/ttyS1",
            "\n(set -xeu\nenv\ndir=\"$(mktemp -d)\"\ncd \"$dir\"\ntar -xvf /dev/vdb\nfind -ls || true\nldd ./run-ci || true\necho ================================ BEGIN ================================\nexport RUST_BACKTRACE=1\nif ./run-ci; then\n        echo \"EXIT CODE: 0\"\nelse\n        echo \"EXIT CODE: $?\"\nfi) > /dev/ttyS1 2>&1\n",
            "poweroff",
        ],
    }
[2025-10-08T10:29:32Z DEBUG ambient_ci::cloud_init] write /tmp/.tmp724nsf/meta-data
[2025-10-08T10:29:32Z DEBUG ambient_ci::cloud_init] write /tmp/.tmp724nsf/user-data
[2025-10-08T10:29:33Z DEBUG ambient_ci::qemu] set console log file to /home/_rad/tmp/.tmphZzqyL/.tmpA3xFJC/console.log
[2025-10-08T10:29:33Z DEBUG ambient_ci::util] create file /home/_rad/tmp/.tmphZzqyL/.tmpA3xFJC/console.log
[2025-10-08T10:29:33Z DEBUG ambient_ci::qemu] set run file to /home/_rad/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/run.log
[2025-10-08T10:29:33Z DEBUG ambient_ci::util] create file /home/_rad/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/run.log
[2025-10-08T10:29:33Z 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/.tmphZzqyL/.tmpA3xFJC/console.log",
            "-serial",
            "file:/home/_rad/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/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/.tmphZzqyL/.tmpA3xFJC/vars.fd",
            "-drive",
            "format=qcow2,if=virtio,file=/home/_rad/tmp/.tmphZzqyL/.tmpA3xFJC/vm.qcow2",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmp7PUY4Y/executor.tar,readonly=on",
            "-cdrom",
            "/home/_rad/tmp/.tmphZzqyL/.tmpA3xFJC/cloud_init.iso",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmp7PUY4Y/src.tar,readonly=on",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmp7PUY4Y/artifacts.tar",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmp7PUY4Y/cache.tar",
            "-drive",
            "format=raw,if=virtio,file=/home/_rad/tmp/.tmp7PUY4Y/deps.tar,readonly=on",
            "-nodefaults",
            "-no-user-config",
        ],
    }
[2025-10-08T10:30:14Z DEBUG ambient_ci::qemu] QEMU finished OK
[2025-10-08T10:30:14Z DEBUG ambient_ci::qemu] run log:
    --------------------==========
    [2025-10-08T10:29:36Z TRACE ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-08T10:29:36Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-08T10:29:36Z INFO  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-08T10:29:36Z WARN  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-08T10:29:36Z ERROR ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    RunnablePlan::from_file: filename=plan.yaml
    steps:
    - action: mkdir
      pathname: /workspace
    - action: mkdir
      pathname: /workspace/artifacts
    - action: tar_extract
      archive: /dev/vdc
      directory: /workspace/src
    - action: tar_extract
      archive: /dev/vdf
      directory: /workspace/deps
    - action: tar_extract
      archive: /dev/vde
      directory: /workspace/cache
    - action: spawn
      argv:
      - find
      - /workspace
      - -maxdepth
      - '2'
      - -ls
    - action: cargo_fmt
    - action: cargo_clippy
    - action: cargo_build
    - action: cargo_test
    - action: shell
      shell: |
        # Because of a (temporary) limitation in Ambient, we need to set
        # these variables manually. Once Ambient manages environment
        # variables better, these can be deleted.
        export CARGO_TARGET_DIR=/workspace/cache
        export CARGO_HOME=/workspace/deps
        export HOME=/root
        export PATH="/root/.cargo/bin:$PATH"
        export RUSTDOCFLAGS='-D warnings'
    
        cargo doc --workspace --no-deps
    - action: shell
      shell: |
        # Because of a (temporary) limitation in Ambient, we need to set
        # these variables manually. Once Ambient manages environment
        # variables better, these can be deleted.
        export CARGO_TARGET_DIR=/workspace/cache
        export CARGO_HOME=/workspace/deps
        export HOME=/root
        export PATH="/root/.cargo/bin:$PATH"
    
        # These are based on debian/control.
        export DEBEMAIL=liw@liw.fi
        export DEBFULLNAME="Lars Wirzenius"
    
        # Clean up after tests and documentation building. The Debian
        # package building tools do not want changes outside the
        # `debian` directory, compared to what is committed to Git, from
        # which the "upstream tarball" is created.
        git reset --hard
        git clean -fdx
        git status --ignored
    
        # Update debian/changelog with a new version so that every run
        # creates a newer version. This avoids us having to update the
        # file manually for every CI run.
        V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')"
        T="$(date -u "+%Y%m%dT%H%M%S")"
        version="$V.ci$T-1"
        dch -v "$version" "CI build under Ambient."
        dch -r ''
    - action: deb
    - action: tar_create
      archive: /dev/vde
      directory: /workspace/cache
    - action: tar_create
      archive: /dev/vdd
      directory: /workspace/artifacts
    executor_drive: /dev/vdb
    source_drive: /dev/vdc
    artifact_drive: /dev/vdd
    cache_drive: /dev/vde
    deps_drive: /dev/vdf
    workspace_dir: /workspace
    source_dir: /workspace/src
    deps_dir: /workspace/deps
    cache_dir: /workspace/cache
    artifacts_dir: /workspace/artifacts
    
    
    [2025-10-08T10:29:36Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
            pathname: "/workspace",
        }
    [2025-10-08T10:29:36Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
            pathname: "/workspace",
        }
    [2025-10-08T10:29:36Z 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-10-08T10:29:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-08T10:29:36Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
            pathname: "/workspace/artifacts",
        }
    [2025-10-08T10:29:36Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
            pathname: "/workspace/artifacts",
        }
    [2025-10-08T10:29:36Z 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-10-08T10:29:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-08T10:29:36Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-10-08T10:29:36Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-10-08T10:29:36Z 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-10-08T10:29:36Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
    [2025-10-08T10:29:36Z TRACE ambient_ci::vdrive] extraction OK
    [2025-10-08T10:29:36Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-08T10:29:36Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-10-08T10:29:36Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-10-08T10:29:36Z 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-10-08T10:29:36Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
    [2025-10-08T10:29:40Z TRACE ambient_ci::vdrive] extraction OK
    [2025-10-08T10:29:40Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-08T10:29:40Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-10-08T10:29:40Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-10-08T10:29:40Z 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-10-08T10:29:40Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
    [2025-10-08T10:29:52Z TRACE ambient_ci::vdrive] extraction OK
    [2025-10-08T10:29:52Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-08T10:29:52Z DEBUG ambient_ci::plan] RUN: Action Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    [2025-10-08T10:29:52Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    [2025-10-08T10:29:52Z 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)
      5242881      4 drwxr-xr-x   6 root     root         4096 Oct  8 10:29 /workspace
      5242882      4 drwxr-xr-x   2 root     root         4096 Oct  8 10:29 /workspace/artifacts
      5243874      4 drwxr-xr-x   3 root     root         4096 Oct  8 10:29 /workspace/deps
      5243875      4 drwxr-xr-x   5 root     root         4096 Sep 10 13:40 /workspace/deps/registry
      5291488      0 -rw-r--r--   1 root     root            0 Sep 10 13:40 /workspace/deps/.package-cache-mutate
      5291487    180 -rw-r--r--   1 root     root       184320 Oct  8 10:29 /workspace/deps/.global-cache
      5291489      0 -rw-r--r--   1 root     root            0 Sep 10 13:40 /workspace/deps/.package-cache
      5374530      4 drwxr-xr-x   6 root     root         4096 Oct  7 15:12 /workspace/cache
      5384703      4 -rw-r--r--   1 root     root          218 Oct  7 15:11 /workspace/cache/.rustdoc_fingerprint.json
      5374531      4 -rw-r--r--   1 root     root         1037 Oct  7 16:42 /workspace/cache/.rustc_info.json
      5384704      4 drwxr-xr-x   7 root     root         4096 Oct  7 15:07 /workspace/cache/debug
      5374532      4 drwxr-xr-x   7 root     root         4096 Oct  7 15:17 /workspace/cache/release
      5384702      4 drwxr-xr-x   2 root     root         4096 Oct  7 15:02 /workspace/cache/tmp
      5379246      4 drwxr-xr-x  24 root     root         4096 Oct  7 15:11 /workspace/cache/doc
      5242883      4 drwxr-xr-x  12 root     root         4096 Oct  8 10:29 /workspace/src
      5243554      4 drwxr-xr-x   2 root     root         4096 Oct  8 10:29 /workspace/src/.cargo
      5242924      4 drwxr-xr-x  17 root     root         4096 Oct  8 10:29 /workspace/src/crates
      5243531      4 -rw-r--r--   1 root     root         1079 Oct  8 10:29 /workspace/src/LICENSE-MIT
      5243544      4 -rw-r--r--   1 root     root          101 Oct  8 10:29 /workspace/src/.gitignore
      5243532     12 -rw-r--r--   1 root     root         9723 Oct  8 10:29 /workspace/src/LICENSE-APACHE
      5242911      4 drwxr-xr-x   3 root     root         4096 Oct  8 10:29 /workspace/src/debian
      5243556      4 drwxr-xr-x   8 root     root         4096 Oct  8 10:29 /workspace/src/.git
      5242892      4 drwxr-xr-x   2 root     root         4096 Oct  8 10:29 /workspace/src/scripts
      5242904      8 -rw-r--r--   1 root     root         8023 Oct  8 10:29 /workspace/src/rad.1.adoc
      5243552      4 drwxr-xr-x   2 root     root         4096 Oct  8 10:29 /workspace/src/.config
      5242908     12 -rw-r--r--   1 root     root        10819 Oct  8 10:29 /workspace/src/flake.nix
      5242903      4 -rw-r--r--   1 root     root          426 Oct  8 10:29 /workspace/src/radicle-node.1.adoc
      5243540      4 drwxr-xr-x   2 root     root         4096 Oct  8 10:29 /workspace/src/.radicle
      5242902      4 -rw-r--r--   1 root     root           77 Oct  8 10:29 /workspace/src/rust-toolchain.toml
      5243535      4 -rw-r--r--   1 root     root         2653 Oct  8 10:29 /workspace/src/Cargo.toml
      5242907      4 -rw-r--r--   1 root     root          571 Oct  8 10:29 /workspace/src/git-remote-rad.1.adoc
      5242905     12 -rw-r--r--   1 root     root        10975 Oct  8 10:29 /workspace/src/rad-patch.1.adoc
      5242885      4 drwxr-xr-x   5 root     root         4096 Oct  8 10:29 /workspace/src/systemd
      5243551      4 -rw-r--r--   1 root     root           30 Oct  8 10:29 /workspace/src/.dockerignore
      5242884     12 -rw-r--r--   1 root     root        11348 Oct  8 10:29 /workspace/src/difft
      5243530      4 -rw-r--r--   1 root     root         3133 Oct  8 10:29 /workspace/src/README.md
      5243538     16 -rw-r--r--   1 root     root        14022 Oct  8 10:29 /workspace/src/CHANGELOG.md
      5243534      4 -rw-r--r--   1 root     root         1203 Oct  8 10:29 /workspace/src/DCO
      5243543      4 -rw-r--r--   1 root     root         1083 Oct  8 10:29 /workspace/src/.gitsigners
      5243515      4 drwxr-xr-x   2 root     root         4096 Oct  8 10:29 /workspace/src/build
      5243550      4 -rw-r--r--   1 root     root           61 Oct  8 10:29 /workspace/src/.env.seed
      5243545      4 drwxr-xr-x   3 root     root         4096 Oct  8 10:29 /workspace/src/.github
      5243533      8 -rw-r--r--   1 root     root         7645 Oct  8 10:29 /workspace/src/HACKING.md
      5243539      4 -rw-r--r--   1 root     root           79 Oct  8 10:29 /workspace/src/ARCHITECTURE.md
      5243528      4 -rw-r--r--   1 root     root         1623 Oct  8 10:29 /workspace/src/build.rs
      5243549      4 -rw-r--r--   1 root     root           42 Oct  8 10:29 /workspace/src/.envrc
      5242910      8 -rw-r--r--   1 root     root         5432 Oct  8 10:29 /workspace/src/deny.toml
      5243529      4 -rw-r--r--   1 root     root         2163 Oct  8 10:29 /workspace/src/VERSIONING.md
      5242906      8 -rw-r--r--   1 root     root         7144 Oct  8 10:29 /workspace/src/rad-id.1.adoc
      5243537     12 -rw-r--r--   1 root     root         9636 Oct  8 10:29 /workspace/src/CONTRIBUTING.md
      5243536    124 -rw-r--r--   1 root     root       122985 Oct  8 10:29 /workspace/src/Cargo.lock
      5242909      8 -rw-r--r--   1 root     root         5102 Oct  8 10:29 /workspace/src/flake.lock
    [2025-10-08T10:29:52Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-08T10:29:52Z DEBUG ambient_ci::plan] RUN: Action CargoFmt
    [2025-10-08T10:29:52Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFmt
    [2025-10-08T10:29:52Z 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.88.0 (873a06493 2025-05-10)
    SPAWN: argv=["cargo", "clippy", "--version"]
           cwd=/workspace/src (exists? true)
    clippy 0.1.88 (6b00bc3880 2025-06-23)
    SPAWN: argv=["rustc", "--version"]
           cwd=/workspace/src (exists? true)
    rustc 1.88.0 (6b00bc388 2025-06-23)
    SPAWN: argv=["cargo", "fmt", "--check"]
           cwd=/workspace/src (exists? true)
    [2025-10-08T10:29:53Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-08T10:29:53Z DEBUG ambient_ci::plan] RUN: Action CargoClippy
    [2025-10-08T10:29:53Z DEBUG ambient_ci::action] Plan::execute: plan=CargoClippy
    [2025-10-08T10:29:53Z 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.88.0 (873a06493 2025-05-10)
    SPAWN: argv=["cargo", "clippy", "--version"]
           cwd=/workspace/src (exists? true)
    clippy 0.1.88 (6b00bc3880 2025-06-23)
    SPAWN: argv=["rustc", "--version"]
           cwd=/workspace/src (exists? true)
    rustc 1.88.0 (6b00bc388 2025-06-23)
    SPAWN: argv=["cargo", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"]
           cwd=/workspace/src (exists? true)
        Checking serde_fmt v1.0.3
        Checking erased-serde v0.4.6
        Checking getrandom v0.2.15
        Checking rand_core v0.6.4
        Checking crypto-common v0.1.6
        Checking value-bag-serde1 v1.11.1
        Checking digest v0.10.7
        Checking value-bag v1.11.1
        Checking cipher v0.4.4
        Checking log v0.4.27
        Checking sha2 v0.10.8
        Checking universal-hash v0.5.1
        Checking aead v0.5.2
        Checking ec25519 v0.1.0
        Checking poly1305 v0.8.0
        Checking prodash v29.0.2
        Checking chacha20 v0.9.1
        Checking cyphergraphy v0.3.0
        Checking gix-features v0.39.1
        Checking sha3 v0.10.8
        Checking git2 v0.19.0
        Checking polyval v0.6.2
        Checking hmac v0.12.1
        Checking ppv-lite86 v0.2.17
        Checking rand_chacha v0.3.1
        Checking cypheraddr v0.4.0
        Checking pbkdf2 v0.12.2
        Checking ghash v0.5.1
        Checking chacha20poly1305 v0.10.1
        Checking ctr v0.9.2
        Checking aes v0.8.4
        Checking aes-gcm v0.10.3
        Checking noise-framework v0.4.0
        Checking ssh-encoding v0.2.0
        Checking socks5-client v0.4.1
        Checking rand v0.8.5
        Checking blowfish v0.9.1
        Checking cbc v0.1.2
        Checking radicle-git-ext v0.8.1
        Checking ssh-cipher v0.2.0
        Checking bcrypt-pbkdf v0.10.0
        Checking cyphernet v0.5.2
        Checking qcheck v1.0.0
        Checking ssh-key v0.6.6
        Checking radicle-ssh v0.10.0 (/workspace/src/crates/radicle-ssh)
        Checking radicle-dag v0.10.0 (/workspace/src/crates/radicle-dag)
        Checking radicle-crypto v0.14.0 (/workspace/src/crates/radicle-crypto)
        Checking gix-object v0.46.1
        Checking radicle-cob v0.17.0 (/workspace/src/crates/radicle-cob)
        Checking serde-untagged v0.1.7
        Checking anstyle v1.0.11
        Checking anstream v0.6.13
        Checking gix-commitgraph v0.25.1
        Checking radicle v0.20.0 (/workspace/src/crates/radicle)
        Checking gix-revwalk v0.17.0
        Checking gix-fs v0.12.1
        Checking gix-tempfile v15.0.0
        Checking gix-lock v15.0.1
        Checking gix-url v0.28.2
        Checking radicle-signals v0.11.0 (/workspace/src/crates/radicle-signals)
        Checking gix-revision v0.31.1
        Checking gix-traverse v0.43.1
        Checking gix-diff v0.49.0
        Checking mio v0.8.11
        Checking mio v1.0.4
        Checking signal-hook-mio v0.2.4
        Checking gix-transport v0.44.0
        Checking gix-pack v0.56.0
        Checking gix-refspec v0.27.0
        Checking gix-credentials v0.26.0
        Checking gix-ref v0.49.1
        Checking gix-shallow v0.1.0
        Checking gix-negotiate v0.17.0
       Compiling portable-atomic v1.11.0
        Checking gix-odb v0.66.0
        Checking gix-protocol v0.47.0
        Checking unicode-width v0.2.1
        Checking console v0.16.0
        Checking crossterm v0.25.0
        Checking snapbox-macros v0.3.8
        Checking salsa20 v0.10.2
        Checking unit-prefix v0.5.1
        Checking snapbox v0.4.17
        Checking inquire v0.7.5
        Checking indicatif v0.18.0
        Checking scrypt v0.11.0
        Checking crossterm v0.29.0
        Checking systemd-journal-logger v2.2.2
        Checking popol v3.0.0
       Compiling heck v0.5.0
        Checking clap_lex v0.7.5
        Checking pin-project-lite v0.2.16
        Checking strsim v0.11.1
        Checking clap_builder v4.5.44
        Checking tokio v1.47.1
        Checking radicle-fetch v0.16.0 (/workspace/src/crates/radicle-fetch)
       Compiling clap_derive v4.5.41
        Checking io-reactor v0.5.2
        Checking os_info v3.12.0
       Compiling radicle-node v0.16.0 (/workspace/src/crates/radicle-node)
       Compiling radicle-cli v0.17.0 (/workspace/src/crates/radicle-cli)
        Checking radicle-surf v0.22.0
        Checking netservices v0.8.0
        Checking human-panic v2.0.3
        Checking clap v4.5.44
        Checking radicle-protocol v0.4.0 (/workspace/src/crates/radicle-protocol)
        Checking structured-logger v1.0.4
        Checking radicle-systemd v0.11.0 (/workspace/src/crates/radicle-systemd)
        Checking radicle-term v0.16.0 (/workspace/src/crates/radicle-term)
        Checking itertools v0.14.0
        Checking escargot v0.5.10
        Checking env_filter v0.1.3
        Checking ahash v0.8.11
        Checking env_logger v0.11.8
        Checking radicle-cli-test v0.13.0 (/workspace/src/crates/radicle-cli-test)
       Compiling radicle-remote-helper v0.14.0 (/workspace/src/crates/radicle-remote-helper)
       Compiling paste v1.0.15
        Checking test-log v0.2.18
    error: used a field initializer for a tuple struct
      --> crates/radicle-cli/src/commands/clone/args.rs:35:9
       |
    35 |         Self { 0: value }
       |         ^^^^^^^^^^^^^^^^^ help: use tuple initialization: `Self(value)`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#init_numbered_fields
       = note: `-D clippy::init-numbered-fields` implied by `-D warnings`
       = help: to override `-D warnings` add `#[allow(clippy::init_numbered_fields)]`
    
        Checking referencing v0.30.0
        Checking jsonschema v0.30.0
    error: could not compile `radicle-cli` (lib) due to 1 previous error
    warning: build failed, waiting for other jobs to finish...
    [2025-10-08T10:30:12Z ERROR ambient_ci::plan] ERROR: Action failed: failed to execute cargo
    [2025-10-08T10:30:12Z ERROR ambient_ci::plan] caused by: command failed: "cargo": exit code 101
    ERROR: failed to execute cargo
    caused by: command failed: "cargo": exit code 101
    EXIT CODE: 1
    
    ====================
[2025-10-08T10:30:14Z DEBUG ambient_ci::qemu] QEMU: CI run under exit code 1
[2025-10-08T10:30:15Z DEBUG ambient_ci::run] CI run exit code from QEMU: 1
[2025-10-08T10:30:15Z DEBUG ambient_ci::project] write project state to /home/_rad/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/meta.yaml
ERROR: CI run failed inside QEMU

Ambient stderr

<empty log>