safer-ffi 0.1.8

Write safer FFI code in Rust without polluting it with unsafe code
Documentation
Build #1221624 2024-05-16T13:00:15.078505+00:00
# rustc version
rustc 1.80.0-nightly (1871252fc 2024-05-15)
# docs.rs version
docsrs 0.6.0 (7c63657e 2024-05-03)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/safer-ffi-0.1.8/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/safer-ffi-0.1.8/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" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "docs" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240515-1.80.0-nightly-1871252fc\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] dd918306326363545585cf4e39a47b64e4baac4a7c70ef85b4d3a8f187bd558c
[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" "dd918306326363545585cf4e39a47b64e4baac4a7c70ef85b4d3a8f187bd558c", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting safer-ffi v0.1.8 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/_lib.rs:284:16
[INFO] [stderr]     |
[INFO] [stderr] 284 | #[cfg_attr(all(docs, feature = "nightly"),
[INFO] [stderr]     |                ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/layout/macros.rs:357:17
[INFO] [stderr]     |
[INFO] [stderr] 357 | #[cfg(any(test, docs))]
[INFO] [stderr]     |                 ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/layout/impls.rs:80:15
[INFO] [stderr]     |
[INFO] [stderr] 80  |         #[cfg(docs)] impl_CTypes! { @fns (A1, A2) } #[cfg(not(docs))]
[INFO] [stderr]     |               ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr] ...
[INFO] [stderr] 776 | } impl_CTypes! {} };
[INFO] [stderr]     |   --------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr]     = note: this warning originates in the macro `impl_CTypes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/layout/impls.rs:80:63
[INFO] [stderr]     |
[INFO] [stderr] 80  |         #[cfg(docs)] impl_CTypes! { @fns (A1, A2) } #[cfg(not(docs))]
[INFO] [stderr]     |                                                               ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr] ...
[INFO] [stderr] 776 | } impl_CTypes! {} };
[INFO] [stderr]     |   --------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr]     = note: this warning originates in the macro `impl_CTypes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/layout/impls.rs:84:15
[INFO] [stderr]     |
[INFO] [stderr] 84  |         #[cfg(docs)] impl_CTypes! { @arrays 1 2 } #[cfg(not(docs))]
[INFO] [stderr]     |               ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr] ...
[INFO] [stderr] 776 | } impl_CTypes! {} };
[INFO] [stderr]     |   --------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr]     = note: this warning originates in the macro `impl_CTypes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/layout/impls.rs:84:61
[INFO] [stderr]     |
[INFO] [stderr] 84  |         #[cfg(docs)] impl_CTypes! { @arrays 1 2 } #[cfg(not(docs))]
[INFO] [stderr]     |                                                             ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr] ...
[INFO] [stderr] 776 | } impl_CTypes! {} };
[INFO] [stderr]     |   --------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr]     = note: this warning originates in the macro `impl_CTypes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]   --> src/headers/definer.rs:28:11
[INFO] [stderr]    |
[INFO] [stderr] 28 |     #[cfg(docs)]
[INFO] [stderr]    |           ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]   --> src/closure/mod.rs:81:11
[INFO] [stderr]    |
[INFO] [stderr] 81 | #[cfg(not(docs))]
[INFO] [stderr]    |           ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]   --> src/closure/mod.rs:63:15
[INFO] [stderr]    |
[INFO] [stderr] 63 |     #[cfg(not(docs))]
[INFO] [stderr]    |               ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/closure/arc.rs:275:11
[INFO] [stderr]     |
[INFO] [stderr] 275 | #[cfg(not(docs))]
[INFO] [stderr]     |           ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/closure/arc.rs:291:7
[INFO] [stderr]     |
[INFO] [stderr] 291 | #[cfg(docs)]
[INFO] [stderr]     |       ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/closure/boxed.rs:217:11
[INFO] [stderr]     |
[INFO] [stderr] 217 | #[cfg(not(docs))]
[INFO] [stderr]     |           ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/closure/boxed.rs:233:7
[INFO] [stderr]     |
[INFO] [stderr] 233 | #[cfg(docs)]
[INFO] [stderr]     |       ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/closure/borrowed.rs:175:11
[INFO] [stderr]     |
[INFO] [stderr] 175 | #[cfg(not(docs))]
[INFO] [stderr]     |           ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/closure/borrowed.rs:191:7
[INFO] [stderr]     |
[INFO] [stderr] 191 | #[cfg(docs)]
[INFO] [stderr]     |       ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]  --> src/dyn_traits/_mod.rs:9:16
[INFO] [stderr]   |
[INFO] [stderr] 9 | #[cfg_attr(all(docs, feature = "nightly"),
[INFO] [stderr]   |                ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/dyn_traits/futures/executor.rs:148:20
[INFO] [stderr]     |
[INFO] [stderr] 148 |     #[cfg_attr(all(docs, feature = "nightly"),
[INFO] [stderr]     |                    ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]   --> src/dyn_traits/futures/executor.rs:39:28
[INFO] [stderr]    |
[INFO] [stderr] 39 |             #[cfg_attr(all(docs, feature = "nightly"),
[INFO] [stderr]    |                            ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr]    = note: this warning originates in the macro `__recurse__` which comes from the expansion of the macro `match_` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/dyn_traits/futures/executor.rs:103:28
[INFO] [stderr]     |
[INFO] [stderr] 103 |             #[cfg_attr(all(docs, feature = "nightly"),
[INFO] [stderr]     |                            ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr]     = note: this warning originates in the macro `__recurse__` which comes from the expansion of the macro `match_` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/slice.rs:100:24
[INFO] [stderr]     |
[INFO] [stderr] 100 |         #[cfg_attr(all(docs, feature = "nightly"), doc(cfg(feature = "alloc")))]
[INFO] [stderr]     |                        ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]   --> src/string/_mod.rs:15:24
[INFO] [stderr]    |
[INFO] [stderr] 15 |         #[cfg_attr(all(docs, feature = "nightly"), doc(cfg(feature = "alloc")))]
[INFO] [stderr]    |                        ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]  --> src/string/slice.rs:9:24
[INFO] [stderr]   |
[INFO] [stderr] 9 |         #[cfg_attr(all(docs, feature = "nightly"), doc(cfg(feature = "alloc")))]
[INFO] [stderr]   |                        ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]   --> src/tuple.rs:79:11
[INFO] [stderr]    |
[INFO] [stderr] 79 | #[cfg(not(docs))]
[INFO] [stderr]    |           ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/tuple.rs:103:11
[INFO] [stderr]     |
[INFO] [stderr] 103 | #[cfg(not(docs))]
[INFO] [stderr]     |           ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/tuple.rs:115:11
[INFO] [stderr]     |
[INFO] [stderr] 115 | #[cfg(not(docs))]
[INFO] [stderr]     |           ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/tuple.rs:127:11
[INFO] [stderr]     |
[INFO] [stderr] 127 | #[cfg(not(docs))]
[INFO] [stderr]     |           ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/tuple.rs:140:11
[INFO] [stderr]     |
[INFO] [stderr] 140 | #[cfg(not(docs))]
[INFO] [stderr]     |           ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]  --> src/vec.rs:9:20
[INFO] [stderr]   |
[INFO] [stderr] 9 |     #[cfg_attr(all(docs, feature = "nightly"), doc(cfg(feature = "alloc")))]
[INFO] [stderr]   |                    ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]    --> src/_lib.rs:408:20
[INFO] [stderr]     |
[INFO] [stderr] 408 |     #[cfg_attr(all(docs, feature = "nightly"),
[INFO] [stderr]     |                    ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `ReprC`
[INFO] [stderr]   --> src/layout/macros.rs:92:7
[INFO] [stderr]    |
[INFO] [stderr] 92 | /// [`ReprC!`] macro to safely implement [`ReprC`][`trait@crate::layout::ReprC`].
[INFO] [stderr]    |       ^^^^^^ no item named `ReprC` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `ReprC` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `CType::c_short_name`
[INFO] [stderr]    --> src/layout/_mod.rs:231:9
[INFO] [stderr]     |
[INFO] [stderr] 231 | /         /// A short-name description of the type, mainly used to fill
[INFO] [stderr] 232 | |         /// "placeholders" such as when monomorphising generics structs or
[INFO] [stderr] 233 | |         /// arrays.
[INFO] [stderr] 234 | |         ///
[INFO] [stderr] ...   |
[INFO] [stderr] 275 | |         /// will have `Foo_xxx` as its `short_name`, with `xxx` being `T`'s
[INFO] [stderr] 276 | |         /// `short_name`.
[INFO] [stderr]     | |_________________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]             This provides the implementation used by [`CType::c_short_name`]`()`.
[INFO] [stderr]                                                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: the trait `CType` has no associated item named `c_short_name`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `CType::c_short_name_fmt`
[INFO] [stderr]    --> src/layout/_mod.rs:296:9
[INFO] [stderr]     |
[INFO] [stderr] 296 | /         /// Convenience function for _callers_ / users of types implementing
[INFO] [stderr] 297 | |         /// [`CType`][`trait@CType`].
[INFO] [stderr] 298 | |         ///
[INFO] [stderr] 299 | |         /// The `Display` logic is auto-derived from the implementation of
[INFO] [stderr] 300 | |         /// [`CType::c_short_name_fmt`]`()`.
[INFO] [stderr]     | |____________________________________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]             [`CType::c_short_name_fmt`]`()`.
[INFO] [stderr]              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: the trait `CType` has no associated item named `c_short_name_fmt`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `CType::c_var`
[INFO] [stderr]    --> src/layout/_mod.rs:308:9
[INFO] [stderr]     |
[INFO] [stderr] 308 | /         /// Necessary one-time code for [`CType::c_var`]`()` to make sense.
[INFO] [stderr] 309 | |         ///
[INFO] [stderr] 310 | |         /// Some types, such as `char`, are part of the language, and can be
[INFO] [stderr] 311 | |         /// used directly by [`CType::c_var`]`()`.
[INFO] [stderr] ...   |
[INFO] [stderr] 399 | |         /// }
[INFO] [stderr] 400 | |         /// ```
[INFO] [stderr]     | |_______________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]             Necessary one-time code for [`CType::c_var`]`()` to make sense.
[INFO] [stderr]                                          ^^^^^^^^^^^^^^
[INFO] [stderr]     = note: the trait `CType` has no associated item named `c_var`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `CType::c_var`
[INFO] [stderr]    --> src/layout/_mod.rs:308:9
[INFO] [stderr]     |
[INFO] [stderr] 308 | /         /// Necessary one-time code for [`CType::c_var`]`()` to make sense.
[INFO] [stderr] 309 | |         ///
[INFO] [stderr] 310 | |         /// Some types, such as `char`, are part of the language, and can be
[INFO] [stderr] 311 | |         /// used directly by [`CType::c_var`]`()`.
[INFO] [stderr] ...   |
[INFO] [stderr] 399 | |         /// }
[INFO] [stderr] 400 | |         /// ```
[INFO] [stderr]     | |_______________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]             used directly by [`CType::c_var`]`()`.
[INFO] [stderr]                               ^^^^^^^^^^^^^^
[INFO] [stderr]     = note: the trait `CType` has no associated item named `c_var`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `CType::c_var_fmt`
[INFO] [stderr]    --> src/layout/_mod.rs:308:9
[INFO] [stderr]     |
[INFO] [stderr] 308 | /         /// Necessary one-time code for [`CType::c_var`]`()` to make sense.
[INFO] [stderr] 309 | |         ///
[INFO] [stderr] 310 | |         /// Some types, such as `char`, are part of the language, and can be
[INFO] [stderr] 311 | |         /// used directly by [`CType::c_var`]`()`.
[INFO] [stderr] ...   |
[INFO] [stderr] 399 | |         /// }
[INFO] [stderr] 400 | |         /// ```
[INFO] [stderr]     | |_______________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]             Given that the defined types may be used by [`CType::c_var_fmt`]`()`,
[INFO] [stderr]                                                          ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: the trait `CType` has no associated item named `c_var_fmt`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `CType::c_var`
[INFO] [stderr]    --> src/layout/_mod.rs:418:9
[INFO] [stderr]     |
[INFO] [stderr] 418 | /         /// The core method of the trait: it provides the implementation to be
[INFO] [stderr] 419 | |         /// used by [`CType::c_var`], by bringing a `Formatter` in scope.
[INFO] [stderr] 420 | |         ///
[INFO] [stderr] 421 | |         /// This provides the implementation used by [`CType::c_var`]`()`.
[INFO] [stderr] ...   |
[INFO] [stderr] 509 | |         /// }
[INFO] [stderr] 510 | |         /// ```
[INFO] [stderr]     | |_______________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]             used by [`CType::c_var`], by bringing a `Formatter` in scope.
[INFO] [stderr]                      ^^^^^^^^^^^^^^
[INFO] [stderr]     = note: the trait `CType` has no associated item named `c_var`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `CType::c_var`
[INFO] [stderr]    --> src/layout/_mod.rs:418:9
[INFO] [stderr]     |
[INFO] [stderr] 418 | /         /// The core method of the trait: it provides the implementation to be
[INFO] [stderr] 419 | |         /// used by [`CType::c_var`], by bringing a `Formatter` in scope.
[INFO] [stderr] 420 | |         ///
[INFO] [stderr] 421 | |         /// This provides the implementation used by [`CType::c_var`]`()`.
[INFO] [stderr] ...   |
[INFO] [stderr] 509 | |         /// }
[INFO] [stderr] 510 | |         /// ```
[INFO] [stderr]     | |_______________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]             This provides the implementation used by [`CType::c_var`]`()`.
[INFO] [stderr]                                                       ^^^^^^^^^^^^^^
[INFO] [stderr]     = note: the trait `CType` has no associated item named `c_var`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `CType::c_var_fmt`
[INFO] [stderr]    --> src/layout/_mod.rs:517:9
[INFO] [stderr]     |
[INFO] [stderr] 517 | /         /// Convenience function for _callers_ / users of types implementing
[INFO] [stderr] 518 | |         /// [`CType`][`trait@CType`].
[INFO] [stderr] 519 | |         ///
[INFO] [stderr] 520 | |         /// The `Display` logic is auto-derived from the implementation of
[INFO] [stderr] 521 | |         /// [`CType::c_var_fmt`]`()`.
[INFO] [stderr]     | |_____________________________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]             [`CType::c_var_fmt`]`()`.
[INFO] [stderr]              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: the trait `CType` has no associated item named `c_var_fmt`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Definer::define_once`
[INFO] [stderr]   --> src/headers/definer.rs:15:7
[INFO] [stderr]    |
[INFO] [stderr] 15 | /// [`Definer::define_once`]`()`.
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^ the trait `Definer` has no associated item named `define_once`
[INFO] [stderr] 
[INFO] [stderr] warning: `safer-ffi` (lib doc) generated 39 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.63s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/safer_ffi/index.html
[INFO] running `Command { std: "docker" "inspect" "dd918306326363545585cf4e39a47b64e4baac4a7c70ef85b4d3a8f187bd558c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd918306326363545585cf4e39a47b64e4baac4a7c70ef85b4d3a8f187bd558c", kill_on_drop: false }`
[INFO] [stdout] dd918306326363545585cf4e39a47b64e4baac4a7c70ef85b4d3a8f187bd558c