Skip to content

Instantly share code, notes, and snippets.

@fud
Created June 20, 2018 08:13
Show Gist options
  • Select an option

  • Save fud/e73a45165493652d48f66c36994e5ef1 to your computer and use it in GitHub Desktop.

Select an option

Save fud/e73a45165493652d48f66c36994e5ef1 to your computer and use it in GitHub Desktop.
Trouble producing cargo docs..
cargo doc -p stm32f1 --open
Documenting cortex-m v0.3.1
Documenting cortex-m v0.4.3
error: `[::task::Poll]` cannot be resolved, ignoring it...
|
note: lint level defined here
--> /Users/billsb/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.3.1/src/lib.rs:11:9
|
11 | #![deny(warnings)]
| ^^^^^^^^
= note: #[deny(intra_doc_link_resolution_failure)] implied by #[deny(warnings)]
= note: the link appears in this line:
[`Poll::Pending`](::task::Poll). The future will *also* register the
^^^^^^^^^^^^
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
error: `[::task::Context::waker]` cannot be resolved, ignoring it...
|
= note: the link appears in this line:
[`cx.waker()`](::task::Context::waker)). Once a task has been woken up,
^^^^^^^^^^^^^^^^^^^^^^
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
error: `[::task::Poll]` cannot be resolved, ignoring it...
|
note: lint level defined here
--> /Users/billsb/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.4.3/src/lib.rs:11:9
|
11 | #![deny(warnings)]
| ^^^^^^^^
= note: #[deny(intra_doc_link_resolution_failure)] implied by #[deny(warnings)]
= note: the link appears in this line:
[`Poll::Pending`](::task::Poll). The future will *also* register the
^^^^^^^^^^^^
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
error: `[::task::Context::waker]` cannot be resolved, ignoring it...
|
= note: the link appears in this line:
[`cx.waker()`](::task::Context::waker)). Once a task has been woken up,
^^^^^^^^^^^^^^^^^^^^^^
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
error: Could not document `cortex-m`.
Caused by:
process didn't exit successfully: `rustdoc --crate-name cortex_m /Users/billsb/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.3.1/src/lib.rs -o /Users/billsb/code/blink/target/doc -L dependency=/Users/billsb/code/blink/target/debug/deps --extern aligned=/Users/billsb/code/blink/target/debug/deps/libaligned-18c44fcbc4face31.rmeta --extern bare_metal=/Users/billsb/code/blink/target/debug/deps/libbare_metal-17251b5a01dcb6ec.rmeta --extern volatile_register=/Users/billsb/code/blink/target/debug/deps/libvolatile_register-177bbca3438482be.rmeta` (exit code: 101)
warning: build failed, waiting for other jobs to finish...
error: Could not document `cortex-m`.
Caused by:
process didn't exit successfully: `rustdoc --crate-name cortex_m /Users/billsb/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.4.3/src/lib.rs -o /Users/billsb/code/blink/target/doc -L dependency=/Users/billsb/code/blink/target/debug/deps --extern aligned=/Users/billsb/code/blink/target/debug/deps/libaligned-18c44fcbc4face31.rmeta --extern bare_metal=/Users/billsb/code/blink/target/debug/deps/libbare_metal-17251b5a01dcb6ec.rmeta --extern untagged_option=/Users/billsb/code/blink/target/debug/deps/libuntagged_option-dbe4ad389866fa07.rmeta --extern volatile_register=/Users/billsb/code/blink/target/debug/deps/libvolatile_register-177bbca3438482be.rmeta` (exit code: 101)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment