ffi-support 0.1.3

A crate to help expose Rust functions over the FFI.
Documentation
Build #675059 2022-11-17T10:46:41.783091+00:00
# rustc version
rustc 1.67.0-nightly (e9493d63c 2022-11-16)
# docs.rs version
docsrs 0.6.0 (2e5ef9b6 2022-11-15)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/ffi-support-0.1.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/ffi-support-0.1.3/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" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20221116-1.67.0-nightly-e9493d63c\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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\"" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d4dd9ee480a81a6cc312a313c41c4b5fe4e05b34da087bb084fc446be63d32d8
[INFO] running `Command { std: "docker" "start" "-a" "d4dd9ee480a81a6cc312a313c41c4b5fe4e05b34da087bb084fc446be63d32d8", kill_on_drop: false }`
[INFO] [stderr]  Documenting ffi-support v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `define_string_destructor`
[INFO] [stderr]   --> src/error.rs:85:17
[INFO] [stderr]    |
[INFO] [stderr] 85 | /// using the [`define_string_destructor!`] macro provided by this crate.
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `define_string_destructor` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `define_string_destructor` 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 `define_string_destructor`
[INFO] [stderr]   --> src/into_ffi.rs:27:36
[INFO] [stderr]    |
[INFO] [stderr] 27 | ///   which can be done with the [`define_string_destructor!`] macro.
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `define_string_destructor` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `define_string_destructor` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `implement_into_ffi_by_json`
[INFO] [stderr]   --> src/into_ffi.rs:48:28
[INFO] [stderr]    |
[INFO] [stderr] 48 | ///   automatically with [`implement_into_ffi_by_json!`]), allowing `Vec<T>` to be passed back as
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `implement_into_ffi_by_json` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `implement_into_ffi_by_json` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `implement_into_ffi_by_pointer`
[INFO] [stderr]   --> src/into_ffi.rs:56:10
[INFO] [stderr]    |
[INFO] [stderr] 56 | ///    [`implement_into_ffi_by_pointer!`] is provided.
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `implement_into_ffi_by_pointer` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `implement_into_ffi_by_pointer` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `implement_into_ffi_by_json`
[INFO] [stderr]    --> src/into_ffi.rs:186:55
[INFO] [stderr]     |
[INFO] [stderr] 186 | /// JSON. It's automatically implemented as part of [`implement_into_ffi_by_json!`], and you
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `implement_into_ffi_by_json` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `implement_into_ffi_by_json` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `define_string_destructor`
[INFO] [stderr]   --> src/string.rs:17:39
[INFO] [stderr]    |
[INFO] [stderr] 17 | /// free this memory, and the macro [`define_string_destructor!`] may be used to do so.
[INFO] [stderr]    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `define_string_destructor` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `define_string_destructor` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `define_string_destructor`
[INFO] [stderr]   --> src/string.rs:43:15
[INFO] [stderr]    |
[INFO] [stderr] 43 | /// See the [`define_string_destructor!`] macro which may be used for exposing this function over
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `define_string_destructor` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `define_string_destructor` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `IntoFfi`
[INFO] [stderr]  --> src/macros.rs:8:18
[INFO] [stderr]   |
[INFO] [stderr] 8 | /// Implements [`IntoFfi`] for the provided types (more than one may be passed in) by allocating
[INFO] [stderr]   |                  ^^^^^^^ no item named `IntoFfi` in scope
[INFO] [stderr]   |
[INFO] [stderr]   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `define_box_destructor`
[INFO] [stderr]   --> src/macros.rs:13:57
[INFO] [stderr]    |
[INFO] [stderr] 13 | /// implement a destructor in the FFI component using [`define_box_destructor!`].
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ no item named `define_box_destructor` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `define_box_destructor` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `IntoFfi`
[INFO] [stderr]   --> src/macros.rs:33:18
[INFO] [stderr]    |
[INFO] [stderr] 33 | /// Implements [`IntoFfi`] for the provided types (more than one may be passed in) by converting to
[INFO] [stderr]    |                  ^^^^^^^ no item named `IntoFfi` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `IntoFfiJsonTag`
[INFO] [stderr]   --> src/macros.rs:35:40
[INFO] [stderr]    |
[INFO] [stderr] 35 | /// serialization to JSON (by way of [`IntoFfiJsonTag`]).
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^ no item named `IntoFfiJsonTag` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `IntoFfi`
[INFO] [stderr]   --> src/macros.rs:44:11
[INFO] [stderr]    |
[INFO] [stderr] 44 | /// The [`IntoFfi`] implementation this macro generates may panic in the following cases:
[INFO] [stderr]    |           ^^^^^^^ no item named `IntoFfi` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `destroy_c_string`
[INFO] [stderr]   --> src/macros.rs:77:7
[INFO] [stderr]    |
[INFO] [stderr] 77 | /// [`destroy_c_string`] function.
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^ no item named `destroy_c_string` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/lib.rs:20:7
[INFO] [stderr]    |
[INFO] [stderr] 20 | //!   https://doc.rust-lang.org/reference/linkage.html) of `lib`, and not `staticlib` or `cdylib`
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://doc.rust-lang.org/reference/linkage.html>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]    = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `ffi-support` (lib doc) generated 14 warnings (run `cargo fix --lib -p ffi-support` to apply 1 suggestion)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.63s
[INFO] running `Command { std: "docker" "inspect" "d4dd9ee480a81a6cc312a313c41c4b5fe4e05b34da087bb084fc446be63d32d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4dd9ee480a81a6cc312a313c41c4b5fe4e05b34da087bb084fc446be63d32d8", kill_on_drop: false }`
[INFO] [stdout] d4dd9ee480a81a6cc312a313c41c4b5fe4e05b34da087bb084fc446be63d32d8