tokenlock 0.3.8

Provides cell types that decouple permissions from data.
Documentation
Build #2232113 2025-06-16 06:11:31
# rustc version
rustc 1.89.0-nightly (586ad391f 2025-06-15)# docs.rs version
docsrs 0.6.0 (0a8149e8 2025-06-15)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/tokenlock-0.3.8/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/tokenlock-0.3.8/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/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\", \"-20250615-1.89.0-nightly-586ad391f\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] add0faba9a359cdfdfbe1b3596739985a906056d156d5fed7601142aeb68bd4f
[INFO] running `Command { std: "docker" "start" "-a" "add0faba9a359cdfdfbe1b3596739985a906056d156d5fed7601142aeb68bd4f", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting tokenlock v0.3.8 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition name: `compiler_has_cfg_target_has_atomic`
[INFO] [stderr]    --> src/lib.rs:346:13
[INFO] [stderr]     |
[INFO] [stderr] 346 |         all(compiler_has_cfg_target_has_atomic, target_has_atomic = "ptr"),
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stderr]     = help: consider using a Cargo feature instead
[INFO] [stderr]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]              [lints.rust]
[INFO] [stderr]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(compiler_has_cfg_target_has_atomic)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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: `compiler_has_cfg_target_has_atomic`
[INFO] [stderr]    --> src/lib.rs:347:13
[INFO] [stderr]     |
[INFO] [stderr] 347 |         not(compiler_has_cfg_target_has_atomic)
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead
[INFO] [stderr]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]              [lints.rust]
[INFO] [stderr]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(compiler_has_cfg_target_has_atomic)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `compiler_has_cfg_target_has_atomic`
[INFO] [stderr]    --> src/lib.rs:358:13
[INFO] [stderr]     |
[INFO] [stderr] 358 |         all(compiler_has_cfg_target_has_atomic, target_has_atomic = "ptr"),
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead
[INFO] [stderr]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]              [lints.rust]
[INFO] [stderr]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(compiler_has_cfg_target_has_atomic)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `compiler_has_cfg_target_has_atomic`
[INFO] [stderr]    --> src/lib.rs:359:13
[INFO] [stderr]     |
[INFO] [stderr] 359 |         not(compiler_has_cfg_target_has_atomic)
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead
[INFO] [stderr]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]              [lints.rust]
[INFO] [stderr]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(compiler_has_cfg_target_has_atomic)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `compiler_has_cfg_target_has_atomic`
[INFO] [stderr]   --> src/singleton_factory.rs:50:9
[INFO] [stderr]    |
[INFO] [stderr] 50 |     all(compiler_has_cfg_target_has_atomic, target_has_atomic = "8"),
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(compiler_has_cfg_target_has_atomic)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `compiler_has_cfg_target_has_atomic`
[INFO] [stderr]   --> src/singleton_factory.rs:51:9
[INFO] [stderr]    |
[INFO] [stderr] 51 |     not(compiler_has_cfg_target_has_atomic)
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(compiler_has_cfg_target_has_atomic)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `compiler_has_cfg_target_has_atomic`
[INFO] [stderr]   --> src/singleton_factory.rs:91:9
[INFO] [stderr]    |
[INFO] [stderr] 91 |     all(compiler_has_cfg_target_has_atomic, target_has_atomic = "8"),
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(compiler_has_cfg_target_has_atomic)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `compiler_has_cfg_target_has_atomic`
[INFO] [stderr]   --> src/singleton_factory.rs:92:9
[INFO] [stderr]    |
[INFO] [stderr] 92 |     not(compiler_has_cfg_target_has_atomic)
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(compiler_has_cfg_target_has_atomic)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(compiler_has_cfg_target_has_atomic)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `impl_singleton_token_factory`
[INFO] [stderr]   --> src/singleton_factory.rs:23:11
[INFO] [stderr]    |
[INFO] [stderr] 23 | /// Use [`impl_singleton_token_factory!`] to implement this trait.
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `impl_singleton_token_factory` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `impl_singleton_token_factory` 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: `tokenlock` (lib doc) generated 9 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/tokenlock/index.html
[INFO] running `Command { std: "docker" "inspect" "add0faba9a359cdfdfbe1b3596739985a906056d156d5fed7601142aeb68bd4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "add0faba9a359cdfdfbe1b3596739985a906056d156d5fed7601142aeb68bd4f", kill_on_drop: false }`
[INFO] [stdout] add0faba9a359cdfdfbe1b3596739985a906056d156d5fed7601142aeb68bd4f