在github操作中发出生锈文档工作流程
概述,
我正在使用GitHub Action进行特定回购的问题构建生锈文档。存储库是开源的,您可以查看在这里=“ https://github.com/dutterbutter/protocol-substrate/runs/7027487414?链接的存储库是一个叉子,但在上游存储库上也有相同的错误失败。您还可以查看当前的github操作工作流文件在这里。
运行货物文档 - 释放-no-deps -open
本地工作正常,但是在CI环境中,它在以下消息中失败。
我尝试
- 使用
排除有问题的软件包 - 排除
,但是下一个软件包会抱怨(例如,首先是webb-client
,然后> webb-primitives
) - 之前,请取出子模型。
- 在运行货物doc运行
货物构建
之前,在运行 - 使用
全功能运行
标记
我发现的一些相关问题
CI错误
thread 'rustc' panicked at 'no entry found for key', src/librustdoc/passes/collect_intra_doc_links.rs:930:16
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: internal compiler error: unexpected panic
error: Unrecognized option: 'crate-version'
error: could not document `webb-primitives`
Overview
I am having an issue building rust documentation with GitHub Actions for a particular repo. The repo is open-source and you can view it here and the erroring GitHub Action here. The linked repo is a fork but it also fails with the same error on the upstream repo. You can also view the current GitHub Action workflow file here.
Running cargo doc --release --no-deps --open
locally works perfectly fine, but in the CI environment it fails with the below message.
Things I've tried
- Excluding the problematic packages using
--exclude
, but in doing so, the next package complains (e.g. first it waswebb-client
, thenwebb-primitives
) - Fetching the submodules before running cargo doc
- Running
cargo build --release
before running cargo doc - Running with
all-features
flag
Some relevant issues I found
Error from CI
thread 'rustc' panicked at 'no entry found for key', src/librustdoc/passes/collect_intra_doc_links.rs:930:16
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: internal compiler error: unexpected panic
error: Unrecognized option: 'crate-version'
error: could not document `webb-primitives`
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论