atomic-types 0.1.0

Adding explicit type system support for atomic counterparts to primitive types.
Documentation

Build #2157446 2025-05-26 02:18:32

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.89.0-nightly (283db70ac 2025-05-25)

# docs.rs version docsrs 0.6.0 (107722ec 2025-05-24)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/atomic-types-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/atomic-types-0.1.0/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250525-1.89.0-nightly-283db70ac\", \"--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" "--config" "build.rustdocflags=[\"-Zmetrics-dir=/opt/rustwide/target/metrics\"]", 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] 845cdc1bf717646031036f2201f7ecc14a4392a8afeff7dcea7aaadefcf86ebd [INFO] running `Command { std: "docker" "start" "-a" "845cdc1bf717646031036f2201f7ecc14a4392a8afeff7dcea7aaadefcf86ebd", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting atomic-types v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0659]: `Atomic` is ambiguous [INFO] [stderr] --> src/impls.rs:8:6 [INFO] [stderr] | [INFO] [stderr] 8 | impl Atomic<usize> for AtomicUsize { [INFO] [stderr] | ^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stderr] note: `Atomic` could refer to the trait imported here [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] note: `Atomic` could also refer to the type alias imported here [INFO] [stderr] --> src/impls.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::sync::atomic::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] [INFO] [stderr] error[E0659]: `Atomic` is ambiguous [INFO] [stderr] --> src/impls.rs:78:6 [INFO] [stderr] | [INFO] [stderr] 78 | impl Atomic<isize> for AtomicIsize { [INFO] [stderr] | ^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stderr] note: `Atomic` could refer to the trait imported here [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] note: `Atomic` could also refer to the type alias imported here [INFO] [stderr] --> src/impls.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::sync::atomic::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] [INFO] [stderr] error[E0659]: `Atomic` is ambiguous [INFO] [stderr] --> src/impls.rs:148:6 [INFO] [stderr] | [INFO] [stderr] 148 | impl Atomic<u64> for AtomicU64 { [INFO] [stderr] | ^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stderr] note: `Atomic` could refer to the trait imported here [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] note: `Atomic` could also refer to the type alias imported here [INFO] [stderr] --> src/impls.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::sync::atomic::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] [INFO] [stderr] error[E0659]: `Atomic` is ambiguous [INFO] [stderr] --> src/impls.rs:218:6 [INFO] [stderr] | [INFO] [stderr] 218 | impl Atomic<i64> for AtomicI64 { [INFO] [stderr] | ^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stderr] note: `Atomic` could refer to the trait imported here [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] note: `Atomic` could also refer to the type alias imported here [INFO] [stderr] --> src/impls.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::sync::atomic::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] [INFO] [stderr] error[E0659]: `Atomic` is ambiguous [INFO] [stderr] --> src/impls.rs:288:6 [INFO] [stderr] | [INFO] [stderr] 288 | impl Atomic<u32> for AtomicU32 { [INFO] [stderr] | ^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stderr] note: `Atomic` could refer to the trait imported here [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] note: `Atomic` could also refer to the type alias imported here [INFO] [stderr] --> src/impls.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::sync::atomic::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] [INFO] [stderr] error[E0659]: `Atomic` is ambiguous [INFO] [stderr] --> src/impls.rs:358:6 [INFO] [stderr] | [INFO] [stderr] 358 | impl Atomic<i32> for AtomicI32 { [INFO] [stderr] | ^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stderr] note: `Atomic` could refer to the trait imported here [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] note: `Atomic` could also refer to the type alias imported here [INFO] [stderr] --> src/impls.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::sync::atomic::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] [INFO] [stderr] error[E0659]: `Atomic` is ambiguous [INFO] [stderr] --> src/impls.rs:428:6 [INFO] [stderr] | [INFO] [stderr] 428 | impl Atomic<u16> for AtomicU16 { [INFO] [stderr] | ^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stderr] note: `Atomic` could refer to the trait imported here [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] note: `Atomic` could also refer to the type alias imported here [INFO] [stderr] --> src/impls.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::sync::atomic::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] [INFO] [stderr] error[E0659]: `Atomic` is ambiguous [INFO] [stderr] --> src/impls.rs:498:6 [INFO] [stderr] | [INFO] [stderr] 498 | impl Atomic<i16> for AtomicI16 { [INFO] [stderr] | ^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stderr] note: `Atomic` could refer to the trait imported here [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] note: `Atomic` could also refer to the type alias imported here [INFO] [stderr] --> src/impls.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::sync::atomic::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] [INFO] [stderr] error[E0659]: `Atomic` is ambiguous [INFO] [stderr] --> src/impls.rs:568:6 [INFO] [stderr] | [INFO] [stderr] 568 | impl Atomic<u8> for AtomicU8 { [INFO] [stderr] | ^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stderr] note: `Atomic` could refer to the trait imported here [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] note: `Atomic` could also refer to the type alias imported here [INFO] [stderr] --> src/impls.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::sync::atomic::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] [INFO] [stderr] error[E0659]: `Atomic` is ambiguous [INFO] [stderr] --> src/impls.rs:638:6 [INFO] [stderr] | [INFO] [stderr] 638 | impl Atomic<i8> for AtomicI8 { [INFO] [stderr] | ^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stderr] note: `Atomic` could refer to the trait imported here [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] note: `Atomic` could also refer to the type alias imported here [INFO] [stderr] --> src/impls.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::sync::atomic::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] [INFO] [stderr] error[E0659]: `Atomic` is ambiguous [INFO] [stderr] --> src/impls.rs:708:6 [INFO] [stderr] | [INFO] [stderr] 708 | impl Atomic<bool> for AtomicBool { [INFO] [stderr] | ^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stderr] note: `Atomic` could refer to the trait imported here [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] note: `Atomic` could also refer to the type alias imported here [INFO] [stderr] --> src/impls.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::sync::atomic::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] [INFO] [stderr] error[E0659]: `Atomic` is ambiguous [INFO] [stderr] --> src/impls.rs:769:9 [INFO] [stderr] | [INFO] [stderr] 769 | impl<T> Atomic<*mut T> for AtomicPtr<T> { [INFO] [stderr] | ^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stderr] note: `Atomic` could refer to the trait imported here [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] note: `Atomic` could also refer to the type alias imported here [INFO] [stderr] --> src/impls.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::sync::atomic::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0659`. [INFO] [stderr] error: could not document `atomic-types` [INFO] running `Command { std: "docker" "inspect" "845cdc1bf717646031036f2201f7ecc14a4392a8afeff7dcea7aaadefcf86ebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "845cdc1bf717646031036f2201f7ecc14a4392a8afeff7dcea7aaadefcf86ebd", kill_on_drop: false }` [INFO] [stdout] 845cdc1bf717646031036f2201f7ecc14a4392a8afeff7dcea7aaadefcf86ebd