CI run for summain

Radicle repository id rad:z3cL5uBuhFK5FWkc5RYecAoBXNz8d

Triggered by

{
  "request": "trigger",
  "version": 1,
  "event_type": "push",
  "repository": {
    "id": "rad:z3cL5uBuhFK5FWkc5RYecAoBXNz8d",
    "name": "summain",
    "description": "Manifest for directory trees",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
    ]
  },
  "pusher": {
    "id": "did:key:z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8",
    "alias": "ci0"
  },
  "before": "dee502b2f4a9587d4bec6cfa03a30b72b2e3f370",
  "after": "dee502b2f4a9587d4bec6cfa03a30b72b2e3f370",
  "branch": "main",
  "commits": [
    "dee502b2f4a9587d4bec6cfa03a30b72b2e3f370"
  ]
}

Run log

[2025-06-28T09:07:26Z 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: |
    subplot docgen summain.subplot -o /workspace/artifacts/summain.html
- action: shell
  shell: |
    export DEBEMAIL=liw@liw.fi
    export DEBFULLNAME="Lars Wirzenius"
    export HOME=/root
    export PATH="/root/.cargo/bin:/bin:/sbin"
    export SOPASS_LOG=trace
    export CARGO_TARGET_DIR=/workspace/cache
    export CARGO_HOME=/workspace/deps

    git clean -fdx

    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:06 /workspace
  1054560      4 drwxr-xr-x   4 root     root         4096 Jun  7 11:18 /workspace/cache
  1056520      4 -rw-r--r--   1 root     root         1034 Jun 28 04:13 /workspace/cache/.rustc_info.json
  1054561      4 drwxr-xr-x   7 root     root         4096 Jun 28 04:13 /workspace/cache/debug
  1055809      4 drwxr-xr-x   7 root     root         4096 Jun 28 04:13 /workspace/cache/release
  1048579      4 drwxr-xr-x   7 root     root         4096 Jun 28 09:06 /workspace/src
  1048591      4 drwxr-xr-x   3 root     root         4096 Jun 28 09:06 /workspace/src/debian
  1048602      4 -rw-r--r--   1 root     root          581 Jun 28 09:06 /workspace/src/Cargo.toml
  1048586      4 drwxr-xr-x   3 root     root         4096 Jun 28 09:06 /workspace/src/src
  1048707     16 -rw-r--r--   1 root     root        14786 Jun 28 09:06 /workspace/src/Cargo.lock
  1048706     36 -rw-r--r--   1 root     root        35147 Jun 28 09:06 /workspace/src/COPYING
  1048590      8 -rw-r--r--   1 root     root         5537 Jun 28 09:06 /workspace/src/summain.md
  1048705      4 -rw-r--r--   1 root     root          219 Jun 28 09:06 /workspace/src/summain.subplot
  1048600      4 -rw-r--r--   1 root     root         1072 Jun 28 09:06 /workspace/src/README.md
  1048580      4 drwxr-xr-x   2 root     root         4096 Jun 28 09:06 /workspace/src/.radicle
  1048583      4 drwxr-xr-x   2 root     root         4096 Jun 28 09:06 /workspace/src/subplot
  1048601      4 -rw-r--r--   1 root     root           50 Jun 28 09:06 /workspace/src/.gitignore
  1048603      4 drwxr-xr-x   8 root     root         4096 Jun 28 09:06 /workspace/src/.git
  1048582      4 -rwxr-xr-x   1 root     root          789 Jun 28 09:06 /workspace/src/check
  1048578      4 drwxr-xr-x   2 root     root         4096 Jun 28 09:06 /workspace/artifacts
  1048708      4 drwxr-xr-x   3 root     root         4096 Jun 28 09:06 /workspace/deps
  1048709      0 -rw-r--r--   1 root     root            0 Jun 28 04:12 /workspace/deps/.package-cache-mutate
  1048710     56 -rw-r--r--   1 root     root        57344 Jun 28 09:06 /workspace/deps/.global-cache
  1048712      4 drwxr-xr-x   5 root     root         4096 Jun  7 11:17 /workspace/deps/registry
  1048711      0 -rw-r--r--   1 root     root            0 Jun  7 11:17 /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 version_check v0.9.2
   Compiling proc-macro2 v1.0.24
   Compiling unicode-xid v0.2.1
   Compiling libc v0.2.86
   Compiling syn v1.0.60
    Checking cfg-if v1.0.0
   Compiling typenum v1.12.0
   Compiling generic-array v0.14.4
   Compiling proc-macro-error-attr v1.0.4
   Compiling quote v1.0.9
   Compiling proc-macro-error v1.0.4
   Compiling log v0.4.14
   Compiling serde_derive v1.0.123
   Compiling bitflags v1.2.1
    Checking instant v0.1.9
   Compiling autocfg v1.0.1
   Compiling serde v1.0.123
   Compiling unicode-segmentation v1.7.1
    Checking scopeguard v1.1.0
    Checking unicode-width v0.1.8
    Checking smallvec v1.6.1
   Compiling memchr v2.3.4
    Checking parking_lot_core v0.8.3
   Compiling heck v0.3.2
   Compiling tokio v1.5.0
    Checking textwrap v0.11.0
    Checking lock_api v0.4.3
    Checking atty v0.2.14
    Checking strsim v0.8.0
   Compiling anyhow v1.0.38
    Checking linked-hash-map v0.5.4
    Checking ansi_term v0.11.0
    Checking vec_map v0.8.2
    Checking yaml-rust v0.4.5
    Checking clap v2.33.3
    Checking mio v0.7.11
    Checking parking_lot v0.11.1
    Checking digest v0.9.0
    Checking block-buffer v0.9.0
    Checking signal-hook-registry v1.3.0
    Checking num_cpus v1.13.0
    Checking cpuid-bool v0.1.2
    Checking same-file v1.0.6
    Checking lazy_static v1.4.0
    Checking dtoa v0.4.7
    Checking bytes v1.0.1
    Checking opaque-debug v0.3.0
    Checking pin-project-lite v0.2.6
    Checking once_cell v1.7.2
    Checking sha2 v0.9.3
    Checking walkdir v2.3.2
    Checking unix_mode v0.1.1
   Compiling structopt-derive v0.4.14
   Compiling tokio-macros v1.1.0
    Checking structopt v0.3.21
    Checking serde_yaml v0.8.17
    Checking summain v0.26.0 (/workspace/src)
error: variables can be used directly in the `format!` string
   --> src/lib.rs:116:8
    |
116 |     Ok(format!("{:x}", hash))
    |        ^^^^^^^^^^^^^^^^^^^^^
    |
    = 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
    |
116 -     Ok(format!("{:x}", hash))
116 +     Ok(format!("{hash:x}"))
    |

error: could not compile `summain` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `summain` (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-06-28T09:07:26Z INFO  ambient] ambient ends successfully