drone-core 0.13.0

The core crate for Drone, an Embedded Operating System.
Documentation
Build #320218 2020-11-28T18:10:33.217341+00:00
# rustc version
rustc 1.50.0-nightly (1c389ffef 2020-11-24)# docs.rs version
docsrs 0.6.0 (31c864e 2020-11-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/drone-core-0.13.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/drone-core-0.13.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs\"" "-j2" "--" "-Z" "unstable-options" "--resource-suffix" "-20201124-1.50.0-nightly-1c389ffef" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 2732d1fac0999d1a0c44a83c6f8881c720a4bb43833da1584eba15e41ab61146
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2732d1fac0999d1a0c44a83c6f8881c720a4bb43833da1584eba15e41ab61146", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.52
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling anyhow v1.0.34
[INFO] [stderr]    Compiling regex-syntax v0.6.21
[INFO] [stderr]     Checking futures-sink v0.3.8
[INFO] [stderr]     Checking futures-core v0.3.8
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]     Checking futures-task v0.3.8
[INFO] [stderr]    Compiling if_chain v1.0.1
[INFO] [stderr]     Checking futures-io v0.3.8
[INFO] [stderr]     Checking drone-ctypes v0.13.0
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]     Checking futures-channel v0.3.8
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling regex v1.4.2
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling drone-macros-core v0.13.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.2
[INFO] [stderr]    Compiling futures-macro v0.3.8
[INFO] [stderr]     Checking pin-project v1.0.2
[INFO] [stderr]     Checking futures-util v0.3.8
[INFO] [stderr]     Checking futures v0.3.8
[INFO] [stderr]    Compiling toml v0.5.7
[INFO] [stderr]    Compiling drone-config v0.13.0
[INFO] [stderr]    Compiling drone-core-macros v0.13.0
[INFO] [stderr]  Documenting drone-core v0.13.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: `heap` is both a module and a macro
[INFO] [stderr]   --> src/lib.rs:88:42
[INFO] [stderr]    |
[INFO] [stderr] 88 | /// See [the module level documentation](heap) for details.
[INFO] [stderr]    |                                          ^^^^ ambiguous link
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(broken_intra_doc_links)]` on by default
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]    |
[INFO] [stderr] 88 | /// See [the module level documentation](mod@heap) for details.
[INFO] [stderr]    |                                          ^^^^^^^^
[INFO] [stderr] help: to link to the macro, add an exclamation mark
[INFO] [stderr]    |
[INFO] [stderr] 88 | /// See [the module level documentation](heap!) for details.
[INFO] [stderr]    |                                          ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `periph` is both a module and a macro
[INFO] [stderr]   --> src/lib.rs:94:42
[INFO] [stderr]    |
[INFO] [stderr] 94 | /// See [the module level documentation](periph) for details.
[INFO] [stderr]    |                                          ^^^^^^ ambiguous link
[INFO] [stderr]    |
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]    |
[INFO] [stderr] 94 | /// See [the module level documentation](mod@periph) for details.
[INFO] [stderr]    |                                          ^^^^^^^^^^
[INFO] [stderr] help: to link to the macro, add an exclamation mark
[INFO] [stderr]    |
[INFO] [stderr] 94 | /// See [the module level documentation](periph!) for details.
[INFO] [stderr]    |                                          ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `reg` is both a module and a macro
[INFO] [stderr]    --> src/lib.rs:100:42
[INFO] [stderr]     |
[INFO] [stderr] 100 | /// See [the module level documentation](reg) for details.
[INFO] [stderr]     |                                          ^^^ ambiguous link
[INFO] [stderr]     |
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]     |
[INFO] [stderr] 100 | /// See [the module level documentation](mod@reg) for details.
[INFO] [stderr]     |                                          ^^^^^^^
[INFO] [stderr] help: to link to the macro, add an exclamation mark
[INFO] [stderr]     |
[INFO] [stderr] 100 | /// See [the module level documentation](reg!) for details.
[INFO] [stderr]     |                                          ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `thr` is both a module and a macro
[INFO] [stderr]    --> src/lib.rs:106:42
[INFO] [stderr]     |
[INFO] [stderr] 106 | /// See [the module level documentation](thr) for details.
[INFO] [stderr]     |                                          ^^^ ambiguous link
[INFO] [stderr]     |
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]     |
[INFO] [stderr] 106 | /// See [the module level documentation](mod@thr) for details.
[INFO] [stderr]     |                                          ^^^^^^^
[INFO] [stderr] help: to link to the macro, add an exclamation mark
[INFO] [stderr]     |
[INFO] [stderr] 106 | /// See [the module level documentation](thr!) for details.
[INFO] [stderr]     |                                          ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `self::heap` is both a module and a macro
[INFO] [stderr]  --> src/ffi/libc.rs:7:18
[INFO] [stderr]   |
[INFO] [stderr] 7 | //! [Drone Heap](crate::heap).
[INFO] [stderr]   |                  ^^^^^^^^^^^ ambiguous link
[INFO] [stderr]   |
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]   |
[INFO] [stderr] 7 | //! [Drone Heap](mod@self::heap).
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^
[INFO] [stderr] help: to link to the macro, add an exclamation mark
[INFO] [stderr]   |
[INFO] [stderr] 7 | //! [Drone Heap](self::heap!).
[INFO] [stderr]   |                  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `str` is both a module and a builtin type
[INFO] [stderr]   --> src/ffi/c_str.rs:17:67
[INFO] [stderr]    |
[INFO] [stderr] 17 | /// a raw `*const c_char`. It can then be converted to a Rust `&`[`str`] by
[INFO] [stderr]    |                                                                   ^^^^^ ambiguous link
[INFO] [stderr]    |
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]    |
[INFO] [stderr] 17 | /// a raw `*const c_char`. It can then be converted to a Rust `&`[`mod@str`] by
[INFO] [stderr]    |                                                                   ^^^^^^^^^
[INFO] [stderr] help: to link to the builtin type, prefix with `prim@`
[INFO] [stderr]    |
[INFO] [stderr] 17 | /// a raw `*const c_char`. It can then be converted to a Rust `&`[`prim@str`] by
[INFO] [stderr]    |                                                                   ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `str` is both a module and a builtin type
[INFO] [stderr]   --> src/ffi/c_str.rs:20:38
[INFO] [stderr]    |
[INFO] [stderr] 20 | /// `&CStr` is to [`CString`] as `&`[`str`] is to [`String`]: the former in each
[INFO] [stderr]    |                                      ^^^^^ ambiguous link
[INFO] [stderr]    |
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]    |
[INFO] [stderr] 20 | /// `&CStr` is to [`CString`] as `&`[`mod@str`] is to [`String`]: the former in each
[INFO] [stderr]    |                                      ^^^^^^^^^
[INFO] [stderr] help: to link to the builtin type, prefix with `prim@`
[INFO] [stderr]    |
[INFO] [stderr] 20 | /// `&CStr` is to [`CString`] as `&`[`prim@str`] is to [`String`]: the former in each
[INFO] [stderr]    |                                      ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `str` is both a module and a builtin type
[INFO] [stderr]    --> src/ffi/c_str.rs:312:22
[INFO] [stderr]     |
[INFO] [stderr] 312 |     /// Yields a `&`[`str`] slice if the `CStr` contains valid UTF-8.
[INFO] [stderr]     |                      ^^^^^ ambiguous link
[INFO] [stderr]     |
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]     |
[INFO] [stderr] 312 |     /// Yields a `&`[`mod@str`] slice if the `CStr` contains valid UTF-8.
[INFO] [stderr]     |                      ^^^^^^^^^
[INFO] [stderr] help: to link to the builtin type, prefix with `prim@`
[INFO] [stderr]     |
[INFO] [stderr] 312 |     /// Yields a `&`[`prim@str`] slice if the `CStr` contains valid UTF-8.
[INFO] [stderr]     |                      ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `str` is both a module and a builtin type
[INFO] [stderr]    --> src/ffi/c_str.rs:315:38
[INFO] [stderr]     |
[INFO] [stderr] 315 |     /// return the corresponding `&`[`str`] slice. Otherwise, it will return an
[INFO] [stderr]     |                                      ^^^^^ ambiguous link
[INFO] [stderr]     |
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]     |
[INFO] [stderr] 315 |     /// return the corresponding `&`[`mod@str`] slice. Otherwise, it will return an
[INFO] [stderr]     |                                      ^^^^^^^^^
[INFO] [stderr] help: to link to the builtin type, prefix with `prim@`
[INFO] [stderr]     |
[INFO] [stderr] 315 |     /// return the corresponding `&`[`prim@str`] slice. Otherwise, it will return an
[INFO] [stderr]     |                                      ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `str` is both a module and a builtin type
[INFO] [stderr]    --> src/ffi/c_str.rs:339:45
[INFO] [stderr]     |
[INFO] [stderr] 339 |     /// Converts a `CStr` into a [`Cow`]`<`[`str`]`>`.
[INFO] [stderr]     |                                             ^^^^^ ambiguous link
[INFO] [stderr]     |
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]     |
[INFO] [stderr] 339 |     /// Converts a `CStr` into a [`Cow`]`<`[`mod@str`]`>`.
[INFO] [stderr]     |                                             ^^^^^^^^^
[INFO] [stderr] help: to link to the builtin type, prefix with `prim@`
[INFO] [stderr]     |
[INFO] [stderr] 339 |     /// Converts a `CStr` into a [`Cow`]`<`[`prim@str`]`>`.
[INFO] [stderr]     |                                             ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `str` is both a module and a builtin type
[INFO] [stderr]    --> src/ffi/c_str.rs:342:40
[INFO] [stderr]     |
[INFO] [stderr] 342 |     /// return a [`Cow::Borrowed`]`(&`[`str`]`)` with the corresponding
[INFO] [stderr]     |                                        ^^^^^ ambiguous link
[INFO] [stderr]     |
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]     |
[INFO] [stderr] 342 |     /// return a [`Cow::Borrowed`]`(&`[`mod@str`]`)` with the corresponding
[INFO] [stderr]     |                                        ^^^^^^^^^
[INFO] [stderr] help: to link to the builtin type, prefix with `prim@`
[INFO] [stderr]     |
[INFO] [stderr] 342 |     /// return a [`Cow::Borrowed`]`(&`[`prim@str`]`)` with the corresponding
[INFO] [stderr]     |                                        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `str` is both a module and a builtin type
[INFO] [stderr]    --> src/ffi/c_str.rs:343:13
[INFO] [stderr]     |
[INFO] [stderr] 343 |     /// `&`[`str`] slice. Otherwise, it will replace any invalid UTF-8 sequences
[INFO] [stderr]     |             ^^^^^ ambiguous link
[INFO] [stderr]     |
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]     |
[INFO] [stderr] 343 |     /// `&`[`mod@str`] slice. Otherwise, it will replace any invalid UTF-8 sequences
[INFO] [stderr]     |             ^^^^^^^^^
[INFO] [stderr] help: to link to the builtin type, prefix with `prim@`
[INFO] [stderr]     |
[INFO] [stderr] 343 |     /// `&`[`prim@str`] slice. Otherwise, it will replace any invalid UTF-8 sequences
[INFO] [stderr]     |             ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `self::heap` is both a module and a macro
[INFO] [stderr]   --> src/heap/allocator.rs:12:14
[INFO] [stderr]    |
[INFO] [stderr] 12 | /// [`heap`](crate::heap) macro should be used to generate the concrete type and
[INFO] [stderr]    |              ^^^^^^^^^^^ ambiguous link
[INFO] [stderr]    |
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]    |
[INFO] [stderr] 12 | /// [`heap`](mod@self::heap) macro should be used to generate the concrete type and
[INFO] [stderr]    |              ^^^^^^^^^^^^^^
[INFO] [stderr] help: to link to the macro, add an exclamation mark
[INFO] [stderr]    |
[INFO] [stderr] 12 | /// [`heap`](self::heap!) macro should be used to generate the concrete type and
[INFO] [stderr]    |              ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `self::reg` is both a module and a macro
[INFO] [stderr]  --> src/periph.rs:1:58
[INFO] [stderr]   |
[INFO] [stderr] 1 | //! Peripheral is a group of [`memory-mapped registers`](crate::reg) or their
[INFO] [stderr]   |                                                          ^^^^^^^^^^ ambiguous link
[INFO] [stderr]   |
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]   |
[INFO] [stderr] 1 | //! Peripheral is a group of [`memory-mapped registers`](mod@self::reg) or their
[INFO] [stderr]   |                                                          ^^^^^^^^^^^^^
[INFO] [stderr] help: to link to the macro, add an exclamation mark
[INFO] [stderr]   |
[INFO] [stderr] 1 | //! Peripheral is a group of [`memory-mapped registers`](self::reg!) or their
[INFO] [stderr]   |                                                          ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `self::thr` is both a module and a macro
[INFO] [stderr]    --> src/thr/mod.rs:140:34
[INFO] [stderr]     |
[INFO] [stderr] 140 | /// module-level documentation`](crate::thr) for details.
[INFO] [stderr]     |                                  ^^^^^^^^^^ ambiguous link
[INFO] [stderr]     |
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]     |
[INFO] [stderr] 140 | /// module-level documentation`](mod@self::thr) for details.
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^
[INFO] [stderr] help: to link to the macro, add an exclamation mark
[INFO] [stderr]     |
[INFO] [stderr] 140 | /// module-level documentation`](self::thr!) for details.
[INFO] [stderr]     |                                  ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `self::sync::mutex::Mutex`
[INFO] [stderr]   --> src/token.rs:91:48
[INFO] [stderr]    |
[INFO] [stderr] 91 | //! interior-mutability. For example [`Mutex`](crate::sync::mutex::Mutex)
[INFO] [stderr]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `mutex` in module `sync`
[INFO] [stderr] 
[INFO] [stderr] warning: 16 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 12s
[INFO] running `Command { std: "docker" "inspect" "2732d1fac0999d1a0c44a83c6f8881c720a4bb43833da1584eba15e41ab61146", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2732d1fac0999d1a0c44a83c6f8881c720a4bb43833da1584eba15e41ab61146", kill_on_drop: false }`
[INFO] [stdout] 2732d1fac0999d1a0c44a83c6f8881c720a4bb43833da1584eba15e41ab61146