CI run for vmadm

Radicle repository id rad:z3U5PDwEqz64be8vfqEyyj2rkfd1s

Triggered by

{
  "request": "trigger",
  "version": 1,
  "event_type": "push",
  "repository": {
    "id": "rad:z3U5PDwEqz64be8vfqEyyj2rkfd1s",
    "name": "vmadm",
    "description": "Virtual machine administration tool for libvirt",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
    ]
  },
  "pusher": {
    "id": "did:key:z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8",
    "alias": "ci0"
  },
  "before": "060466ede6e5f558e2983998e1d32628b5cdd5a7",
  "after": "060466ede6e5f558e2983998e1d32628b5cdd5a7",
  "branch": "main",
  "commits": [
    "060466ede6e5f558e2983998e1d32628b5cdd5a7"
  ]
}

Run log

[2025-06-28T09:08:35Z 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_test
- action: shell
  shell: |
    subplot docgen vmadm.subplot -o /workspace/artifacts/vmadm.html
- 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 vmadm.subplot -o vmadm.html

    # 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=[]
  1048577      4 drwxr-xr-x   6 root     root         4096 Jun 28 09:08 /workspace
  1057063      4 drwxr-xr-x   5 root     root         4096 Jun  7 11:19 /workspace/cache
  1059170      4 -rw-r--r--   1 root     root         1034 Jun 28 04:15 /workspace/cache/.rustc_info.json
  1057064      4 drwxr-xr-x   7 root     root         4096 Jun  7 11:18 /workspace/cache/debug
  1058493      4 -rw-r--r--   1 root     root          218 Jun  7 11:19 /workspace/cache/.rustdoc_fingerprint.json
  1058494      4 drwxr-xr-x   7 root     root         4096 Jun 28 04:15 /workspace/cache/release
  1059171      4 drwxr-xr-x   7 root     root         4096 Jun 28 04:15 /workspace/cache/doc
  1048579      4 drwxr-xr-x   8 root     root         4096 Jun 28 09:07 /workspace/src
  1048619      4 drwxr-xr-x   3 root     root         4096 Jun 28 09:07 /workspace/src/debian
  1048586      4 -rw-r--r--   1 root     root         3142 Jun 28 09:07 /workspace/src/cloud-init.py
  1048751      4 -rw-r--r--   1 root     root         1042 Jun 28 09:07 /workspace/src/RELEASE.md
  1048633      4 -rw-r--r--   1 root     root          747 Jun 28 09:07 /workspace/src/Cargo.toml
  1048616      4 -rw-r--r--   1 root     root          269 Jun 28 09:07 /workspace/src/vmadm.subplot
  1048630     16 -rw-r--r--   1 root     root        15359 Jun 28 09:07 /workspace/src/vmadm.md
  1048617      4 -rw-r--r--   1 root     root         1897 Jun 28 09:07 /workspace/src/NEWS
  1048591      4 drwxr-xr-x   4 root     root         4096 Jun 28 09:07 /workspace/src/src
  1048752     24 -rw-r--r--   1 root     root        21367 Jun 28 09:07 /workspace/src/Cargo.lock
  1048750     36 -rw-r--r--   1 root     root        35147 Jun 28 09:07 /workspace/src/COPYING
  1048749      4 -rwxr-xr-x   1 root     root         1163 Jun 28 09:07 /workspace/src/build_release_deb.sh
  1048618      4 -rwxr-xr-x   1 root     root         1516 Jun 28 09:07 /workspace/src/list_new_release_tags
  1048629      8 -rw-r--r--   1 root     root         7526 Jun 28 09:07 /workspace/src/README.md
  1048580      4 drwxr-xr-x   2 root     root         4096 Jun 28 09:07 /workspace/src/.radicle
  1048631      4 -rw-r--r--   1 root     root          325 Jun 28 09:07 /workspace/src/build.rs
  1048588      4 drwxr-xr-x   2 root     root         4096 Jun 28 09:07 /workspace/src/subplot
  1048632      4 -rw-r--r--   1 root     root           46 Jun 28 09:07 /workspace/src/.gitignore
  1048634      4 drwxr-xr-x   8 root     root         4096 Jun 28 09:07 /workspace/src/.git
  1048587      4 -rwxr-xr-x   1 root     root          736 Jun 28 09:07 /workspace/src/check
  1048582      4 drwxr-xr-x   2 root     root         4096 Jun 28 09:07 /workspace/src/ssh
  1048578      4 drwxr-xr-x   2 root     root         4096 Jun 28 09:08 /workspace/artifacts
  1048753      4 drwxr-xr-x   3 root     root         4096 Jun 28 09:07 /workspace/deps
  1048754      0 -rw-r--r--   1 root     root            0 Jun 28 04:14 /workspace/deps/.package-cache-mutate
  1048755     56 -rw-r--r--   1 root     root        57344 Jun 28 09:07 /workspace/deps/.global-cache
  1048757      4 drwxr-xr-x   5 root     root         4096 Jun  7 11:18 /workspace/deps/registry
  1048756      0 -rw-r--r--   1 root     root            0 Jun  7 11:18 /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")]
   Compiling proc-macro2 v1.0.66
   Compiling unicode-ident v1.0.11
   Compiling libc v0.2.147
    Checking utf8parse v0.2.1
    Checking anstyle-parse v0.2.1
    Checking anstyle v1.0.10
    Checking colorchoice v1.0.0
    Checking memchr v2.6.3
    Checking anstyle-query v1.0.0
   Compiling pkg-config v0.3.27
    Checking aho-corasick v1.0.5
   Compiling quote v1.0.33
    Checking regex-syntax v0.7.5
   Compiling syn v2.0.31
   Compiling serde v1.0.188
   Compiling virt-sys v0.3.0
   Compiling rustix v0.38.11
   Compiling thiserror v1.0.48
   Compiling nix v0.18.0
    Checking anstream v0.5.0
    Checking itoa v1.0.9
    Checking is_terminal_polyfill v1.70.1
    Checking bitflags v1.3.2
    Checking strsim v0.10.0
    Checking equivalent v1.0.1
    Checking cfg-if v0.1.10
   Compiling serde_json v1.0.105
   Compiling heck v0.4.1
    Checking regex-automata v0.3.8
   Compiling anyhow v1.0.75
    Checking linux-raw-sys v0.4.5
    Checking hashbrown v0.14.0
    Checking log v0.4.22
    Checking clap_lex v0.5.1
    Checking cfg-if v1.0.0
    Checking bitflags v2.4.0
    Checking ryu v1.0.15
    Checking indexmap v2.0.0
    Checking clap_builder v4.4.2
    Checking regex v1.9.5
    Checking env_filter v0.1.2
    Checking anstream v0.6.18
   Compiling serde_derive v1.0.188
   Compiling thiserror-impl v1.0.48
   Compiling clap_derive v4.4.2
    Checking dirs-sys-next v0.1.2
    Checking fastrand v2.0.0
    Checking humantime v2.1.0
    Checking unsafe-libyaml v0.2.9
    Checking uuid v1.11.0
   Compiling vmadm v0.4.1 (/workspace/src)
error: variables can be used directly in the `format!` string
  --> build.rs:10:18
   |
10 |     write(&path, format!("r#\"{}\"#\n", py)).unwrap();
   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
   = note: `-D clippy::uninlined-format-args` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::uninlined_format_args)]`
help: change this to
   |
10 -     write(&path, format!("r#\"{}\"#\n", py)).unwrap();
10 +     write(&path, format!("r#\"{py}\"#\n")).unwrap();
   |

error: could not compile `vmadm` (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-06-28T09:08:35Z INFO  ambient] ambient ends successfully