CI run for subplot

Radicle repository id rad:zjxyd2A1A7FnxtC69qDfoAajfTHo

Triggered by

{
  "request": "trigger",
  "version": 1,
  "event_type": "push",
  "repository": {
    "id": "rad:zjxyd2A1A7FnxtC69qDfoAajfTHo",
    "name": "subplot",
    "description": "Capture and communicate acceptance criteria and their verification",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
    ]
  },
  "pusher": {
    "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
    "alias": "liw"
  },
  "before": "bf8a53c67c0d1b33d44a7d948f9a7c6e92733040",
  "after": "bf8a53c67c0d1b33d44a7d948f9a7c6e92733040",
  "branch": "main",
  "commits": [
    "bf8a53c67c0d1b33d44a7d948f9a7c6e92733040",
    "4df5ee692428f67728579c0bdc4d6d99de44a6c4",
    "659d021e08be8e31d690d0ae2cad2299788c8ed7",
    "bfb4bc2ea399c181603b061b40150994e75a103a",
    "bbfd906e0ead574af559eddf2441287c038b5348",
    "e31ce0fa913a77257a4bcab46e2c6ad5d4c30f1d",
    "98e71d9cd6c3c52bdbdffaf341cd214846255059",
    "b9f88335d22e153022f9adaa2ae93b99d5817826",
    "babddd293dc9606be3e10cbf7b250d3b1481bd55",
    "534c847ee6626653b3af6d1fe642aa8ea8a16e7e",
    "8ab306162e3b451f00d1b4f44975f1641c0be227",
    "89453dae81d7546458f3164d321eef968b49109b",
    "3daae45906cec1e7a25e33916a3c777deb09ff43",
    "5bb3f7f6de0c0095fa665096bec580c9be467827"
  ]
}

Run log

