CI run for clab

Radicle repository id rad:z2aW1bujxH96GsWdKBcFqDpzSNnUS

Triggered by

{
  "request": "trigger",
  "version": 1,
  "event_type": "push",
  "repository": {
    "id": "rad:z2aW1bujxH96GsWdKBcFqDpzSNnUS",
    "name": "clab",
    "description": "Command line address book",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
    ]
  },
  "pusher": {
    "id": "did:key:z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8",
    "alias": "ci0"
  },
  "before": "04bd9338676c05fdd601a6587038a708dcbad70b",
  "after": "04bd9338676c05fdd601a6587038a708dcbad70b",
  "branch": "main",
  "commits": [
    "04bd9338676c05fdd601a6587038a708dcbad70b"
  ]
}

Run log

[2025-06-28T08:38:50Z 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 clab.subplot -o /workspace/artifacts/clab.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

    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 08:38 /workspace
  1055292      4 drwxr-xr-x   4 root     root         4096 Jun  7 10:44 /workspace/cache
  1056676      4 -rw-r--r--   1 root     root         1034 Jun 28 03:54 /workspace/cache/.rustc_info.json
  1055293      4 drwxr-xr-x   7 root     root         4096 Jun 28 03:54 /workspace/cache/debug
  1056180      4 drwxr-xr-x   7 root     root         4096 Jun 28 03:55 /workspace/cache/release
  1048579      4 drwxr-xr-x   7 root     root         4096 Jun 28 08:37 /workspace/src
  1048705      4 -rw-r--r--   1 root     root         2771 Jun 28 08:37 /workspace/src/clab.md
  1048590      4 drwxr-xr-x   3 root     root         4096 Jun 28 08:37 /workspace/src/debian
  1048600      4 -rw-r--r--   1 root     root          356 Jun 28 08:37 /workspace/src/Cargo.toml
  1048586      4 drwxr-xr-x   2 root     root         4096 Jun 28 08:37 /workspace/src/src
  1048589      4 -rw-r--r--   1 root     root          235 Jun 28 08:37 /workspace/src/clab.subplot
  1048706     16 -rw-r--r--   1 root     root        14233 Jun 28 08:37 /workspace/src/Cargo.lock
  1048704      4 -rw-r--r--   1 root     root          191 Jun 28 08:37 /workspace/src/sample.yaml
  1048580      4 drwxr-xr-x   2 root     root         4096 Jun 28 08:37 /workspace/src/.radicle
  1048583      4 drwxr-xr-x   2 root     root         4096 Jun 28 08:37 /workspace/src/subplot
  1048599      4 -rw-r--r--   1 root     root           44 Jun 28 08:37 /workspace/src/.gitignore
  1048601      4 drwxr-xr-x   8 root     root         4096 Jun 28 08:37 /workspace/src/.git
  1048582      4 -rwxr-xr-x   1 root     root          810 Jun 28 08:37 /workspace/src/check
  1048578      4 drwxr-xr-x   2 root     root         4096 Jun 28 08:37 /workspace/artifacts
  1048707      4 drwxr-xr-x   3 root     root         4096 Jun 28 08:37 /workspace/deps
  1048708      0 -rw-r--r--   1 root     root            0 Jun 28 03:37 /workspace/deps/.package-cache-mutate
  1048709     56 -rw-r--r--   1 root     root        57344 Jun 28 08:37 /workspace/deps/.global-cache
  1048711      4 drwxr-xr-x   5 root     root         4096 Jun  7 10:44 /workspace/deps/registry
  1048710      0 -rw-r--r--   1 root     root            0 Jun  7 10:44 /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.71
   Compiling unicode-ident v1.0.12
   Compiling version_check v0.9.4
   Compiling libc v0.2.151
   Compiling syn v1.0.109
   Compiling proc-macro-error-attr v1.0.4
   Compiling proc-macro-error v1.0.4
   Compiling autocfg v1.1.0
   Compiling quote v1.0.33
   Compiling serde v1.0.193
    Checking unicode-width v0.1.11
   Compiling indexmap v1.9.3
   Compiling rustix v0.38.28
   Compiling unicode-segmentation v1.10.1
   Compiling syn v2.0.43
   Compiling heck v0.3.3
    Checking textwrap v0.11.0
    Checking linked-hash-map v0.5.6
    Checking atty v0.2.14
    Checking cfg-if v1.0.0
    Checking linux-raw-sys v0.4.12
    Checking strsim v0.8.0
    Checking hashbrown v0.12.3
    Checking bitflags v1.3.2
   Compiling anyhow v1.0.77
    Checking ansi_term v0.12.1
    Checking bitflags v2.4.1
    Checking vec_map v0.8.2
    Checking clap v2.34.0
   Compiling serde_derive v1.0.193
    Checking yaml-rust v0.4.5
    Checking dirs-sys-next v0.1.2
    Checking lazy_static v1.4.0
    Checking fastrand v2.0.1
    Checking ryu v1.0.16
    Checking tempfile v3.9.0
    Checking directories-next v2.0.0
   Compiling structopt-derive v0.4.18
    Checking structopt v0.3.26
    Checking serde_yaml v0.8.26
    Checking clab v0.6.0 (/workspace/src)
error: variables can be used directly in the `format!` string
   --> src/main.rs:150:9
    |
150 |         println!("{:#?}", opt);
    |         ^^^^^^^^^^^^^^^^^^^^^^
    |
    = 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
    |
150 -         println!("{:#?}", opt);
150 +         println!("{opt:#?}");
    |

error: could not compile `clab` (bin "clab" test) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `clab` (bin "clab") 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-28T08:38:50Z INFO  ambient] ambient ends successfully