Radish alpha
r
rad:z2UcCU1LgMshWvXj6hXSDDrwB8q8M
Radicle Job Collaborative Object
Radicle
Git
error: the `Err`-variant returned from this function is very large
Open liw opened 8 months ago

I get a CI failure with current Rust for radicle-job. I can reproduce this locally with rustc 1.89.0 (29483883e 2025-08-04)

https://ci0.liw.fi//ambient-log/radicle-job/f96f3824-8af1-4e37-b5fa-e5879852fbf4.html

 error: the `Err`-variant returned from this function is very large
       --> src/bin/rad-job.rs:40:23
        |
    40  | fn fallible_main() -> Result<(), RadJobError> {
        |                       ^^^^^^^^^^^^^^^^^^^^^^^
    ...
    293 |     Repository(#[from] error::Repository),
        |     ------------------------------------- the largest variant contains at least 128 bytes
    294 |     #[error(transparent)]
    295 |     Jobs(#[from] error::Jobs),
        |     ------------------------- the variant `Jobs` contains at least 128 bytes
        |
        = help: try reducing the size of `RadJobError`, for example by boxing large elements or replacing it with `Box<RadJobError>`
        = 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)]`