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 #1644207 2025-01-19 06:26:07

# rustc version rustc 1.86.0-nightly (049355708 2025-01-18)

# docs.rs version docsrs 0.6.0 (13d4ccea 2025-01-13)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/integer_or_float-0.3.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/integer_or_float-0.3.2/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250118-1.86.0-nightly-049355708\", \"--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] 475d4ec2da22ce28beadd82a9d7241d5cb9776964312f589b939c54ed156d532 [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" "475d4ec2da22ce28beadd82a9d7241d5cb9776964312f589b939c54ed156d532", 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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(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(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(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(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.36s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/integer_or_float/index.html [INFO] running `Command { std: "docker" "inspect" "475d4ec2da22ce28beadd82a9d7241d5cb9776964312f589b939c54ed156d532", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "475d4ec2da22ce28beadd82a9d7241d5cb9776964312f589b939c54ed156d532", kill_on_drop: false }` [INFO] [stdout] 475d4ec2da22ce28beadd82a9d7241d5cb9776964312f589b939c54ed156d532