singleton-attr 0.1.9

Simple to use singleton procedural attribute and derive macro
Documentation

Build #1488166 2024-10-31 15:12:59

# rustc version rustc 1.84.0-nightly (759e07f06 2024-10-30)

# docs.rs version docsrs 0.6.0 (83e30f05 2024-10-25)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/singleton-attr-0.1.9/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/singleton-attr-0.1.9/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241030-1.84.0-nightly-759e07f06\", \"--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] 40bae102fe120952ee279d1e3e0d506c96cce05ab89e7856f7718eef99e1a8bf [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" "40bae102fe120952ee279d1e3e0d506c96cce05ab89e7856f7718eef99e1a8bf", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `singleton-attr` (lib) generated 1 warning [INFO] [stderr] Scraping singleton-attr v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to scan example "02_threads" in package `singleton-attr` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `singleton-attr` (example "02_threads") generated 1 warning [INFO] [stderr] warning: failed to scan example "03_safe_threads" in package `singleton-attr` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `singleton-attr` (example "03_safe_threads") generated 1 warning [INFO] [stderr] Documenting singleton-attr v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/singleton_attr/index.html [INFO] running `Command { std: "docker" "inspect" "40bae102fe120952ee279d1e3e0d506c96cce05ab89e7856f7718eef99e1a8bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40bae102fe120952ee279d1e3e0d506c96cce05ab89e7856f7718eef99e1a8bf", kill_on_drop: false }` [INFO] [stdout] 40bae102fe120952ee279d1e3e0d506c96cce05ab89e7856f7718eef99e1a8bf