CCI report: 142a4a57-6a6b-400e-a643-1f94f8aa4104

Request message

{
  "request": "trigger",
  "version": 1,
  "event_type": "patch",
  "repository": {
    "id": "rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5",
    "name": "heartwood",
    "description": "Radicle Heartwood Protocol & Stack",
    "private": false,
    "default_branch": "master",
    "delegates": [
      "did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT",
      "did:key:z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW",
      "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
      "did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
      "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz"
    ]
  },
  "action": "Created",
  "patch": {
    "id": "18f707e6d602067387213db74862b15ef854a841",
    "author": {
      "id": "did:key:z6Mku8hpprWTmCv3BqkssCYDfr2feUdyLSUnycVajFo9XVAx",
      "alias": "levitte"
    },
    "title": "cli: Fix a couple of clippy errors",
    "state": {
      "status": "archived",
      "conflicts": []
    },
    "before": "d9c76893a144fd787654613f2bfb919613014a71",
    "after": "b4513438762da515243911cb974fea9dfdc5fe32",
    "commits": [
      "b4513438762da515243911cb974fea9dfdc5fe32"
    ],
    "target": "6cfed884bf37cba1e0d8e97fa8b0e94df4a04b1f",
    "labels": [],
    "assignees": [],
    "revisions": [
      {
        "id": "18f707e6d602067387213db74862b15ef854a841",
        "author": {
          "id": "did:key:z6Mku8hpprWTmCv3BqkssCYDfr2feUdyLSUnycVajFo9XVAx",
          "alias": "levitte"
        },
        "description": "In both cases, I use attributes to allow what clippy complains about.\nFor the first case, this seems to be the obviously right thing to do.\nFor the second case, it might as well be solved with a type...\n\n-----\n\nThe errors were caught by running `rad ci` (which executes\n.radicle/native.yaml), giving the following errors:\n\n```\n+ cargo clippy --all-targets --workspace -- --deny clippy::all\n    Checking radicle-cli v0.11.0 (/home/levitte/gitwrk/radicle/heartwood/radicle-cli)\nerror: all variants have the same prefix: `File`\n   --> radicle-cli/src/commands/patch/review/builder.rs:140:1\n    |\n140 | / pub enum ReviewItem {\n141 | |     FileAdded {\n142 | |         path: PathBuf,\n143 | |         header: FileHeader,\n...   |\n178 | |     },\n179 | | }\n    | |_^\n    |\n    = help: remove the prefixes and use full paths to the variants instead of glob imports\n    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names\n    = note: `-D clippy::enum-variant-names` implied by `-D clippy::all`\n    = help: to override `-D clippy::all` add `#[allow(clippy::enum_variant_names)]`\n\nerror: very complex type used. Consider factoring parts into `type` definitions\n   --> radicle-cli/src/commands/patch/review/builder.rs:195:24\n    |\n195 |     fn paths(&self) -> (Option<(&Path, Oid)>, Option<(&Path, Oid)>) {\n    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    |\n    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity\n    = note: `-D clippy::type-complexity` implied by `-D clippy::all`\n    = help: to override `-D clippy::all` add `#[allow(clippy::type_complexity)]`\n\nerror: could not compile `radicle-cli` (lib) due to 2 previous errors\nwarning: build failed, waiting for other jobs to finish...\nerror: could not compile `radicle-cli` (lib test) due to 2 previous errors\n```",
        "base": "fd892d006ff0b107533257b1427d3781c5586588",
        "oid": "09e484adac51adfd2649d96e69c81e38e754db3e",
        "timestamp": 1733139877
      },
      {
        "id": "1c9ccbb0181ce951913b6c115b8cdb93b0f87391",
        "author": {
          "id": "did:key:z6Mku8hpprWTmCv3BqkssCYDfr2feUdyLSUnycVajFo9XVAx",
          "alias": "levitte"
        },
        "description": "Small commit message edit",
        "base": "fd892d006ff0b107533257b1427d3781c5586588",
        "oid": "6e10f877eb18dac26b5fe6dfa0ee2082fdcbfca2",
        "timestamp": 1733141337
      },
      {
        "id": "60c995d99be33b240f3d6c18fc6469a847ac1f78",
        "author": {
          "id": "did:key:z6Mku8hpprWTmCv3BqkssCYDfr2feUdyLSUnycVajFo9XVAx",
          "alias": "levitte"
        },
        "description": "",
        "base": "d9c76893a144fd787654613f2bfb919613014a71",
        "oid": "b4513438762da515243911cb974fea9dfdc5fe32",
        "timestamp": 1735547346
      }
    ]
  }
}

Send response

{
  "response": "triggered",
  "run_id": {
    "id": "142a4a57-6a6b-400e-a643-1f94f8aa4104"
  },
  "info_url": "https://cci.rad.levitte.org//142a4a57-6a6b-400e-a643-1f94f8aa4104.html"
}

Checkout the source (in /opt/radcis/ci.rad.levitte.org/cci/state/142a4a57-6a6b-400e-a643-1f94f8aa4104/w)

Started at: 2025-10-21 20:26:20.287312+02:00

Commands:

Read the repo configuration (.radicle/native.yaml in /opt/radcis/ci.rad.levitte.org/cci/state/142a4a57-6a6b-400e-a643-1f94f8aa4104/w)

shell: 'cargo --version

  rustc --version


  cargo fmt --check

  cargo clippy --all-targets --workspace -- --deny clippy::all

  cargo build --all-targets --workspace

  cargo doc --workspace

  cargo test --workspace --no-fail-fast

  '

Run the script

Commands:

Send result

{
  "response": "finished",
  "result": "success"
}