marine-macro 0.14.0

Definition of the `#[marine]` macro
Documentation
Build #1683904 2025-01-28T18:58:59.346847+00:00
# rustc version
rustc 1.86.0-nightly (2f348cb7c 2025-01-27)# docs.rs version
docsrs 0.6.0 (29a0e81b 2025-01-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/marine-macro-0.14.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/marine-macro-0.14.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" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250127-1.86.0-nightly-2f348cb7c\", \"--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", kill_on_drop: false }`
[INFO] [stdout] bf7334837079aac2d6097bb5279666d452ef3dc244ed4cd0a9764d0268fa8081
[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" "bf7334837079aac2d6097bb5279666d452ef3dc244ed4cd0a9764d0268fa8081", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting marine-macro v0.14.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unclosed HTML tag `u8`
[INFO] [stderr]   --> src/lib.rs:19:81
[INFO] [stderr]    |
[INFO] [stderr] 19 | //! functions: i8, i16, i32, i64, u8, u16, u32, u64, f32, f64, bool, String, Vec<u8>. Also struct
[INFO] [stderr]    |                                                                                 ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]    |
[INFO] [stderr] 19 | //! functions: i8, i16, i32, i64, u8, u16, u32, u64, f32, f64, bool, String, `Vec<u8>`. Also struct
[INFO] [stderr]    |                                                                              +       +
[INFO] [stderr] 
[INFO] [stderr] warning: `marine` is both a function and an attribute macro
[INFO] [stderr]   --> src/lib.rs:17:19
[INFO] [stderr]    |
[INFO] [stderr] 17 | //! Defines the #[marine] macro that should be used with all export functions, extern blocks.
[INFO] [stderr]    |                   ^^^^^^ ambiguous link
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] help: to link to the function, add parentheses
[INFO] [stderr]    |
[INFO] [stderr] 17 | //! Defines the #[marine()] macro that should be used with all export functions, extern blocks.
[INFO] [stderr]    |                         ++
[INFO] [stderr] help: to link to the attribute macro, prefix with `macro@`
[INFO] [stderr]    |
[INFO] [stderr] 17 | //! Defines the #[macro@marine] macro that should be used with all export functions, extern blocks.
[INFO] [stderr]    |                   ++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `marine` is both a function and an attribute macro
[INFO] [stderr]   --> src/lib.rs:21:12
[INFO] [stderr]    |
[INFO] [stderr] 21 | //! case #[marine] should be also applied to this structs.
[INFO] [stderr]    |            ^^^^^^ ambiguous link
[INFO] [stderr]    |
[INFO] [stderr] help: to link to the function, add parentheses
[INFO] [stderr]    |
[INFO] [stderr] 21 | //! case #[marine()] should be also applied to this structs.
[INFO] [stderr]    |                  ++
[INFO] [stderr] help: to link to the attribute macro, prefix with `macro@`
[INFO] [stderr]    |
[INFO] [stderr] 21 | //! case #[macro@marine] should be also applied to this structs.
[INFO] [stderr]    |            ++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `marine-macro` (lib doc) generated 3 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] [stderr]    Generated /opt/rustwide/target/doc/marine_macro/index.html
[INFO] running `Command { std: "docker" "inspect" "bf7334837079aac2d6097bb5279666d452ef3dc244ed4cd0a9764d0268fa8081", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf7334837079aac2d6097bb5279666d452ef3dc244ed4cd0a9764d0268fa8081", kill_on_drop: false }`
[INFO] [stdout] bf7334837079aac2d6097bb5279666d452ef3dc244ed4cd0a9764d0268fa8081