integer_or_float 0.3.2

A data type holding an ‘integer or float’ (a data type in the Unified Font Object specification, among others)
Documentation
Build #2547966 2025-09-30 05:49:40

# rustc version rustc 1.92.0-nightly (dc2c3564d 2025-09-29)

# docs.rs version docsrs 0.6.0 (f42173de 2025-09-12)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/integer_or_float-0.3.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/integer_or_float-0.3.2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250929-1.92.0-nightly-dc2c3564d\", \"--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}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-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] ac38cb7f03fb0c8c22ca929af4f7d45c4af91214eeee5d9114f87b2989cf3ebe [INFO] running `Command { std: "docker" "start" "-a" "ac38cb7f03fb0c8c22ca929af4f7d45c4af91214eeee5d9114f87b2989cf3ebe", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] warning: unexpected `cfg` condition value: `no_std` [INFO] [stderr] --> build.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | if #[cfg(all(feature = "no_std", not(feature = "ignore_no_std_tests_check")))] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | panic_if_no_std_and_compiling_tests!(); [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `faster-strconv`, `fat`, `float-cmp`, `hash`, `ignore_no_std_tests_check`, `log`, `more-serde`, `num-traits`, `numerical-traits`, `ryu`, `serde`, and `x64-backing-store` [INFO] [stderr] = help: consider adding `no_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] = note: this warning originates in the macro `panic_if_no_std_and_compiling_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `no_std` [INFO] [stderr] --> build.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | if cfg!(feature = "no_std") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `faster-strconv`, `fat`, `float-cmp`, `hash`, `ignore_no_std_tests_check`, `log`, `more-serde`, `num-traits`, `numerical-traits`, `ryu`, `serde`, and `x64-backing-store` [INFO] [stderr] = help: consider adding `no_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: `integer_or_float` (build script) generated 2 warnings [INFO] [stderr] Documenting integer_or_float v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition name: `no_std` [INFO] [stderr] --> src/lib.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(no_std, no_std)] [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(no_std)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` 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: `with_impl_hash` [INFO] [stderr] --> src/lib.rs:13:7 [INFO] [stderr] | [INFO] [stderr] 13 | #[cfg(with_impl_hash)] [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(with_impl_hash)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(with_impl_hash)");` 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: `std` [INFO] [stderr] --> src/str_conv/mod.rs:15:7 [INFO] [stderr] | [INFO] [stderr] 15 | #[cfg(std)] [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(std)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `features` [INFO] [stderr] --> src/str_conv/ryu.rs:3:7 [INFO] [stderr] | [INFO] [stderr] 3 | #[cfg(features = "faster-strconv")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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] help: there is a config with a similar name and value [INFO] [stderr] | [INFO] [stderr] 3 - #[cfg(features = "faster-strconv")] [INFO] [stderr] 3 + #[cfg(feature = "faster-strconv")] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `features` [INFO] [stderr] --> src/str_conv/ryu.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | #[cfg(not(features = "faster-strconv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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] help: there is a config with a similar name and value [INFO] [stderr] | [INFO] [stderr] 17 - #[cfg(not(features = "faster-strconv"))] [INFO] [stderr] 17 + #[cfg(not(feature = "faster-strconv"))] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `features` [INFO] [stderr] --> src/str_conv/ryu.rs:23:7 [INFO] [stderr] | [INFO] [stderr] 23 | #[cfg(features = "faster-strconv")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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] help: there is a config with a similar name and value [INFO] [stderr] | [INFO] [stderr] 23 - #[cfg(features = "faster-strconv")] [INFO] [stderr] 23 + #[cfg(feature = "faster-strconv")] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `features` [INFO] [stderr] --> src/str_conv/ryu.rs:32:11 [INFO] [stderr] | [INFO] [stderr] 32 | #[cfg(not(features = "faster-strconv"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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] help: there is a config with a similar name and value [INFO] [stderr] | [INFO] [stderr] 32 - #[cfg(not(features = "faster-strconv"))] [INFO] [stderr] 32 + #[cfg(not(feature = "faster-strconv"))] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `std` [INFO] [stderr] --> src/error/str_conv.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | #[cfg(std)] [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(std)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `no_std` [INFO] [stderr] --> src/error/str_conv.rs:6:7 [INFO] [stderr] | [INFO] [stderr] 6 | #[cfg(no_std)] [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(no_std)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` 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: `integer_or_float` (lib doc) generated 9 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/integer_or_float/index.html [INFO] running `Command { std: "docker" "inspect" "ac38cb7f03fb0c8c22ca929af4f7d45c4af91214eeee5d9114f87b2989cf3ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac38cb7f03fb0c8c22ca929af4f7d45c4af91214eeee5d9114f87b2989cf3ebe", kill_on_drop: false }` [INFO] [stdout] ac38cb7f03fb0c8c22ca929af4f7d45c4af91214eeee5d9114f87b2989cf3ebe