CI run for rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5

Radicle repository id rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5

Triggered by

{
  "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": "Created",
  "patch": {
    "id": "f0c87afd0186a2931ae2c67b7ab026ddc931bfbf",
    "author": {
      "id": "did:key:z6MkhjouL6i63oTt9zTH4ympbz38kgSG465NaPFnU3YA6fiq",
      "alias": "hu"
    },
    "title": "radicle: Keep pinned repos ordered in config",
    "state": {
      "status": "open",
      "conflicts": []
    },
    "before": "78ba263d0a946c4b90235d562b56ceb7badfc965",
    "after": "ef1c658834f366dbdec3a865adc16dab677fa39e",
    "commits": [
      "ef1c658834f366dbdec3a865adc16dab677fa39e"
    ],
    "target": "570bfc3bbd7692f7aa4fa28fae0ccd5c348b5532",
    "labels": [],
    "assignees": [],
    "revisions": [
      {
        "id": "f0c87afd0186a2931ae2c67b7ab026ddc931bfbf",
        "author": {
          "id": "did:key:z6MkhjouL6i63oTt9zTH4ympbz38kgSG465NaPFnU3YA6fiq",
          "alias": "hu"
        },
        "description": "Do not return them in a random order in radicle-httpd,\nso that we can have them in a defined order in\nradicle-explorer.",
        "base": "78ba263d0a946c4b90235d562b56ceb7badfc965",
        "oid": "ef1c658834f366dbdec3a865adc16dab677fa39e",
        "timestamp": 1751398064
      }
    ]
  }
}

Run log

[2025-07-01T19:56:44Z 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: Extracting tar archive from /dev/vdb
./
./plan.yaml
./run-ci

INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
ambient-execute-plan starts
RunnablePlan::from_file: filename=plan.yaml
steps:
- action: mkdir
  pathname: /workspace
- action: mkdir
  pathname: /workspace/artifacts
- action: tar_extract
  archive: /dev/vdc
  directory: /workspace/src
- action: tar_extract
  archive: /dev/vdf
  directory: /workspace/deps
- action: tar_extract
  archive: /dev/vde
  directory: /workspace/cache
- action: spawn
  argv:
  - find
  - /workspace
  - '-maxdepth'
  - '2'
  - '-ls'
- action: cargo_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"

    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


RUN: Action Mkdir {
    pathname: "/workspace",
}
RUN: Action finished OK
RUN: Action Mkdir {
    pathname: "/workspace/artifacts",
}
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vdc",
    directory: "/workspace/src",
}
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vdf",
    directory: "/workspace/deps",
}
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vde",
    directory: "/workspace/cache",
}
RUN: Action finished OK
RUN: Action Spawn {
    argv: [
        "find",
        "/workspace",
        "-maxdepth",
        "2",
        "-ls",
    ],
}
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
       cwd=/workspace/src (exists? true)
       extra_env=[]
  1048577      4 drwxr-xr-x   6 root     root         4096 Jul  1 19:48 /workspace
  1084066      4 drwxr-xr-x   6 root     root         4096 Jun  7 14:29 /workspace/cache
  1084067      4 drwxr-xr-x   2 root     root         4096 Jun  7 14:23 /workspace/cache/tmp
  1098166      4 -rw-r--r--   1 root     root         1032 Jul  1 19:26 /workspace/cache/.rustc_info.json
  1084068      4 drwxr-xr-x   7 root     root         4096 Jul  1 19:26 /workspace/cache/debug
  1095557      4 -rw-r--r--   1 root     root          218 Jun  7 14:28 /workspace/cache/.rustdoc_fingerprint.json
  1095558      4 drwxr-xr-x   7 root     root         4096 Jul  1 19:31 /workspace/cache/release
  3061838      4 drwxr-xr-x  31 root     root         4096 Jul  1 19:29 /workspace/cache/doc
  1048579      4 drwxr-xr-x  12 root     root         4096 Jul  1 19:42 /workspace/src
  1048595      8 -rw-r--r--   1 root     root         7645 Jul  1 19:42 /workspace/src/HACKING.md
  1048598      4 drwxr-xr-x   2 root     root         4096 Jul  1 19:42 /workspace/src/.cargo
  1048601      4 -rw-r--r--   1 root     root           77 Jul  1 19:42 /workspace/src/rust-toolchain.toml
  1048712      4 drwxr-xr-x  18 root     root         4096 Jul  1 19:42 /workspace/src/crates
  1049266      4 -rw-r--r--   1 root     root           79 Jul  1 19:42 /workspace/src/ARCHITECTURE.md
  1048619      4 drwxr-xr-x   3 root     root         4096 Jul  1 19:42 /workspace/src/debian
  1048636      4 -rw-r--r--   1 root     root         2397 Jul  1 19:42 /workspace/src/Cargo.toml
  1049264      8 -rw-r--r--   1 root     root         5102 Jul  1 19:42 /workspace/src/flake.lock
  1048705      4 drwxr-xr-x   5 root     root         4096 Jul  1 19:42 /workspace/src/systemd
  1048596      4 -rw-r--r--   1 root     root           30 Jul  1 19:42 /workspace/src/.dockerignore
  1048704     12 -rw-r--r--   1 root     root        10770 Jul  1 19:42 /workspace/src/rad-patch.1.adoc
  1049268     96 -rw-r--r--   1 root     root        96026 Jul  1 19:42 /workspace/src/Cargo.lock
  1048583      4 -rw-r--r--   1 root     root         1079 Jul  1 19:42 /workspace/src/LICENSE-MIT
  1048605      4 -rw-r--r--   1 root     root          571 Jul  1 19:42 /workspace/src/git-remote-rad.1.adoc
  1049265     12 -rw-r--r--   1 root     root         8322 Jul  1 19:42 /workspace/src/CONTRIBUTING.md
  1048604      8 -rw-r--r--   1 root     root         4304 Jul  1 19:42 /workspace/src/CHANGELOG.md
  1049263      4 -rw-r--r--   1 root     root         1203 Jul  1 19:42 /workspace/src/DCO
  1048597      4 -rw-r--r--   1 root     root         2163 Jul  1 19:42 /workspace/src/VERSIONING.md
  1049260      4 drwxr-xr-x   2 root     root         4096 Jul  1 19:42 /workspace/src/.github
  1048602      4 -rw-r--r--   1 root     root           42 Jul  1 19:42 /workspace/src/.envrc
  1048632      4 -rw-r--r--   1 root     root         3091 Jul  1 19:42 /workspace/src/README.md
  1048580      4 drwxr-xr-x   2 root     root         4096 Jul  1 19:42 /workspace/src/.radicle
  1048634     12 -rw-r--r--   1 root     root         8796 Jul  1 19:42 /workspace/src/flake.nix
  1048633      4 -rw-r--r--   1 root     root         1623 Jul  1 19:42 /workspace/src/build.rs
  1048637      4 drwxr-xr-x   2 root     root         4096 Jul  1 19:42 /workspace/src/.config
  1048606      4 drwxr-xr-x   2 root     root         4096 Jul  1 19:42 /workspace/src/build
  1048600      8 -rw-r--r--   1 root     root         8022 Jul  1 19:42 /workspace/src/rad.1.adoc
  1048635      4 -rw-r--r--   1 root     root          101 Jul  1 19:42 /workspace/src/.gitignore
  1048641      4 drwxr-xr-x   8 root     root         4096 Jul  1 19:42 /workspace/src/.git
  1048640      8 -rw-r--r--   1 root     root         5432 Jul  1 19:42 /workspace/src/deny.toml
  1049262      8 -rw-r--r--   1 root     root         5666 Jul  1 19:42 /workspace/src/rad-id.1.adoc
  1049267      4 -rw-r--r--   1 root     root         1083 Jul  1 19:42 /workspace/src/.gitsigners
  1048703     12 -rw-r--r--   1 root     root         9723 Jul  1 19:42 /workspace/src/LICENSE-APACHE
  1048639      4 -rw-r--r--   1 root     root          426 Jul  1 19:42 /workspace/src/radicle-node.1.adoc
  1048603      4 -rw-r--r--   1 root     root           61 Jul  1 19:42 /workspace/src/.env.seed
  1048584      4 drwxr-xr-x   2 root     root         4096 Jul  1 19:42 /workspace/src/scripts
  1048578      4 drwxr-xr-x   2 root     root         4096 Jul  1 19:48 /workspace/artifacts
  1049269      4 drwxr-xr-x   3 root     root         4096 Jul  1 19:42 /workspace/deps
  1049270    152 -rw-r--r--   1 root     root       155648 Jul  1 19:42 /workspace/deps/.global-cache
  1049272      4 drwxr-xr-x   5 root     root         4096 Jun  7 14:22 /workspace/deps/registry
  1049271      0 -rw-r--r--   1 root     root            0 Jun  7 14:22 /workspace/deps/.package-cache
