CI run for radicle-native-ci

Radicle repository id rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE

Triggered by

{
  "request": "trigger",
  "version": 1,
  "event_type": "push",
  "repository": {
    "id": "rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE",
    "name": "radicle-native-ci",
    "description": "Radicle CI adapter for native CI",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
      "did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT"
    ]
  },
  "pusher": {
    "id": "did:key:z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8",
    "alias": "ci0"
  },
  "before": "74bc1f413d75030b4e081e30736655739297d738",
  "after": "74bc1f413d75030b4e081e30736655739297d738",
  "branch": "main",
  "commits": [
    "74bc1f413d75030b4e081e30736655739297d738"
  ]
}

Run log

[2025-05-19T14:53:07Z 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: shell
  shell: |
    export CARGO_TARGET_DIR=/workspace/cache
    export CARGO_HOME=/workspace/deps
    export HOME=/root
    export PATH="/root/.cargo/bin:/root/.radicle/bin:$PATH"

    rad --version # make sure rad can be executed

    # Configure Git so that it can be used in the tests for this
    # project.
    git config --global user.email "test@example.com"
    git config --global user.name "Testy McTestface"

    cargo test
- action: shell
  shell: |
    export DEBEMAIL=liw@liw.fi
    export DEBFULLNAME="Lars Wirzenius"
    export CARGO_TARGET_DIR=/workspace/cache

    # git reset --hard
    # git clean -fdx
    # git switch main
    git status --ignored
    # 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=[]
  6029313      4 drwxr-xr-x   6 root     root         4096 May 19 14:49 /workspace
  6029453      4 drwxr-xr-x   3 root     root         4096 May 19 14:47 /workspace/deps
  6029454    112 -rw-r--r--   1 root     root       114688 May 19 14:47 /workspace/deps/.global-cache
  6029455      0 -rw-r--r--   1 root     root            0 Apr  9 04:17 /workspace/deps/.package-cache
  6029456      4 drwxr-xr-x   5 root     root         4096 Apr  9 04:17 /workspace/deps/registry
  6052504      4 drwxr-xr-x   5 root     root         4096 Apr  9 04:18 /workspace/cache
  6065018      4 drwxr-xr-x   7 root     root         4096 May 16 05:16 /workspace/cache/release
  6052505      4 drwxr-xr-x   2 root     root         4096 Apr  9 04:17 /workspace/cache/tmp
  6072940      4 -rw-r--r--   1 root     root         1033 May 16 05:16 /workspace/cache/.rustc_info.json
  6052506      4 drwxr-xr-x   7 root     root         4096 May 16 05:16 /workspace/cache/debug
  6029316      4 drwxr-xr-x   8 root     root         4096 May 19 14:47 /workspace/src
  6029317      4 drwxr-xr-x   2 root     root         4096 May 19 14:47 /workspace/src/.radicle
  6029335      4 drwxr-xr-x   3 root     root         4096 May 19 14:47 /workspace/src/debian
  6029334      4 -rw-r--r--   1 root     root         2890 May 19 14:47 /workspace/src/NEWS.md
  6029447      4 drwxr-xr-x   2 root     root         4096 May 19 14:47 /workspace/src/doc
  6029346      4 -rw-r--r--   1 root     root            8 May 19 14:47 /workspace/src/.gitignore
  6029445     12 -rw-r--r--   1 root     root         9723 May 19 14:47 /workspace/src/LICENSE-APACHE
  6029347      4 -rw-r--r--   1 root     root          925 May 19 14:47 /workspace/src/Cargo.toml
  6029321      4 drwxr-xr-x   3 root     root         4096 May 19 14:47 /workspace/src/src
  6029320      4 -rw-r--r--   1 root     root         1079 May 19 14:47 /workspace/src/LICENSE-MIT
  6029446     88 -rw-r--r--   1 root     root        90072 May 19 14:47 /workspace/src/Cargo.lock
  6029348      4 drwxr-xr-x   2 root     root         4096 May 19 14:47 /workspace/src/tests
  6029345      4 -rw-r--r--   1 root     root         2833 May 19 14:47 /workspace/src/README.md
  6029350      4 drwxr-xr-x   8 root     root         4096 May 19 14:47 /workspace/src/.git
  6029315      4 drwxr-xr-x   2 root     root         4096 May 19 14:49 /workspace/artifacts
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.92
   Compiling unicode-ident v1.0.14
   Compiling version_check v0.9.5
   Compiling libc v0.2.169
    Checking cfg-if v1.0.0
   Compiling serde v1.0.219
   Compiling typenum v1.17.0
   Compiling generic-array v0.14.7
   Compiling quote v1.0.38
   Compiling jobserver v0.1.32
   Compiling syn v2.0.95
   Compiling shlex v1.3.0
   Compiling cc v1.2.7
    Checking crypto-common v0.1.6
   Compiling syn v1.0.109
   Compiling memchr v2.7.4
   Compiling once_cell v1.20.2
    Checking stable_deref_trait v1.2.0
    Checking subtle v2.6.1
   Compiling pkg-config v0.3.31
   Compiling thiserror v1.0.69
   Compiling bitflags v2.6.0
   Compiling anyhow v1.0.95
   Compiling byteorder v1.5.0
   Compiling thiserror v2.0.12
   Compiling crossbeam-utils v0.8.21
    Checking litemap v0.7.4
   Compiling synstructure v0.13.1
    Checking writeable v0.5.5
    Checking block-padding v0.3.3
    Checking block-buffer v0.10.4
    Checking cpufeatures v0.2.16
   Compiling getrandom v0.3.2
    Checking digest v0.10.7
    Checking inout v0.1.3
   Compiling ahash v0.8.11
   Compiling rustix v1.0.3
    Checking icu_locid_transform_data v1.5.0
    Checking cipher v0.4.4
   Compiling aho-corasick v1.1.3
    Checking getrandom v0.2.15
   Compiling same-file v1.0.6
    Checking smallvec v1.13.2
   Compiling vcpkg v0.2.15
   Compiling serde_derive v1.0.219
   Compiling zerofrom-derive v0.1.5
   Compiling yoke-derive v0.7.5
   Compiling zerovec-derive v0.10.3
    Checking zerofrom v0.1.5
    Checking yoke v0.7.5
   Compiling zerocopy-derive v0.7.35
   Compiling displaydoc v0.2.5
   Compiling thiserror-impl v1.0.69
   Compiling zerocopy v0.7.35
    Checking zerovec v0.10.4
   Compiling thiserror-impl v2.0.12
   Compiling icu_provider_macros v1.5.0
    Checking tinystr v0.7.6
    Checking icu_locid v1.5.0
    Checking icu_collections v1.5.0
   Compiling regex-syntax v0.8.5
    Checking icu_properties_data v1.5.0
    Checking icu_provider v1.5.0
   Compiling libz-sys v1.1.20
    Checking icu_locid_transform v1.5.0
   Compiling walkdir v2.5.0
    Checking icu_properties v1.5.1
    Checking utf16_iter v1.0.5
   Compiling itoa v1.0.14
   Compiling regex-automata v0.4.9
    Checking write16 v1.0.0
   Compiling ucd-trie v0.1.7
    Checking icu_normalizer_data v1.5.0
    Checking utf8_iter v1.0.4
   Compiling pest v2.7.15
    Checking icu_normalizer v1.5.0
   Compiling crossbeam-epoch v0.9.18
   Compiling hashbrown v0.14.5
   Compiling bstr v1.11.3
   Compiling proc-macro-error-attr v1.0.4
   Compiling libm v0.2.11
   Compiling doc-comment v0.3.3
   Compiling unic-common v0.9.0
   Compiling unicode-width v0.1.14
    Checking log v0.4.22
   Compiling unic-char-range v0.9.0
   Compiling unic-char-property v0.9.0
   Compiling globset v0.4.15
   Compiling unic-ucd-version v0.9.0
   Compiling rand_core v0.6.4
   Compiling hashlink v0.9.1
   Compiling pest_meta v2.7.15
    Checking idna_adapter v1.2.0
   Compiling crossbeam-deque v0.8.6
   Compiling ppv-lite86 v0.2.20
   Compiling tracing-attributes v0.1.28
   Compiling amplify_syn v2.0.1
   Compiling libgit2-sys v0.17.0+1.8.1
    Checking universal-hash v0.5.1
   Compiling encoding_rs v0.8.35
   Compiling proc-macro-error v1.0.4
    Checking percent-encoding v2.3.1
   Compiling serde_json v1.0.140
   Compiling arraydeque v0.5.1
   Compiling autocfg v1.4.0
    Checking signature v1.6.4
   Compiling linux-raw-sys v0.9.3
    Checking opaque-debug v0.3.1
   Compiling num-traits v0.2.19
    Checking ed25519 v1.5.3
   Compiling yaml-rust2 v0.9.0
    Checking form_urlencoded v1.2.1
   Compiling amplify_derive v4.0.1
   Compiling pest_generator v2.7.15
   Compiling rand_chacha v0.3.1
   Compiling ignore v0.4.23
    Checking idna v1.0.3
   Compiling unic-ucd-segment v0.9.0
   Compiling serde_path_to_error v0.1.16
   Compiling pikchr v0.1.3
   Compiling deunicode v1.6.0
   Compiling pulldown-cmark v0.12.2
   Compiling strsim v0.11.1
    Checking amplify_num v0.5.3
    Checking ct-codecs v1.1.3
    Checking ascii v1.1.0
   Compiling ident_case v1.0.1
   Compiling fnv v1.0.7
   Compiling ryu v1.0.18
   Compiling fastrand v2.3.0
   Compiling unicode-linebreak v0.1.5
   Compiling smawk v0.3.2
   Compiling tempfile v3.19.1
   Compiling textwrap v0.16.1
    Checking amplify v4.8.0
   Compiling darling_core v0.20.10
    Checking ec25519 v0.1.0
   Compiling slug v0.1.6
   Compiling marked-yaml v0.7.2
   Compiling humansize v2.1.3
   Compiling globwalk v0.9.1
   Compiling unic-segment v0.9.0
    Checking url v2.5.4
   Compiling rand v0.8.5
   Compiling pest_derive v2.7.15
    Checking polyval v0.6.2
   Compiling getopts v0.2.21
   Compiling regex v1.11.1
   Compiling subplot v0.12.0
   Compiling git-ref-format-core v0.3.1
    Checking sha2 v0.10.8
   Compiling sqlite3-src v0.5.1
   Compiling tracing-core v0.1.33
   Compiling utf8-width v0.1.7
   Compiling pin-project-lite v0.2.16
    Checking base64ct v1.6.0
    Checking keccak v0.1.5
   Compiling lazy_static v1.5.0
   Compiling rustix v0.38.42
   Compiling pulldown-cmark-escape v0.11.0
   Compiling unicase v2.8.1
   Compiling tera v1.20.0
   Compiling tracing v0.1.41
    Checking sha3 v0.10.8
    Checking pem-rfc7468 v0.7.0
   Compiling html-escape v0.2.13
   Compiling git-ref-format-macro v0.3.1
    Checking ghash v0.5.1
   Compiling roadmap v0.7.0
   Compiling darling_macro v0.20.10
    Checking cyphergraphy v0.3.0
    Checking aes v0.8.4
    Checking ctr v0.9.2
    Checking aead v0.5.2
   Compiling data-encoding v2.6.0
   Compiling base64 v0.22.1
    Checking base32 v0.4.0
   Compiling linux-raw-sys v0.4.14
    Checking equivalent v1.0.1
   Compiling cfg_aliases v0.2.1
   Compiling descape v2.0.3
    Checking radicle-std-ext v0.1.1
   Compiling line-col v0.2.1
    Checking hashbrown v0.15.2
    Checking indexmap v2.7.0
   Compiling nix v0.29.0
   Compiling data-encoding-macro-internal v0.1.13
    Checking cypheraddr v0.4.0
    Checking aes-gcm v0.10.3
    Checking git-ref-format v0.3.1
   Compiling darling v0.20.10
    Checking ssh-encoding v0.2.0
    Checking blowfish v0.9.1
    Checking poly1305 v0.8.0
    Checking chacha20 v0.9.1
    Checking cbc v0.1.2
    Checking pbkdf2 v0.12.2
    Checking zeroize v1.8.1
   Compiling adler2 v2.0.0
   Compiling miniz_oxide v0.8.2
    Checking data-encoding-macro v0.1.15
    Checking bcrypt-pbkdf v0.10.0
    Checking ssh-cipher v0.2.0
   Compiling derive_builder_core v0.20.2
    Checking socks5-client v0.4.1
   Compiling xattr v1.4.0
    Checking chrono v0.4.39
   Compiling culpa-macros v1.0.2
   Compiling filetime v0.2.25
   Compiling crc32fast v1.4.2
   Compiling time-core v0.1.4
    Checking utf8parse v0.2.2
   Compiling num-conv v0.1.0
    Checking signature v2.2.0
    Checking base-x v0.2.11
    Checking powerfmt v0.2.0
    Checking deranged v0.4.1
    Checking multibase v0.9.1
    Checking ssh-key v0.6.7
    Checking sqlite3-sys v0.15.2
    Checking sqlite v0.32.0
   Compiling time-macros v0.2.22
    Checking anstyle-parse v0.2.6
   Compiling flate2 v1.0.35
   Compiling tar v0.4.43
    Checking qcheck v1.0.0
   Compiling derive_builder_macro v0.20.2
    Checking cyphernet v0.5.2
    Checking radicle-ssh v0.9.0
    Checking nonempty v0.9.0
   Compiling proc-macro-error-attr2 v2.0.0
    Checking cvt v0.1.2
    Checking colorchoice v1.0.3
    Checking anstyle-query v1.1.2
    Checking regex-syntax v0.6.29
   Compiling rust_decimal v1.36.0
    Checking tinyvec_macros v0.1.1
    Checking anstyle v1.0.10
    Checking is_terminal_polyfill v1.70.1
    Checking time v0.3.41
    Checking quick-xml v0.37.2
    Checking anstream v0.6.18
    Checking regex-automata v0.1.10
    Checking tinyvec v1.8.1
    Checking fs_at v0.2.1
   Compiling proc-macro-error2 v2.0.1
    Checking derive_builder v0.20.2
   Compiling radicle-surf v0.22.1
    Checking terminal_size v0.4.1
   Compiling culpa v1.0.2
    Checking diligent-date-parser v0.1.5
   Compiling subplot-build v0.12.0
    Checking radicle-dag v0.10.0
   Compiling git-ref-format-core v0.4.0
   Compiling serde_yml v0.0.12
   Compiling subplotlib v0.12.0
    Checking clap_lex v0.7.4
   Compiling valuable v0.1.0
   Compiling heck v0.5.0
    Checking never v0.1.0
    Checking arrayvec v0.7.6
    Checking base64 v0.21.7
    Checking normpath v1.3.0
    Checking overload v0.1.1
    Checking nu-ansi-term v0.46.0
    Checking remove_dir_all v1.0.0
    Checking clap_builder v4.5.32
   Compiling clap_derive v4.5.32
    Checking atom_syndication v0.12.6
    Checking crossbeam-channel v0.5.14
   Compiling git-ref-format-macro v0.4.0
    Checking libyml v0.0.5
   Compiling radicle-ci-broker v0.16.0
   Compiling subplotlib-derive v0.12.0
    Checking unicode-normalization v0.1.24
    Checking matchers v0.1.0
    Checking sharded-slab v0.1.7
    Checking tracing-log v0.2.0
    Checking tracing-serde v0.2.0
    Checking thread_local v1.1.8
    Checking localtime v1.3.1
   Compiling valuable-derive v0.1.0
    Checking fs2 v0.4.3
    Checking winnow v0.6.22
    Checking state v0.6.0
    Checking shell-words v1.1.0
    Checking siphasher v1.0.1
    Checking git-ref-format v0.4.0
    Checking tracing-subscriber v0.3.19
    Checking duration-str v0.12.0
    Checking clap v4.5.32
    Checking rss v2.0.11
    Checking html-page v0.4.0
    Checking uuid v1.16.0
    Checking nonempty v0.11.0
    Checking git2 v0.19.0
    Checking radicle-git-ext v0.8.1
    Checking radicle-git-ext v0.9.0
    Checking radicle-crypto v0.11.0
    Checking radicle-cob v0.13.0
    Checking radicle v0.14.0
    Checking radicle-native-ci v0.10.0 (/workspace/src)
error: the `Err`-variant returned from this function is very large
  --> src/bin/radicle-native-ci.rs:47:23
   |
47 | fn fallible_main() -> Result<bool, EngineError> {
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 592 bytes
   |
   = help: try reducing the size of `radicle_native_ci::engine::EngineError`, for example by boxing large elements or replacing it with `Box<radicle_native_ci::engine::EngineError>`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
   = note: `-D clippy::result-large-err` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::result_large_err)]`

error: could not compile `radicle-native-ci` (bin "radicle-native-ci" test) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `radicle-native-ci` (bin "radicle-native-ci") 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-05-19T14:53:07Z INFO  ambient] ambient ends successfully