[2025-05-16T13:06:17Z INFO  ambient] ambient starts
[=3h[=3hBdsDxe: failed to load Boot0001 "UEFI QEMU DVD-ROM QM00003 " from PciRoot(0x0)/Pci(0x1,0x1)/Ata(Secondary,Master,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: shell
  shell: |
    export DEBEMAIL=liw@liw.fi
    export DEBFULLNAME="Lars Wirzenius"
    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
    subplot docgen subplot.subplot -o subplot.html
    subplot docgen book/user-guide.subplot -o book/user-guide.html

    ./check --offline

    # Clean up after tests and documentation building.
    git reset --hard
    git clean -fdx
    git status --ignored

    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=[]
   131073      4 drwxr-xr-x   6 root     root         4096 May 16 13:04 /workspace
   131074      4 drwxr-xr-x   2 root     root         4096 May 16 13:04 /workspace/artifacts
   131341      4 drwxr-xr-x   3 root     root         4096 May 16 13:03 /workspace/deps
   131344      4 drwxr-xr-x   5 root     root         4096 Apr  9 04:21 /workspace/deps/registry
   131342     88 -rw-r--r--   1 root     root        90112 May 16 13:03 /workspace/deps/.global-cache
   131343      0 -rw-r--r--   1 root     root            0 Apr  9 04:21 /workspace/deps/.package-cache
   145364      4 drwxr-xr-x   6 root     root         4096 Apr  9 04:23 /workspace/cache
   145366      4 drwxr-xr-x   7 root     root         4096 Apr 28 09:22 /workspace/cache/debug
   669515      4 drwxr-xr-x   7 root     root         4096 Apr 28 09:22 /workspace/cache/release
   145365      4 drwxr-xr-x   2 root     root         4096 Apr  9 04:22 /workspace/cache/tmp
   672332      4 drwxr-xr-x  11 root     root         4096 Apr 28 09:21 /workspace/cache/doc
   163124      4 -rw-r--r--   1 root     root          218 Apr 14 11:14 /workspace/cache/.rustdoc_fingerprint.json
   163125      4 -rw-r--r--   1 root     root         1033 Apr 28 09:21 /workspace/cache/.rustc_info.json
   131075      4 drwxr-xr-x  15 root     root         4096 May 16 13:03 /workspace/src
   131114      4 -rw-r--r--   1 root     root           56 May 16 13:03 /workspace/src/flake8.ini
   131183      4 drwxr-xr-x   3 root     root         4096 May 16 13:03 /workspace/src/tests
   131144      8 -rw-r--r--   1 root     root         5617 May 16 13:03 /workspace/src/build.rs
   131338      4 -rw-r--r--   1 root     root         3390 May 16 13:03 /workspace/src/RELEASE.md
   131150      4 drwxr-xr-x   5 root     root         4096 May 16 13:03 /workspace/src/subplotlib
   131301      4 drwxr-xr-x   3 root     root         4096 May 16 13:03 /workspace/src/bin
   131079      4 -rw-r--r--   1 root     root         1366 May 16 13:03 /workspace/src/DCO-1-1.txt
   131138      4 drwxr-xr-x   3 root     root         4096 May 16 13:03 /workspace/src/subplotlib-derive
   131076      4 -rw-r--r--   1 root     root         3370 May 16 13:03 /workspace/src/subplot.py
   131117      4 -rwxr-xr-x   1 root     root          637 May 16 13:03 /workspace/src/stress
   131148      8 -rw-r--r--   1 root     root         6501 May 16 13:03 /workspace/src/DECISIONS.md
   131132      4 -rw-r--r--   1 root     root         1286 May 16 13:03 /workspace/src/reference.md
   131145      4 -rw-r--r--   1 root     root         1292 May 16 13:03 /workspace/src/flake.nix
   131197      4 -rw-r--r--   1 root     root          273 May 16 13:03 /workspace/src/reference.subplot.disabled
   131198      4 -rw-r--r--   1 root     root          295 May 16 13:03 /workspace/src/deny.toml
   131339      8 -rw-r--r--   1 root     root         5183 May 16 13:03 /workspace/src/CONTRIBUTING.md
   131196      4 -rw-r--r--   1 root     root          689 May 16 13:03 /workspace/src/reference.py
   131109      4 -rw-r--r--   1 root     root         2648 May 16 13:03 /workspace/src/subplot.yaml
   131146      4 -rw-r--r--   1 root     root          136 May 16 13:03 /workspace/src/.gitignore
   131115      4 -rw-r--r--   1 root     root           10 May 16 13:03 /workspace/src/.envrc
   131137      4 -rw-r--r--   1 root     root         3355 May 16 13:03 /workspace/src/README.md
   131133      4 drwxr-xr-x   2 root     root         4096 May 16 13:03 /workspace/src/book
   131077      4 drwxr-xr-x   2 root     root         4096 May 16 13:03 /workspace/src/.radicle
   131147      4 -rw-r--r--   1 root     root         1568 May 16 13:03 /workspace/src/Cargo.toml
   131118      4 drwxr-xr-x   3 root     root         4096 May 16 13:03 /workspace/src/debian
   131081      4 drwxr-xr-x   3 root     root         4096 May 16 13:03 /workspace/src/.gitlab
   131108      4 -rwxr-xr-x   1 root     root          489 May 16 13:03 /workspace/src/install-debian.sh
   131337      4 -rw-r--r--   1 root     root         1385 May 16 13:03 /workspace/src/flake.lock
   131085     16 -rwxr-xr-x   1 root     root        14124 May 16 13:03 /workspace/src/check
   131149      4 -rw-r--r--   1 root     root          284 May 16 13:03 /workspace/src/subplot.subplot
   131300      4 -rwxr-xr-x   1 root     root         1173 May 16 13:03 /workspace/src/build-docs
   131136     96 -rw-r--r--   1 root     root        95971 May 16 13:03 /workspace/src/subplot.md
   131116     20 -rw-r--r--   1 root     root        19652 May 16 13:03 /workspace/src/NEWS.md
   131220      4 -rw-r--r--   1 root     root          667 May 16 13:03 /workspace/src/.gitlab-ci.yml
   131199      4 -rwxr-xr-x   1 root     root         1195 May 16 13:03 /workspace/src/stressgen
   131110      4 drwxr-xr-x   3 root     root         4096 May 16 13:03 /workspace/src/subplot-build
   131200      4 drwxr-xr-x   5 root     root         4096 May 16 13:03 /workspace/src/examples
   131080      4 -rw-r--r--   1 root     root         1325 May 16 13:03 /workspace/src/LICENSE.md
   131086      4 drwxr-xr-x   2 root     root         4096 May 16 13:03 /workspace/src/src
   131131      4 -rw-r--r--   1 root     root          196 May 16 13:03 /workspace/src/reference.yaml
   131307      4 drwxr-xr-x   5 root     root         4096 May 16 13:03 /workspace/src/share
   131221      4 drwxr-xr-x   8 root     root         4096 May 16 13:03 /workspace/src/.git
   131340     44 -rw-r--r--   1 root     root        44099 May 16 13:03 /workspace/src/Cargo.lock
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")]
   Compiling subplot v0.12.0 (/workspace/src)
   Compiling subplotlib v0.12.0 (/workspace/src/subplotlib)
    Checking subplotlib-derive v0.12.0 (/workspace/src/subplotlib-derive)
    Checking subplot-build v0.12.0 (/workspace/src/subplot-build)
    Checking subplot-bin v0.12.0 (/workspace/src/bin)
   Compiling subplot-seq-example v0.1.0 (/workspace/src/examples/seq)
error: use of deprecated function `subplot_build::codegen`: The `subplot-build` crate has been replaced by a macro in `subplotlib` and will not be updated past 0.13 of Subplot
 --> examples/seq/build.rs:5:20
  |
5 |     subplot_build::codegen("seq.subplot").expect("failed to generate code with Subplot");
  |                    ^^^^^^^
  |
  = note: `-D deprecated` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(deprecated)]`

error: could not compile `subplot-seq-example` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
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-05-16T13:06:17Z INFO  ambient] ambient ends successfully