Skip to content

🛠️ [TASK] : Investigate cargo +nightly testdocs failure in CI #113

@bkioshn

Description

@bkioshn

Summary

Investigate cargo +nightly testdocs failure in CI

Description

Rust CI failed in multiple PR with similar error messages

Documentation tests all pass check : 68.7190 s : ❌
rust-local+build |   $ cargo +nightly testdocs  

rust-local+build |   . Couldn't compile the test.
rust-local+build |   . ---- rbac-registration/src/cardano/cip509/utils/cip134.rs - 
rust-local+build | cardano::cip509::utils::cip134::Cip0134Uri::parse (line 32) stdout ----
rust-local+build |   . error: extern location for rbac_registration does not exist: 
rust-local+build | /root/build/target/release/deps/librbac_registration.rlib
rust-local+build |   .  --> rbac-registration/src/cardano/cip509/utils/cip134.rs:32:1
rust-local+build |   .   |
rust-local+build |   . 3 | extern crate r#rbac_registration;
rust-local+build |   .   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Fixing approach

  1. Create a fork branch from the branch that fail
build:
   SAVE ARTIFACT target/$TARGETARCH/doc doc

After the modification, the CI pass

  1. Then trying to revert the changes, CI pass
  1. Made changes to original branch to test whether, the changes made in 1 fix the issue CI fail
  1. Merge the changes to the fork branch CI fail
  1. Try removing --no-cache within the fork branch CI pass

Goal

  • Investigate the root cause of the problem (might be caching problem/ syntax problem)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions