CI run for rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5

Radicle repository id rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5

Table of Contents

Run log

[2025-10-07T08:52:42Z 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
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  30.7M  1 disk 
vdd    254:48   0   9.3G  0 disk 
vde    254:64   0  46.6G  0 disk 
vdf    254:80   0 809.9M  1 disk 
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad         0 2025-10-07 08:47 ./
-rw-r--r-- _rad/_rad      2450 2025-10-07 08:47 ./plan.yaml
-rwxr-xr-x _rad/_rad   6410400 2025-10-07 08:47 ./run-ci
INFO: Extracted files:
  4587526      4 drwxr-xr-x   2 1001     1001         4096 Oct  7 08:47 .
  4587527      4 -rw-r--r--   1 1001     1001         2450 Oct  7 08:47 ./plan.yaml
  4587530   6264 -rwxr-xr-x   1 1001     1001      6410400 Oct  7 08:47 ./run-ci
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-10-07T08:48:53Z TRACE ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-07T08:48:53Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-07T08:48:53Z INFO  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-07T08:48:53Z WARN  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-07T08:48:53Z 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-07T08:48:53Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
        pathname: "/workspace",
    }
[2025-10-07T08:48:53Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
        pathname: "/workspace",
    }
[2025-10-07T08:48:53Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/workspace/deps",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        },
        source_dir: "/workspace/src",
    }
[2025-10-07T08:48:53Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-07T08:48:53Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
        pathname: "/workspace/artifacts",
    }
[2025-10-07T08:48:53Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
        pathname: "/workspace/artifacts",
    }
[2025-10-07T08:48:53Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/workspace/deps",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        },
        source_dir: "/workspace/src",
    }
[2025-10-07T08:48:53Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-07T08:48:53Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-10-07T08:48:53Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-10-07T08:48:53Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/workspace/deps",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        },
        source_dir: "/workspace/src",
    }
[2025-10-07T08:48:53Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-10-07T08:48:55Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-07T08:48:55Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-07T08:48:55Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-10-07T08:48:55Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-10-07T08:48:55Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/workspace/deps",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        },
        source_dir: "/workspace/src",
    }
[2025-10-07T08:48:55Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-10-07T08:49:19Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-07T08:49:19Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-07T08:49:19Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-10-07T08:49:19Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-10-07T08:49:19Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/workspace/deps",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        },
        source_dir: "/workspace/src",
    }
[2025-10-07T08:49:19Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-10-07T08:52:08Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-07T08:52:08Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-07T08:52:08Z DEBUG ambient_ci::plan] RUN: Action Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
[2025-10-07T08:52:08Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
[2025-10-07T08:52:08Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/workspace/deps",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        },
        source_dir: "/workspace/src",
    }
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
       cwd=/workspace/src (exists? true)
  2621441      4 drwxr-xr-x   6 root     root         4096 Oct  7 08:49 /workspace
  2622247      4 drwxr-xr-x   3 root     root         4096 Oct  7 08:47 /workspace/deps
  2622248      0 -rw-r--r--   1 root     root            0 Sep 22 16:46 /workspace/deps/.package-cache-mutate
  2622251      4 drwxr-xr-x   5 root     root         4096 Sep 22 16:46 /workspace/deps/registry
  2622249    128 -rw-r--r--   1 root     root       131072 Oct  7 08:47 /workspace/deps/.global-cache
  2622250      0 -rw-r--r--   1 root     root            0 Sep 22 16:46 /workspace/deps/.package-cache
  2621443      4 drwxr-xr-x  12 root     root         4096 Oct  7 08:47 /workspace/src
  2621499      4 -rw-r--r--   1 root     root         2653 Oct  7 08:47 /workspace/src/Cargo.toml
  2622243     12 -rw-r--r--   1 root     root         9636 Oct  7 08:47 /workspace/src/CONTRIBUTING.md
  2621500      4 drwxr-xr-x   2 root     root         4096 Oct  7 08:47 /workspace/src/.config
  2621496      4 -rw-r--r--   1 root     root         1623 Oct  7 08:47 /workspace/src/build.rs
  2621502      4 -rw-r--r--   1 root     root          426 Oct  7 08:47 /workspace/src/radicle-node.1.adoc
  2621504      4 drwxr-xr-x   8 root     root         4096 Oct  7 08:47 /workspace/src/.git
  2622240      8 -rw-r--r--   1 root     root         7144 Oct  7 08:47 /workspace/src/rad-id.1.adoc
  2621460      4 -rw-r--r--   1 root     root         2163 Oct  7 08:47 /workspace/src/VERSIONING.md
  2621495      4 -rw-r--r--   1 root     root         3133 Oct  7 08:47 /workspace/src/README.md
  2621633     12 -rw-r--r--   1 root     root        10975 Oct  7 08:47 /workspace/src/rad-patch.1.adoc
  2622244      4 -rw-r--r--   1 root     root           79 Oct  7 08:47 /workspace/src/ARCHITECTURE.md
  2621641      4 drwxr-xr-x  17 root     root         4096 Oct  7 08:47 /workspace/src/crates
  2621448      4 drwxr-xr-x   2 root     root         4096 Oct  7 08:47 /workspace/src/scripts
  2621444      4 drwxr-xr-x   2 root     root         4096 Oct  7 08:47 /workspace/src/.radicle
  2621467     16 -rw-r--r--   1 root     root        14022 Oct  7 08:47 /workspace/src/CHANGELOG.md
  2621482      4 drwxr-xr-x   3 root     root         4096 Oct  7 08:47 /workspace/src/debian
  2621465      4 -rw-r--r--   1 root     root           42 Oct  7 08:47 /workspace/src/.envrc
  2622241      4 -rw-r--r--   1 root     root         1203 Oct  7 08:47 /workspace/src/DCO
  2622236      4 drwxr-xr-x   3 root     root         4096 Oct  7 08:47 /workspace/src/.github
  2622246    120 -rw-r--r--   1 root     root       122165 Oct  7 08:47 /workspace/src/Cargo.lock
  2621634      4 drwxr-xr-x   5 root     root         4096 Oct  7 08:47 /workspace/src/systemd
  2621632     12 -rw-r--r--   1 root     root         9723 Oct  7 08:47 /workspace/src/LICENSE-APACHE
  2621498      4 -rw-r--r--   1 root     root          101 Oct  7 08:47 /workspace/src/.gitignore
  2622242      8 -rw-r--r--   1 root     root         5102 Oct  7 08:47 /workspace/src/flake.lock
  2621464      4 -rw-r--r--   1 root     root           77 Oct  7 08:47 /workspace/src/rust-toolchain.toml
  2621497     12 -rw-r--r--   1 root     root        10819 Oct  7 08:47 /workspace/src/flake.nix
  2621468      4 -rw-r--r--   1 root     root          571 Oct  7 08:47 /workspace/src/git-remote-rad.1.adoc
  2621466      4 -rw-r--r--   1 root     root           61 Oct  7 08:47 /workspace/src/.env.seed
  2621503      8 -rw-r--r--   1 root     root         5432 Oct  7 08:47 /workspace/src/deny.toml
  2621458      8 -rw-r--r--   1 root     root         7645 Oct  7 08:47 /workspace/src/HACKING.md
  2621447      4 -rw-r--r--   1 root     root         1079 Oct  7 08:47 /workspace/src/LICENSE-MIT
  2621463      8 -rw-r--r--   1 root     root         8023 Oct  7 08:47 /workspace/src/rad.1.adoc
  2621469      4 drwxr-xr-x   2 root     root         4096 Oct  7 08:47 /workspace/src/build
  2622245      4 -rw-r--r--   1 root     root         1083 Oct  7 08:47 /workspace/src/.gitsigners
  2621459      4 -rw-r--r--   1 root     root           30 Oct  7 08:47 /workspace/src/.dockerignore
  2621461      4 drwxr-xr-x   2 root     root         4096 Oct  7 08:47 /workspace/src/.cargo
  2621442      4 drwxr-xr-x   2 root     root         4096 Oct  7 08:48 /workspace/artifacts
  2650474      4 drwxr-xr-x   6 root     root         4096 Sep 22 23:09 /workspace/cache
  2669169      4 -rw-r--r--   1 root     root          218 Sep 22 23:08 /workspace/cache/.rustdoc_fingerprint.json
  2757416      4 drwxr-xr-x  24 root     root         4096 Sep 24 10:45 /workspace/cache/doc
  2650476      4 drwxr-xr-x   7 root     root         4096 Sep 24 10:43 /workspace/cache/debug
  2650475      4 drwxr-xr-x   2 root     root         4096 Sep 22 23:02 /workspace/cache/tmp
  2669170      4 -rw-r--r--   1 root     root         1036 Sep 24 12:56 /workspace/cache/.rustc_info.json
  2752513      4 drwxr-xr-x   7 root     root         4096 Sep 24 10:47 /workspace/cache/release
[2025-10-07T08:52:08Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-07T08:52:08Z DEBUG ambient_ci::plan] RUN: Action CargoFmt
[2025-10-07T08:52:08Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFmt
[2025-10-07T08:52:08Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/workspace/deps",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        },
        source_dir: "/workspace/src",
    }
SPAWN: argv=["cargo", "--version"]
       cwd=/workspace/src (exists? true)
cargo 1.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-07T08:52:11Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-07T08:52:11Z DEBUG ambient_ci::plan] RUN: Action CargoClippy
[2025-10-07T08:52:11Z DEBUG ambient_ci::action] Plan::execute: plan=CargoClippy
[2025-10-07T08:52:11Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_HOME": "/workspace/deps",
            "CARGO_TARGET_DIR": "/workspace/cache",
            "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        },
        source_dir: "/workspace/src",
    }
SPAWN: argv=["cargo", "--version"]
       cwd=/workspace/src (exists? true)
cargo 1.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 getrandom v0.2.15
    Checking erased-serde v0.4.6
    Checking serde_fmt v1.0.3
    Checking radicle-ssh v0.10.0 (/workspace/src/crates/radicle-ssh)
    Checking radicle-dag v0.10.0 (/workspace/src/crates/radicle-dag)
    Checking rand_core v0.6.4
    Checking ec25519 v0.1.0
    Checking radicle-signals v0.11.0 (/workspace/src/crates/radicle-signals)
    Checking crypto-common v0.1.6
    Checking rand v0.8.5
    Checking cipher v0.4.4
    Checking value-bag-serde1 v1.11.1
    Checking value-bag v1.11.1
    Checking digest v0.10.7
    Checking universal-hash v0.5.1
    Checking log v0.4.27
    Checking aead v0.5.2
    Checking sha2 v0.10.8
    Checking poly1305 v0.8.0
    Checking chacha20 v0.9.1
    Checking cyphergraphy v0.3.0
    Checking hmac v0.12.1
    Checking prodash v29.0.2
    Checking git2 v0.19.0
    Checking polyval v0.6.2
    Checking pbkdf2 v0.12.2
    Checking ghash v0.5.1
    Checking sha3 v0.10.8
    Checking aes v0.8.4
    Checking gix-features v0.39.1
    Checking ctr v0.9.2
    Checking cypheraddr v0.4.0
    Checking chacha20poly1305 v0.10.1
    Checking ssh-encoding v0.2.0
    Checking aes-gcm v0.10.3
    Checking cbc v0.1.2
    Checking blowfish v0.9.1
    Checking socks5-client v0.4.1
    Checking ssh-cipher v0.2.0
    Checking bcrypt-pbkdf v0.10.0
    Checking noise-framework v0.4.0
    Checking qcheck v1.0.0
    Checking ssh-key v0.6.6
    Checking cyphernet v0.5.2
    Checking gix-object v0.46.1
    Checking serde-untagged v0.1.7
    Checking gix-commitgraph v0.25.1
    Checking gix-fs v0.12.1
    Checking gix-tempfile v15.0.0
    Checking mio v1.0.4
    Checking gix-revwalk v0.17.0
    Checking gix-lock v15.0.1
    Checking gix-url v0.28.2
    Checking gix-revision v0.31.1
    Checking gix-traverse v0.43.1
    Checking gix-diff v0.49.0
    Checking mio v0.8.11
    Checking gix-transport v0.44.0
    Checking gix-pack v0.56.0
    Checking radicle-git-ext v0.8.1
    Checking signal-hook-mio v0.2.4
    Checking gix-refspec v0.27.0
    Checking gix-credentials v0.26.0
    Checking radicle-crypto v0.14.0 (/workspace/src/crates/radicle-crypto)
    Checking gix-negotiate v0.17.0
    Checking gix-shallow v0.1.0
    Checking gix-ref v0.49.1
   Compiling portable-atomic v1.11.0
    Checking radicle-cob v0.17.0 (/workspace/src/crates/radicle-cob)
    Checking gix-protocol v0.47.0
    Checking gix-odb v0.66.0
    Checking unicode-width v0.2.1
    Checking console v0.16.0
    Checking crossterm v0.25.0
    Checking salsa20 v0.10.2
    Checking radicle v0.20.0 (/workspace/src/crates/radicle)
    Checking unit-prefix v0.5.1
    Checking scrypt v0.11.0
    Checking crossterm v0.29.0
    Checking indicatif v0.18.0
    Checking inquire v0.7.5
    Checking systemd-journal-logger v2.2.2
    Checking pin-project-lite v0.2.16
    Checking os_info v3.12.0
    Checking tokio v1.47.1
   Compiling radicle-cli v0.17.0 (/workspace/src/crates/radicle-cli)
   Compiling radicle-node v0.16.0 (/workspace/src/crates/radicle-node)
    Checking radicle-surf v0.22.0
    Checking radicle-term v0.16.0 (/workspace/src/crates/radicle-term)
    Checking human-panic v2.0.3
    Checking radicle-systemd v0.11.0 (/workspace/src/crates/radicle-systemd)
    Checking escargot v0.5.10
    Checking env_filter v0.1.3
    Checking ahash v0.8.11
    Checking env_logger v0.11.8
   Compiling radicle-remote-helper v0.14.0 (/workspace/src/crates/radicle-remote-helper)
    Checking test-log v0.2.18
    Checking referencing v0.30.0
    Checking jsonschema v0.30.0
    Checking structured-logger v1.0.4
    Checking radicle-fetch v0.16.0 (/workspace/src/crates/radicle-fetch)
    Checking radicle-cli-test v0.13.0 (/workspace/src/crates/radicle-cli-test)
    Checking radicle-schemars v0.6.0 (/workspace/src/crates/radicle-schemars)
    Checking radicle-protocol v0.4.0 (/workspace/src/crates/radicle-protocol)
error: constant `DEFAULT_DIAL_TIMEOUT` is never used
  --> crates/radicle-node/src/wire.rs:52:11
   |
52 | pub const DEFAULT_DIAL_TIMEOUT: time::Duration = time::Duration::from_secs(6);
   |           ^^^^^^^^^^^^^^^^^^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

error: could not compile `radicle-node` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `radicle-node` (lib test) due to 1 previous error
[2025-10-07T08:52:37Z ERROR ambient_ci::plan] ERROR: Action failed: failed to execute cargo
[2025-10-07T08:52:37Z 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-07T08:52:42Z 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": "5ea90b9757059522e80301bbd9b1458a39a71f7e",
    "author": {
      "id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
      "alias": "lorenz"
    },
    "title": "node: Use Mio",
    "state": {
      "status": "open",
      "conflicts": []
    },
    "before": "ed5a68c1d74a6d29d1206b48c80e61e25560a51f",
    "after": "a5d03f208fa44f951871b3489c9cf93514299195",
    "commits": [
      "a5d03f208fa44f951871b3489c9cf93514299195",
      "435b2d466b97069f19081c58024f3f9deeb8bda9",
      "d10458413deec8a919e86cc964a51abdf8e5bbb4"
    ],
    "target": "ed5a68c1d74a6d29d1206b48c80e61e25560a51f",
    "labels": [],
    "assignees": [],
    "revisions": [
      {
        "id": "5ea90b9757059522e80301bbd9b1458a39a71f7e",
        "author": {
          "id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
          "alias": "lorenz"
        },
        "description": "The dependencies `netservices`, `io-reactor` and `popol` served us well,\nhowever they do not support Windows and are not actively maintained.\n\nThis change removes the aforementioned dependencies (and `libc` along\nwith them). It reuses the integration with `cyphernet` from\n`netservices` for Noise and SOCKS.\n\nThe new module `reactor` is a rewrite of `io-reactor` on top of Mio.\n\nNote that no tests were changed.\n\n(This message was written with Radicle on Windows, running on top of this patch.)",
        "base": "a4d83ec8d22a80a4d01381a091967b57fa595018",
        "oid": "6d9fea39446f301f318b10a329f519b168de18e2",
        "timestamp": 1756060216
      },
      {
        "id": "ce806a09b11d8396434185ab85c2ea16f68e102f",
        "author": {
          "id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
          "alias": "lorenz"
        },
        "description": "More madness.",
        "base": "a4d83ec8d22a80a4d01381a091967b57fa595018",
        "oid": "817cbe7e1a577072042f0e879bd6494b9898df0e",
        "timestamp": 1756065930
      },
      {
        "id": "fb14691f5e82c3964a881ebd326f7745be444166",
        "author": {
          "id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
          "alias": "lorenz"
        },
        "description": "Rebase",
        "base": "df7878365f6806f951e1ba7afd7bc9995f210b95",
        "oid": "708ceb2e8a2701d0d12b90d94346949157c0c82d",
        "timestamp": 1759342520
      },
      {
        "id": "a45e6be0dceb48d302211b4e73b83877e7500278",
        "author": {
          "id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
          "alias": "lorenz"
        },
        "description": "Rebase on new temporary repository implementation",
        "base": "dbdef0d843205eaf5d271ebe8b604c82845ed8c2",
        "oid": "015506adde2fadb59cd61127c525884a81835333",
        "timestamp": 1759426738
      },
      {
        "id": "a6d088054f4bd0e1290a2c7d668025cf5d16b762",
        "author": {
          "id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
          "alias": "lorenz"
        },
        "description": "Unstack from repository locking.",
        "base": "5cd016b587a2a90f2321af41122cc12b01b7f391",
        "oid": "56baf2656bbe40bb144a82b6d47a95b51c78f087",
        "timestamp": 1759427061
      },
      {
        "id": "0d911013e600e4723d6cde63b03dbcff48c187de",
        "author": {
          "id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
          "alias": "lorenz"
        },
        "description": "Rebase",
        "base": "ed5a68c1d74a6d29d1206b48c80e61e25560a51f",
        "oid": "a5d03f208fa44f951871b3489c9cf93514299195",
        "timestamp": 1759826819
      }
    ]
  }
}

