rc-box 1.2.0

Known unique versions of Rc and Arc.
Documentation
Build #1553842 2024-11-18T01:35:38.550290+00:00
# rustc version
rustc 1.84.0-nightly (5ec7d6eee 2024-11-17)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rc-box-1.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rc-box-1.2.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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/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\", \"-20241117-1.84.0-nightly-5ec7d6eee\", \"--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-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-pc-windows-msvc", 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] c22bc4dd07a31ec5d280c6527f22ffc9ec39f5a4b1cedea358e0e44740b28cd8
[INFO] running `Command { std: "docker" "start" "-a" "c22bc4dd07a31ec5d280c6527f22ffc9ec39f5a4b1cedea358e0e44740b28cd8", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting rc-box v1.2.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition value: `std`
[INFO] [stderr]   --> src/lib.rs:16:7
[INFO] [stderr]    |
[INFO] [stderr] 16 | #[cfg(feature = "std")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `default`, `erasable`, `slice-dst`, and `unsize`
[INFO] [stderr]    = help: consider adding `std` as a feature in `Cargo.toml`
[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 value: `std`
[INFO] [stderr]   --> src/lib.rs:23:7
[INFO] [stderr]    |
[INFO] [stderr] 23 | #[cfg(feature = "std")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `default`, `erasable`, `slice-dst`, and `unsize`
[INFO] [stderr]    = help: consider adding `std` as a feature in `Cargo.toml`
[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 value: `std`
[INFO] [stderr]    --> src/lib.rs:649:15
[INFO] [stderr]     |
[INFO] [stderr] 649 |           #[cfg(feature = "std")]
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 699 | / rc_box! {
[INFO] [stderr] 700 | |     /// Known unique version of [`Arc`].
[INFO] [stderr] 701 | |     ///
[INFO] [stderr] 702 | |     /// This type is guaranteed to have the same repr as `Box<T>`.
[INFO] [stderr] ...   |
[INFO] [stderr] 711 | |     RcBox = Rc
[INFO] [stderr] 712 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `default`, `erasable`, `slice-dst`, and `unsize`
[INFO] [stderr]     = help: consider adding `std` as a feature in `Cargo.toml`
[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: this warning originates in the macro `rc_box` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: Rust code block is empty
[INFO] [stderr]    --> src/lib.rs:654:13
[INFO] [stderr]     |
[INFO] [stderr] 654 | /             concat!("Unsizes a pointer using the `unsize` crate.
[INFO] [stderr] 655 | |
[INFO] [stderr] 656 | | # Usage
[INFO] [stderr] ...   |
[INFO] [stderr] 682 | | print_if_string(my_number);
[INFO] [stderr] 683 | | ```"),
[INFO] [stderr]     | |_____^
[INFO] [stderr] ...
[INFO] [stderr] 699 | / rc_box! {
[INFO] [stderr] 700 | |     /// Known unique version of [`Arc`].
[INFO] [stderr] 701 | |     ///
[INFO] [stderr] 702 | |     /// This type is guaranteed to have the same repr as `Box<T>`.
[INFO] [stderr] ...   |
[INFO] [stderr] 711 | |     RcBox = Rc
[INFO] [stderr] 712 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = help: mark blocks that do not contain Rust code as text: ```text
[INFO] [stderr]     = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default
[INFO] [stderr]     = note: this warning originates in the macro `doc_comment` which comes from the expansion of the macro `rc_box` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `dyn`
[INFO] [stderr]    --> src/lib.rs:654:13
[INFO] [stderr]     |
[INFO] [stderr] 654 | /             concat!("Unsizes a pointer using the `unsize` crate.
[INFO] [stderr] 655 | |
[INFO] [stderr] 656 | | # Usage
[INFO] [stderr] ...   |
[INFO] [stderr] 682 | | print_if_string(my_number);
[INFO] [stderr] 683 | | ```"),
[INFO] [stderr]     | |_____^
[INFO] [stderr] ...
[INFO] [stderr] 699 | / rc_box! {
[INFO] [stderr] 700 | |     /// Known unique version of [`Arc`].
[INFO] [stderr] 701 | |     ///
[INFO] [stderr] 702 | |     /// This type is guaranteed to have the same repr as `Box<T>`.
[INFO] [stderr] ...   |
[INFO] [stderr] 711 | |     RcBox = Rc
[INFO] [stderr] 712 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr]     = note: this warning originates in the macro `doc_comment` which comes from the expansion of the macro `rc_box` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `String`
[INFO] [stderr]    --> src/lib.rs:654:13
[INFO] [stderr]     |
[INFO] [stderr] 654 | /             concat!("Unsizes a pointer using the `unsize` crate.
[INFO] [stderr] 655 | |
[INFO] [stderr] 656 | | # Usage
[INFO] [stderr] ...   |
[INFO] [stderr] 682 | | print_if_string(my_number);
[INFO] [stderr] 683 | | ```"),
[INFO] [stderr]     | |_____^
[INFO] [stderr] ...
[INFO] [stderr] 699 | / rc_box! {
[INFO] [stderr] 700 | |     /// Known unique version of [`Arc`].
[INFO] [stderr] 701 | |     ///
[INFO] [stderr] 702 | |     /// This type is guaranteed to have the same repr as `Box<T>`.
[INFO] [stderr] ...   |
[INFO] [stderr] 711 | |     RcBox = Rc
[INFO] [stderr] 712 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `doc_comment` which comes from the expansion of the macro `rc_box` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]     |
[INFO] [stderr] 654 ~             `concat!("Unsizes a pointer using the `unsize` crate.
[INFO] [stderr] 655 |
[INFO] [stderr] ...
[INFO] [stderr] 682 | print_if_string(my_number);
[INFO] [stderr] 683 ~ ```")`,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: Rust code block is empty
[INFO] [stderr]    --> src/lib.rs:654:13
[INFO] [stderr]     |
[INFO] [stderr] 654 | /             concat!("Unsizes a pointer using the `unsize` crate.
[INFO] [stderr] 655 | |
[INFO] [stderr] 656 | | # Usage
[INFO] [stderr] ...   |
[INFO] [stderr] 682 | | print_if_string(my_number);
[INFO] [stderr] 683 | | ```"),
[INFO] [stderr]     | |_____^
[INFO] [stderr] ...
[INFO] [stderr] 699 | / rc_box! {
[INFO] [stderr] 700 | |     /// Known unique version of [`Arc`].
[INFO] [stderr] 701 | |     ///
[INFO] [stderr] 702 | |     /// This type is guaranteed to have the same repr as `Box<T>`.
[INFO] [stderr] ...   |
[INFO] [stderr] 711 | |     RcBox = Rc
[INFO] [stderr] 712 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = help: mark blocks that do not contain Rust code as text: ```text
[INFO] [stderr]     = note: this warning originates in the macro `doc_comment` which comes from the expansion of the macro `rc_box` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `dyn`
[INFO] [stderr]    --> src/lib.rs:654:13
[INFO] [stderr]     |
[INFO] [stderr] 654 | /             concat!("Unsizes a pointer using the `unsize` crate.
[INFO] [stderr] 655 | |
[INFO] [stderr] 656 | | # Usage
[INFO] [stderr] ...   |
[INFO] [stderr] 682 | | print_if_string(my_number);
[INFO] [stderr] 683 | | ```"),
[INFO] [stderr]     | |_____^
[INFO] [stderr] ...
[INFO] [stderr] 699 | / rc_box! {
[INFO] [stderr] 700 | |     /// Known unique version of [`Arc`].
[INFO] [stderr] 701 | |     ///
[INFO] [stderr] 702 | |     /// This type is guaranteed to have the same repr as `Box<T>`.
[INFO] [stderr] ...   |
[INFO] [stderr] 711 | |     RcBox = Rc
[INFO] [stderr] 712 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `doc_comment` which comes from the expansion of the macro `rc_box` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `rc-box` (lib doc) generated 9 warnings (1 duplicate)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-pc-windows-msvc/doc/rc_box/index.html
[INFO] running `Command { std: "docker" "inspect" "c22bc4dd07a31ec5d280c6527f22ffc9ec39f5a4b1cedea358e0e44740b28cd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c22bc4dd07a31ec5d280c6527f22ffc9ec39f5a4b1cedea358e0e44740b28cd8", kill_on_drop: false }`
[INFO] [stdout] c22bc4dd07a31ec5d280c6527f22ffc9ec39f5a4b1cedea358e0e44740b28cd8