Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI build failing due to mdbook-sitemap-generator #1030

Open
joepio opened this issue Jan 15, 2025 · 2 comments
Open

CI build failing due to mdbook-sitemap-generator #1030

joepio opened this issue Jan 15, 2025 · 2 comments
Assignees
Labels
ci Github actions / e2e tests / build / etc

Comments

@joepio
Copy link
Member

joepio commented Jan 15, 2025

https://github.com/atomicdata-dev/atomic-server/actions/runs/12786826600/job/35644699031#step:7:3177

           +docs-pages *failed* |    Compiling mdbook-sitemap-generator v0.2.0
           +docs-pages *failed* | error[E0308]: mismatched types
           +docs-pages *failed* |   --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/mdbook-sitemap-generator-0.2.0/src/builder.rs:35:16
           +docs-pages *failed* |    |
           +docs-pages *failed* | 34 |     pub fn to_xml(&self) -> Result<String,DeError> {
           +docs-pages *failed* |    |                             ---------------------- expected `Result<std::string::String, DeError>` because of return type
           +docs-pages *failed* | 35 |         return to_string(&self);
           +docs-pages *failed* |    |                ^^^^^^^^^^^^^^^^ expected `Result<String, DeError>`, found `Result<String, SeError>`
           +docs-pages *failed* |    |
           +docs-pages *failed* |    = note: expected enum `Result<_, DeError>`
           +docs-pages *failed* |               found enum `Result<_, SeError>`
  
           +docs-pages *failed* | For more information about this error, try `rustc --explain E0308`.
           +docs-pages *failed* | error: could not compile `mdbook-sitemap-generator` (bin "mdbook-sitemap-generator") due to 1 previous error
           +docs-pages *failed* | error: failed to compile `mdbook-sitemap-generator v0.2.0`, intermediate artifacts can be found at `/tmp/cargo-installJq48sn`.
           +docs-pages *failed* | To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
           +docs-pages *failed* | ERROR Earthfile:147:2
           +docs-pages *failed* |       The command
           +docs-pages *failed* |           RUN cargo install mdbook-sitemap-generator
           +docs-pages *failed* |       did not complete successfully. Exit code 101
  Error: The command RUN cargo install mdbook-sitemap-generator did not complete successfully. Exit code 101
``
@joepio joepio added the ci Github actions / e2e tests / build / etc label Jan 15, 2025
@joepio joepio self-assigned this Jan 15, 2025
@joepio joepio changed the title CI build failing CI build failing due to mdbook-sitemap-generator Jan 15, 2025
@joepio
Copy link
Member Author

joepio commented Jan 15, 2025

Created a PR upstream to fix mdbook-sitemap-generator

@AlexMikhalev
Copy link
Collaborator

I forked https://github.com/AlexMikhalev/mdBook to fix this issue, then rewrote https://github.com/terraphim/md-book my way so that the docs look nicer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Github actions / e2e tests / build / etc
Projects
None yet
Development

No branches or pull requests

2 participants