Ambient stdout

[2025-10-07T08:47:42Z INFO  ambient] ambient starts
[2025-10-07T08:47:42Z DEBUG ambient] load default configuration file /home/_rad/.config/ambient/config.yaml if it exists
[2025-10-07T08:47:42Z 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: None,
        rsync_target_map: None,
        dput_target: None,
        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-10-07T08:47:42Z 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: None,
        rsync_target_map: None,
        dput_target: None,
        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-10-07T08:47:42Z DEBUG ambient_ci::project] load project state from /srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/meta.yaml
[2025-10-07T08:47:42Z DEBUG ambient_ci::run] latest commit: "6562e5c4e4c1370a05f5f9d22c176b66ddc3fd35"
[2025-10-07T08:47:42Z DEBUG ambient_ci::run] is a git repository
[2025-10-07T08:47:42Z DEBUG ambient_ci::run] git repository is clean
[2025-10-07T08:47:42Z DEBUG ambient_ci::run] current (HEAD) commit: a5d03f208fa44f951871b3489c9cf93514299195
[2025-10-07T08:47:42Z DEBUG ambient_ci::run] no dry run requested
[2025-10-07T08:47:42Z DEBUG ambient_ci::run] forced run requested
[2025-10-07T08:47:42Z DEBUG ambient_ci::run] run? true
[2025-10-07T08:47:42Z INFO  ambient_ci::run] project rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5: running CI
[2025-10-07T08:47:42Z DEBUG ambient_ci::run] Executing pre-plan steps
[2025-10-07T08:47:42Z DEBUG ambient_ci::plan] RUN: Action CargoFetch {
        sourcedir: "/tmp/.tmpk7rJyK/src",
    }
