CI run for obnam

Radicle repository id rad:zbWNQYkQ4QKgdSQcd1tjaemv6d6x

Triggered by

{
  "request": "trigger",
  "version": 1,
  "event_type": "push",
  "repository": {
    "id": "rad:zbWNQYkQ4QKgdSQcd1tjaemv6d6x",
    "name": "obnam",
    "description": "Explore implementation of backup fundamentals",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
    ]
  },
  "pusher": {
    "id": "did:key:z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8",
    "alias": "ci0"
  },
  "before": "6df42512bf82923127b0a988abbb1c582c7e657f",
  "after": "6df42512bf82923127b0a988abbb1c582c7e657f",
  "branch": "main",
  "commits": [
    "6df42512bf82923127b0a988abbb1c582c7e657f"
  ]
}

Run log

[2025-06-28T08:45:55Z 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_clippy
- action: cargo_build
- action: cargo_test
- action: shell
  shell: |
    export PATH=/root/.cargo/bin:/bin:/sbin
    export CARGO_TARGET_DIR=/workspace/cache
    make subplot
- 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:45 /workspace
  1054366      4 drwxr-xr-x   3 root     root         4096 Jun  7 10:50 /workspace/cache
  1057171      4 -rw-r--r--   1 root     root         1034 Jun 28 03:57 /workspace/cache/.rustc_info.json
  1054367      4 drwxr-xr-x   7 root     root         4096 Jun 28 03:57 /workspace/cache/debug
  1048579      4 drwxr-xr-x   5 root     root         4096 Jun 28 08:45 /workspace/src
  1048718     16 -rw-r--r--   1 root     root        12534 Jun 28 08:45 /workspace/src/obnam.md
  1048719      4 -rw-r--r--   1 root     root          283 Jun 28 08:45 /workspace/src/obnam.yaml
  1048599      4 -rw-r--r--   1 root     root          443 Jun 28 08:45 /workspace/src/Cargo.toml
  1048717      4 -rw-r--r--   1 root     root          368 Jun 28 08:45 /workspace/src/Makefile
  1048582      4 drwxr-xr-x   3 root     root         4096 Jun 28 08:45 /workspace/src/src
  1048721      4 -rw-r--r--   1 root     root          224 Jun 28 08:45 /workspace/src/obnam.subplot
  1048720     24 -rw-r--r--   1 root     root        22781 Jun 28 08:45 /workspace/src/Cargo.lock
  1048600      4 -rw-r--r--   1 root     root         1010 Jun 28 08:45 /workspace/src/obnam.py
  1048597      4 -rw-r--r--   1 root     root         3457 Jun 28 08:45 /workspace/src/README.md
  1048580      4 drwxr-xr-x   2 root     root         4096 Jun 28 08:45 /workspace/src/.radicle
  1048598      4 -rw-r--r--   1 root     root           31 Jun 28 08:45 /workspace/src/.gitignore
  1048601      4 drwxr-xr-x   8 root     root         4096 Jun 28 08:45 /workspace/src/.git
  1048578      4 drwxr-xr-x   2 root     root         4096 Jun 28 08:45 /workspace/artifacts
  1048722      4 drwxr-xr-x   3 root     root         4096 Jun 28 08:45 /workspace/deps
  1048723      0 -rw-r--r--   1 root     root            0 Jun 28 03:41 /workspace/deps/.package-cache-mutate
  1048724     56 -rw-r--r--   1 root     root        57344 Jun 28 08:45 /workspace/deps/.global-cache
  1048726      4 drwxr-xr-x   5 root     root         4096 Jun  7 10:50 /workspace/deps/registry
  1048725      0 -rw-r--r--   1 root     root            0 Jun  7 10:50 /workspace/deps/.package-cache
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 cfg-if v1.0.0
   Compiling libc v0.2.171
   Compiling proc-macro2 v1.0.94
   Compiling unicode-ident v1.0.18
   Compiling typenum v1.18.0
   Compiling version_check v0.9.5
   Compiling generic-array v0.14.7
   Compiling semver v1.0.26
   Compiling autocfg v1.4.0
   Compiling quote v1.0.40
    Checking getrandom v0.2.16
   Compiling syn v2.0.100
    Checking rand_core v0.6.4
   Compiling rustix v1.0.3
    Checking bitflags v2.9.0
   Compiling lock_api v0.4.12
    Checking crypto-common v0.1.6
    Checking linux-raw-sys v0.9.3
   Compiling serde v1.0.219
   Compiling rustc_version v0.4.1
    Checking inout v0.1.4
   Compiling getrandom v0.3.1
   Compiling pkg-config v0.3.32
    Checking utf8parse v0.2.2
   Compiling vcpkg v0.2.15
    Checking scopeguard v1.2.0
    Checking anstyle-parse v0.2.6
   Compiling heapless v0.7.17
   Compiling libsqlite3-sys v0.33.0
    Checking cipher v0.4.4
    Checking anstyle-query v1.1.2
    Checking subtle v2.6.1
    Checking foldhash v0.1.5
    Checking cpufeatures v0.2.17
    Checking anstyle v1.0.10
    Checking colorchoice v1.0.3
    Checking byteorder v1.5.0
    Checking is_terminal_polyfill v1.70.1
    Checking anstream v0.6.18
    Checking hash32 v0.2.1
    Checking hashbrown v0.15.3
    Checking universal-hash v0.5.1
    Checking terminal_size v0.4.2
    Checking spin v0.9.8
   Compiling heck v0.5.0
    Checking opaque-debug v0.3.1
   Compiling serde_json v1.0.140
    Checking clap_lex v0.7.4
   Compiling thiserror v2.0.12
    Checking stable_deref_trait v1.2.0
    Checking strsim v0.11.1
    Checking adler2 v2.0.0
    Checking miniz_oxide v0.8.8
    Checking clap_builder v4.5.32
    Checking hashlink v0.10.0
    Checking polyval v0.6.2
    Checking aes v0.8.4
   Compiling serde_derive v1.0.219
   Compiling clap_derive v4.5.32
   Compiling thiserror-impl v2.0.12
    Checking ctr v0.9.2
    Checking aead v0.5.2
    Checking crc32fast v1.4.2
    Checking zeroize v1.8.1
    Checking ryu v1.0.20
    Checking fastrand v2.3.0
    Checking once_cell v1.21.1
    Checking cobs v0.2.3
    Checking fallible-iterator v0.3.0
    Checking memchr v2.7.4
    Checking smallvec v1.15.0
    Checking itoa v1.0.15
    Checking fallible-streaming-iterator v0.1.9
    Checking clap v4.5.32
    Checking rusqlite v0.35.0
    Checking tempfile v3.20.0
    Checking aes-gcm-siv v0.11.1
    Checking flate2 v1.1.2
    Checking uuid v1.16.0
   Compiling mutants v0.0.3
    Checking postcard v1.1.1
    Checking obnam v0.1.0 (/workspace/src)
error: variables can be used directly in the `format!` string
  --> src/bin/obnam.rs:11:9
   |
11 |         eprintln!("ERROR: {}", e);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = 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
   |
11 -         eprintln!("ERROR: {}", e);
11 +         eprintln!("ERROR: {e}");
   |

error: variables can be used directly in the `format!` string
  --> src/bin/obnam.rs:14:13
   |
14 |             eprintln!("caused by: {}", source);
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
   |
14 -             eprintln!("caused by: {}", source);
14 +             eprintln!("caused by: {source}");
   |

error: could not compile `obnam` (bin "obnam") due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: could not compile `obnam` (bin "obnam" test) due to 2 previous errors
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:45:55Z INFO  ambient] ambient ends successfully