RUN: Action finished OK
RUN: Action CargoFmt
SPAWN: argv=["cargo", "fmt", "--check"]
       cwd=/workspace/src (exists? true)
       extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")]
RUN: Action finished OK
RUN: Action CargoClippy
SPAWN: argv=["cargo", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"]
       cwd=/workspace/src (exists? true)
       extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")]
    Checking radicle-ssh v0.9.0 (/workspace/src/crates/radicle-ssh)
    Checking radicle-dag v0.10.0 (/workspace/src/crates/radicle-dag)
    Checking radicle-signals v0.11.0 (/workspace/src/crates/radicle-signals)
   Compiling radicle-cli v0.13.0 (/workspace/src/crates/radicle-cli)
    Checking radicle-term v0.12.0 (/workspace/src/crates/radicle-term)
   Compiling radicle-node v0.11.0 (/workspace/src/crates/radicle-node)
    Checking radicle-crypto v0.12.0 (/workspace/src/crates/radicle-crypto)
    Checking radicle-systemd v0.9.0 (/workspace/src/crates/radicle-systemd)
   Compiling radicle-remote-helper v0.10.0 (/workspace/src/crates/radicle-remote-helper)
    Checking radicle-cob v0.14.0 (/workspace/src/crates/radicle-cob)
    Checking radicle-crdt v0.1.0 (/workspace/src/crates/radicle-crdt)
    Checking radicle v0.15.0 (/workspace/src/crates/radicle)
error: unused import: `std::collections::HashSet`
 --> crates/radicle/src/web.rs:3:5
  |
3 | use std::collections::HashSet;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `-D unused-imports` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(unused_imports)]`

error: could not compile `radicle` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `radicle` (lib test) due to 1 previous error
ERROR: Action failed: command failed: ["cargo", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"]
ERROR: command failed: ["cargo", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"]
EXIT CODE: 1
[2025-07-01T19:56:44Z INFO  ambient] ambient ends successfully