[2025-10-07T08:47:42Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFetch {
        sourcedir: "/tmp/.tmpk7rJyK/src",
    }
[2025-10-07T08:47:42Z DEBUG ambient_ci::action] Plan::execute: context=Context {
        envs: {
            "CARGO_TARGET_DIR": "/srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/cache",
            "CARGO_HOME": "/srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/dependencies",
            "PATH": "/root/.cargo/bin:/bin:/home/_rad/.radicle/bin:/home/_rad/.cargo/bin",
        },
        source_dir: "/tmp/.tmpk7rJyK/src",
    }
SPAWN: argv=["cargo", "--version"]
       cwd=/tmp/.tmpk7rJyK/src (exists? true)
cargo 1.88.0 (873a06493 2025-05-10)
SPAWN: argv=["cargo", "clippy", "--version"]
       cwd=/tmp/.tmpk7rJyK/src (exists? true)
clippy 0.1.88 (6b00bc3880 2025-06-23)
SPAWN: argv=["rustc", "--version"]
       cwd=/tmp/.tmpk7rJyK/src (exists? true)
rustc 1.88.0 (6b00bc388 2025-06-23)
SPAWN: argv=["cargo", "fetch"]
       cwd=/tmp/.tmpk7rJyK/src (exists? true)
[2025-10-07T08:47:42Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-07T08:47:42Z DEBUG ambient_ci::plan] All actions were performed successfully
[2025-10-07T08:47:42Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmpbIyj3a/src.tar
[2025-10-07T08:47:43Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmpbIyj3a/deps.tar
[2025-10-07T08:47:53Z DEBUG ambient_ci::run] create_executor_vdrive: executor="/usr/bin/ambient-execute-plan"
[2025-10-07T08:47:53Z 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-07T08:47:53Z DEBUG ambient_ci::run] executor bin /usr/bin/ambient-execute-plan
[2025-10-07T08:47:53Z DEBUG ambient_ci::run] copying /usr/bin/ambient-execute-plan to /srv/tmp/.tmpbIyj3a/ambient-execute-plan/run-ci
[2025-10-07T08:47:53Z DEBUG ambient_ci::run] copy OK: true
[2025-10-07T08:47:53Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmpbIyj3a/executor.tar
[2025-10-07T08:48:42Z DEBUG ambient_ci::project] removing run log file /srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/run.log
[2025-10-07T08:48:42Z DEBUG ambient_ci::project] statedir is /srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5, exists? true
[2025-10-07T08:48:42Z DEBUG ambient_ci::project] creating run log file /srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/run.log
[2025-10-07T08:48:42Z DEBUG ambient_ci::project] created run log file /srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/run.log OK
[2025-10-07T08:48:42Z DEBUG ambient_ci::cloud_init] with_hostname called: "ambient"
[2025-10-07T08:48:42Z DEBUG ambient_ci::cloud_init] with_runcmd called: "echo xyzzy > /dev/ttyS1"
[2025-10-07T08:48:42Z 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-07T08:48:42Z DEBUG ambient_ci::cloud_init] with_runcmd called: "poweroff"
[2025-10-07T08:48:42Z 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-07T08:48:42Z DEBUG ambient_ci::qemu] run QEMU
[2025-10-07T08:48:42Z DEBUG ambient_ci::qemu] create copy-on-write image and UEFI vars file
[2025-10-07T08:48:42Z DEBUG ambient_ci::qemu_utils] qemu-img create /srv/tmp/.tmpx8iYkQ/.tmpx64jG0/vm.qcow2 backing on /home/_rad/ambient.qcow2
[2025-10-07T08:48:42Z DEBUG ambient_ci::qemu] create cloud-init ISO file
[2025-10-07T08:48:42Z 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-07T08:48:42Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpw5b9lP/meta-data
[2025-10-07T08:48:42Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpw5b9lP/user-data
[2025-10-07T08:48:42Z DEBUG ambient_ci::qemu] set console log file to /srv/tmp/.tmpx8iYkQ/.tmpx64jG0/console.log
[2025-10-07T08:48:42Z DEBUG ambient_ci::util] create file /srv/tmp/.tmpx8iYkQ/.tmpx64jG0/console.log
[2025-10-07T08:48:42Z DEBUG ambient_ci::qemu] set run file to /srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/run.log
[2025-10-07T08:48:42Z DEBUG ambient_ci::util] create file /srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/run.log
[2025-10-07T08:48:42Z 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/.tmpx8iYkQ/.tmpx64jG0/console.log",
            "-serial",
            "file:/srv/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=/srv/tmp/.tmpx8iYkQ/.tmpx64jG0/vars.fd",
            "-drive",
            "format=qcow2,if=virtio,file=/srv/tmp/.tmpx8iYkQ/.tmpx64jG0/vm.qcow2",
            "-drive",
            "format=raw,if=virtio,file=/srv/tmp/.tmpbIyj3a/executor.tar,readonly=on",
            "-cdrom",
            "/srv/tmp/.tmpx8iYkQ/.tmpx64jG0/cloud_init.iso",
            "-drive",
            "format=raw,if=virtio,file=/srv/tmp/.tmpbIyj3a/src.tar,readonly=on",
            "-drive",
            "format=raw,if=virtio,file=/srv/tmp/.tmpbIyj3a/artifacts.tar",
            "-drive",
            "format=raw,if=virtio,file=/srv/tmp/.tmpbIyj3a/cache.tar",
            "-drive",
            "format=raw,if=virtio,file=/srv/tmp/.tmpbIyj3a/deps.tar,readonly=on",
            "-nodefaults",
            "-no-user-config",
        ],
    }
[2025-10-07T08:52:41Z DEBUG ambient_ci::qemu] QEMU finished OK
[2025-10-07T08:52:41Z DEBUG ambient_ci::qemu] run log:
    --------------------==========
    [2025-10-07T08:48:53Z TRACE ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-07T08:48:53Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-07T08:48:53Z INFO  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-07T08:48:53Z WARN  ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
    [2025-10-07T08:48:53Z 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-07T08:48:53Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
            pathname: "/workspace",
        }
    [2025-10-07T08:48:53Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
            pathname: "/workspace",
        }
    [2025-10-07T08:48:53Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_HOME": "/workspace/deps",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            },
            source_dir: "/workspace/src",
        }
    [2025-10-07T08:48:53Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-07T08:48:53Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
            pathname: "/workspace/artifacts",
        }
    [2025-10-07T08:48:53Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
            pathname: "/workspace/artifacts",
        }
    [2025-10-07T08:48:53Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_HOME": "/workspace/deps",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            },
            source_dir: "/workspace/src",
        }
    [2025-10-07T08:48:53Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-07T08:48:53Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-10-07T08:48:53Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-10-07T08:48:53Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_HOME": "/workspace/deps",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            },
            source_dir: "/workspace/src",
        }
    [2025-10-07T08:48:53Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
    [2025-10-07T08:48:55Z TRACE ambient_ci::vdrive] extraction OK
    [2025-10-07T08:48:55Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-07T08:48:55Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-10-07T08:48:55Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-10-07T08:48:55Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_HOME": "/workspace/deps",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            },
            source_dir: "/workspace/src",
        }
    [2025-10-07T08:48:55Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
    [2025-10-07T08:49:19Z TRACE ambient_ci::vdrive] extraction OK
    [2025-10-07T08:49:19Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-07T08:49:19Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-10-07T08:49:19Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-10-07T08:49:19Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_HOME": "/workspace/deps",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            },
            source_dir: "/workspace/src",
        }
    [2025-10-07T08:49:19Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
    [2025-10-07T08:52:08Z TRACE ambient_ci::vdrive] extraction OK
    [2025-10-07T08:52:08Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-07T08:52:08Z DEBUG ambient_ci::plan] RUN: Action Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    [2025-10-07T08:52:08Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    [2025-10-07T08:52:08Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_HOME": "/workspace/deps",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            },
            source_dir: "/workspace/src",
        }
    SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
           cwd=/workspace/src (exists? true)
      2621441      4 drwxr-xr-x   6 root     root         4096 Oct  7 08:49 /workspace
      2622247      4 drwxr-xr-x   3 root     root         4096 Oct  7 08:47 /workspace/deps
      2622248      0 -rw-r--r--   1 root     root            0 Sep 22 16:46 /workspace/deps/.package-cache-mutate
      2622251      4 drwxr-xr-x   5 root     root         4096 Sep 22 16:46 /workspace/deps/registry
      2622249    128 -rw-r--r--   1 root     root       131072 Oct  7 08:47 /workspace/deps/.global-cache
      2622250      0 -rw-r--r--   1 root     root            0 Sep 22 16:46 /workspace/deps/.package-cache
      2621443      4 drwxr-xr-x  12 root     root         4096 Oct  7 08:47 /workspace/src
      2621499      4 -rw-r--r--   1 root     root         2653 Oct  7 08:47 /workspace/src/Cargo.toml
      2622243     12 -rw-r--r--   1 root     root         9636 Oct  7 08:47 /workspace/src/CONTRIBUTING.md
      2621500      4 drwxr-xr-x   2 root     root         4096 Oct  7 08:47 /workspace/src/.config
      2621496      4 -rw-r--r--   1 root     root         1623 Oct  7 08:47 /workspace/src/build.rs
      2621502      4 -rw-r--r--   1 root     root          426 Oct  7 08:47 /workspace/src/radicle-node.1.adoc
      2621504      4 drwxr-xr-x   8 root     root         4096 Oct  7 08:47 /workspace/src/.git
      2622240      8 -rw-r--r--   1 root     root         7144 Oct  7 08:47 /workspace/src/rad-id.1.adoc
      2621460      4 -rw-r--r--   1 root     root         2163 Oct  7 08:47 /workspace/src/VERSIONING.md
      2621495      4 -rw-r--r--   1 root     root         3133 Oct  7 08:47 /workspace/src/README.md
      2621633     12 -rw-r--r--   1 root     root        10975 Oct  7 08:47 /workspace/src/rad-patch.1.adoc
      2622244      4 -rw-r--r--   1 root     root           79 Oct  7 08:47 /workspace/src/ARCHITECTURE.md
      2621641      4 drwxr-xr-x  17 root     root         4096 Oct  7 08:47 /workspace/src/crates
      2621448      4 drwxr-xr-x   2 root     root         4096 Oct  7 08:47 /workspace/src/scripts
      2621444      4 drwxr-xr-x   2 root     root         4096 Oct  7 08:47 /workspace/src/.radicle
      2621467     16 -rw-r--r--   1 root     root        14022 Oct  7 08:47 /workspace/src/CHANGELOG.md
      2621482      4 drwxr-xr-x   3 root     root         4096 Oct  7 08:47 /workspace/src/debian
      2621465      4 -rw-r--r--   1 root     root           42 Oct  7 08:47 /workspace/src/.envrc
      2622241      4 -rw-r--r--   1 root     root         1203 Oct  7 08:47 /workspace/src/DCO
      2622236      4 drwxr-xr-x   3 root     root         4096 Oct  7 08:47 /workspace/src/.github
      2622246    120 -rw-r--r--   1 root     root       122165 Oct  7 08:47 /workspace/src/Cargo.lock
      2621634      4 drwxr-xr-x   5 root     root         4096 Oct  7 08:47 /workspace/src/systemd
      2621632     12 -rw-r--r--   1 root     root         9723 Oct  7 08:47 /workspace/src/LICENSE-APACHE
      2621498      4 -rw-r--r--   1 root     root          101 Oct  7 08:47 /workspace/src/.gitignore
      2622242      8 -rw-r--r--   1 root     root         5102 Oct  7 08:47 /workspace/src/flake.lock
      2621464      4 -rw-r--r--   1 root     root           77 Oct  7 08:47 /workspace/src/rust-toolchain.toml
      2621497     12 -rw-r--r--   1 root     root        10819 Oct  7 08:47 /workspace/src/flake.nix
      2621468      4 -rw-r--r--   1 root     root          571 Oct  7 08:47 /workspace/src/git-remote-rad.1.adoc
      2621466      4 -rw-r--r--   1 root     root           61 Oct  7 08:47 /workspace/src/.env.seed
      2621503      8 -rw-r--r--   1 root     root         5432 Oct  7 08:47 /workspace/src/deny.toml
      2621458      8 -rw-r--r--   1 root     root         7645 Oct  7 08:47 /workspace/src/HACKING.md
      2621447      4 -rw-r--r--   1 root     root         1079 Oct  7 08:47 /workspace/src/LICENSE-MIT
      2621463      8 -rw-r--r--   1 root     root         8023 Oct  7 08:47 /workspace/src/rad.1.adoc
      2621469      4 drwxr-xr-x   2 root     root         4096 Oct  7 08:47 /workspace/src/build
      2622245      4 -rw-r--r--   1 root     root         1083 Oct  7 08:47 /workspace/src/.gitsigners
      2621459      4 -rw-r--r--   1 root     root           30 Oct  7 08:47 /workspace/src/.dockerignore
      2621461      4 drwxr-xr-x   2 root     root         4096 Oct  7 08:47 /workspace/src/.cargo
      2621442      4 drwxr-xr-x   2 root     root         4096 Oct  7 08:48 /workspace/artifacts
      2650474      4 drwxr-xr-x   6 root     root         4096 Sep 22 23:09 /workspace/cache
      2669169      4 -rw-r--r--   1 root     root          218 Sep 22 23:08 /workspace/cache/.rustdoc_fingerprint.json
      2757416      4 drwxr-xr-x  24 root     root         4096 Sep 24 10:45 /workspace/cache/doc
      2650476      4 drwxr-xr-x   7 root     root         4096 Sep 24 10:43 /workspace/cache/debug
      2650475      4 drwxr-xr-x   2 root     root         4096 Sep 22 23:02 /workspace/cache/tmp
      2669170      4 -rw-r--r--   1 root     root         1036 Sep 24 12:56 /workspace/cache/.rustc_info.json
      2752513      4 drwxr-xr-x   7 root     root         4096 Sep 24 10:47 /workspace/cache/release
    [2025-10-07T08:52:08Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-07T08:52:08Z DEBUG ambient_ci::plan] RUN: Action CargoFmt
    [2025-10-07T08:52:08Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFmt
    [2025-10-07T08:52:08Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_HOME": "/workspace/deps",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            },
            source_dir: "/workspace/src",
        }
    SPAWN: argv=["cargo", "--version"]
           cwd=/workspace/src (exists? true)
    cargo 1.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-07T08:52:11Z DEBUG ambient_ci::plan] RUN: Action finished OK
    [2025-10-07T08:52:11Z DEBUG ambient_ci::plan] RUN: Action CargoClippy
    [2025-10-07T08:52:11Z DEBUG ambient_ci::action] Plan::execute: plan=CargoClippy
    [2025-10-07T08:52:11Z DEBUG ambient_ci::action] Plan::execute: context=Context {
            envs: {
                "CARGO_HOME": "/workspace/deps",
                "CARGO_TARGET_DIR": "/workspace/cache",
                "PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            },
            source_dir: "/workspace/src",
        }
    SPAWN: argv=["cargo", "--version"]
           cwd=/workspace/src (exists? true)
    cargo 1.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 getrandom v0.2.15
        Checking erased-serde v0.4.6
        Checking serde_fmt v1.0.3
        Checking radicle-ssh v0.10.0 (/workspace/src/crates/radicle-ssh)
        Checking radicle-dag v0.10.0 (/workspace/src/crates/radicle-dag)
        Checking rand_core v0.6.4
        Checking ec25519 v0.1.0
        Checking radicle-signals v0.11.0 (/workspace/src/crates/radicle-signals)
        Checking crypto-common v0.1.6
        Checking rand v0.8.5
        Checking cipher v0.4.4
        Checking value-bag-serde1 v1.11.1
        Checking value-bag v1.11.1
        Checking digest v0.10.7
        Checking universal-hash v0.5.1
        Checking log v0.4.27
        Checking aead v0.5.2
        Checking sha2 v0.10.8
        Checking poly1305 v0.8.0
        Checking chacha20 v0.9.1
        Checking cyphergraphy v0.3.0
        Checking hmac v0.12.1
        Checking prodash v29.0.2
        Checking git2 v0.19.0
        Checking polyval v0.6.2
        Checking pbkdf2 v0.12.2
        Checking ghash v0.5.1
        Checking sha3 v0.10.8
        Checking aes v0.8.4
        Checking gix-features v0.39.1
        Checking ctr v0.9.2
        Checking cypheraddr v0.4.0
        Checking chacha20poly1305 v0.10.1
        Checking ssh-encoding v0.2.0
        Checking aes-gcm v0.10.3
        Checking cbc v0.1.2
        Checking blowfish v0.9.1
        Checking socks5-client v0.4.1
        Checking ssh-cipher v0.2.0
        Checking bcrypt-pbkdf v0.10.0
        Checking noise-framework v0.4.0
        Checking qcheck v1.0.0
        Checking ssh-key v0.6.6
        Checking cyphernet v0.5.2
        Checking gix-object v0.46.1
        Checking serde-untagged v0.1.7
        Checking gix-commitgraph v0.25.1
        Checking gix-fs v0.12.1
        Checking gix-tempfile v15.0.0
        Checking mio v1.0.4
        Checking gix-revwalk v0.17.0
        Checking gix-lock v15.0.1
        Checking gix-url v0.28.2
        Checking gix-revision v0.31.1
        Checking gix-traverse v0.43.1
        Checking gix-diff v0.49.0
        Checking mio v0.8.11
        Checking gix-transport v0.44.0
        Checking gix-pack v0.56.0
        Checking radicle-git-ext v0.8.1
        Checking signal-hook-mio v0.2.4
        Checking gix-refspec v0.27.0
        Checking gix-credentials v0.26.0
        Checking radicle-crypto v0.14.0 (/workspace/src/crates/radicle-crypto)
        Checking gix-negotiate v0.17.0
        Checking gix-shallow v0.1.0
        Checking gix-ref v0.49.1
       Compiling portable-atomic v1.11.0
        Checking radicle-cob v0.17.0 (/workspace/src/crates/radicle-cob)
        Checking gix-protocol v0.47.0
        Checking gix-odb v0.66.0
        Checking unicode-width v0.2.1
        Checking console v0.16.0
        Checking crossterm v0.25.0
        Checking salsa20 v0.10.2
        Checking radicle v0.20.0 (/workspace/src/crates/radicle)
        Checking unit-prefix v0.5.1
        Checking scrypt v0.11.0
        Checking crossterm v0.29.0
        Checking indicatif v0.18.0
        Checking inquire v0.7.5
        Checking systemd-journal-logger v2.2.2
        Checking pin-project-lite v0.2.16
        Checking os_info v3.12.0
        Checking tokio v1.47.1
       Compiling radicle-cli v0.17.0 (/workspace/src/crates/radicle-cli)
       Compiling radicle-node v0.16.0 (/workspace/src/crates/radicle-node)
        Checking radicle-surf v0.22.0
        Checking radicle-term v0.16.0 (/workspace/src/crates/radicle-term)
        Checking human-panic v2.0.3
        Checking radicle-systemd v0.11.0 (/workspace/src/crates/radicle-systemd)
        Checking escargot v0.5.10
        Checking env_filter v0.1.3
        Checking ahash v0.8.11
        Checking env_logger v0.11.8
       Compiling radicle-remote-helper v0.14.0 (/workspace/src/crates/radicle-remote-helper)
        Checking test-log v0.2.18
        Checking referencing v0.30.0
        Checking jsonschema v0.30.0
        Checking structured-logger v1.0.4
        Checking radicle-fetch v0.16.0 (/workspace/src/crates/radicle-fetch)
        Checking radicle-cli-test v0.13.0 (/workspace/src/crates/radicle-cli-test)
        Checking radicle-schemars v0.6.0 (/workspace/src/crates/radicle-schemars)
        Checking radicle-protocol v0.4.0 (/workspace/src/crates/radicle-protocol)
    error: constant `DEFAULT_DIAL_TIMEOUT` is never used
      --> crates/radicle-node/src/wire.rs:52:11
       |
    52 | pub const DEFAULT_DIAL_TIMEOUT: time::Duration = time::Duration::from_secs(6);
       |           ^^^^^^^^^^^^^^^^^^^^
       |
       = note: `-D dead-code` implied by `-D warnings`
       = help: to override `-D warnings` add `#[allow(dead_code)]`
    
    error: could not compile `radicle-node` (lib) due to 1 previous error
    warning: build failed, waiting for other jobs to finish...
    error: could not compile `radicle-node` (lib test) due to 1 previous error
    [2025-10-07T08:52:37Z ERROR ambient_ci::plan] ERROR: Action failed: failed to execute cargo
    [2025-10-07T08:52:37Z 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-07T08:52:41Z DEBUG ambient_ci::qemu] QEMU: CI run under exit code 1
[2025-10-07T08:52:42Z DEBUG ambient_ci::run] CI run exit code from QEMU: 1
[2025-10-07T08:52:42Z DEBUG ambient_ci::project] write project state to /srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/meta.yaml
ERROR: CI run failed inside QEMU

Ambient stderr

<empty log>