arithmetic 2.1.2

Minimal fixed point arithmetic primitives and types for tetcore runtime.
Documentation
Build #2463267 2025-08-31 14:52:43

# rustc version rustc 1.91.0-nightly (523d3999d 2025-08-30)

# docs.rs version docsrs 0.6.0 (8bbaf878 2025-08-22)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/arithmetic-2.1.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/arithmetic-2.1.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250830-1.91.0-nightly-523d3999d\", \"--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] f9d178939d3922b70c4e4bf89262fadc489acd9fbd67724e7ae0f65d83663b1c [INFO] running `Command { std: "docker" "start" "-a" "f9d178939d3922b70c4e4bf89262fadc489acd9fbd67724e7ae0f65d83663b1c", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting arithmetic v2.1.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/per_things.rs:331:12 [INFO] [stderr] | [INFO] [stderr] 331 | #[derive(Encode, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, RuntimeDebug)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1279 | / implement_per_thing!( [INFO] [stderr] 1280 | | Percent, [INFO] [stderr] 1281 | | test_per_cent, [INFO] [stderr] 1282 | | [u32, u64, u128], [INFO] [stderr] ... | [INFO] [stderr] 1286 | | "_Percent_", [INFO] [stderr] 1287 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `serde`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [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 derive macro `Encode` which comes from the expansion of the macro `implement_per_thing` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/per_things.rs:331:12 [INFO] [stderr] | [INFO] [stderr] 331 | #[derive(Encode, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, RuntimeDebug)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1288 | / implement_per_thing_with_perthousand!( [INFO] [stderr] 1289 | | PerU16, [INFO] [stderr] 1290 | | test_peru16, [INFO] [stderr] 1291 | | test_peru16_extra, [INFO] [stderr] ... | [INFO] [stderr] 1296 | | "_Parts per 65535_", [INFO] [stderr] 1297 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `serde`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [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 derive macro `Encode` which comes from the expansion of the macro `implement_per_thing_with_perthousand` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/per_things.rs:331:12 [INFO] [stderr] | [INFO] [stderr] 331 | #[derive(Encode, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, RuntimeDebug)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1298 | / implement_per_thing_with_perthousand!( [INFO] [stderr] 1299 | | Permill, [INFO] [stderr] 1300 | | test_permill, [INFO] [stderr] 1301 | | test_permill_extra, [INFO] [stderr] ... | [INFO] [stderr] 1306 | | "_Parts per Million_", [INFO] [stderr] 1307 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `serde`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [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 derive macro `Encode` which comes from the expansion of the macro `implement_per_thing_with_perthousand` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/per_things.rs:331:12 [INFO] [stderr] | [INFO] [stderr] 331 | #[derive(Encode, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, RuntimeDebug)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1308 | / implement_per_thing_with_perthousand!( [INFO] [stderr] 1309 | | Perbill, [INFO] [stderr] 1310 | | test_perbill, [INFO] [stderr] 1311 | | test_perbill_extra, [INFO] [stderr] ... | [INFO] [stderr] 1316 | | "_Parts per Billion_", [INFO] [stderr] 1317 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `serde`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [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 derive macro `Encode` which comes from the expansion of the macro `implement_per_thing_with_perthousand` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/per_things.rs:331:12 [INFO] [stderr] | [INFO] [stderr] 331 | #[derive(Encode, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, RuntimeDebug)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1318 | / implement_per_thing_with_perthousand!( [INFO] [stderr] 1319 | | Perquintill, [INFO] [stderr] 1320 | | test_perquintill, [INFO] [stderr] 1321 | | test_perquintill_extra, [INFO] [stderr] ... | [INFO] [stderr] 1326 | | "_Parts per Quintillion_", [INFO] [stderr] 1327 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `serde`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [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 derive macro `Encode` which comes from the expansion of the macro `implement_per_thing_with_perthousand` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/fixed_point.rs:346:12 [INFO] [stderr] | [INFO] [stderr] 346 | #[derive(Encode, Decode, CompactAs, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1596 | / implement_fixed!( [INFO] [stderr] 1597 | | FixedI64, [INFO] [stderr] 1598 | | test_fixed_i64, [INFO] [stderr] 1599 | | i64, [INFO] [stderr] ... | [INFO] [stderr] 1602 | | "_Fixed Point 64 bits signed, range = [-9223372036.854775808, 9223372036.854775807]_", [INFO] [stderr] 1603 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `serde`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [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 derive macro `Encode` which comes from the expansion of the macro `implement_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/fixed_point.rs:346:20 [INFO] [stderr] | [INFO] [stderr] 346 | #[derive(Encode, Decode, CompactAs, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1596 | / implement_fixed!( [INFO] [stderr] 1597 | | FixedI64, [INFO] [stderr] 1598 | | test_fixed_i64, [INFO] [stderr] 1599 | | i64, [INFO] [stderr] ... | [INFO] [stderr] 1602 | | "_Fixed Point 64 bits signed, range = [-9223372036.854775808, 9223372036.854775807]_", [INFO] [stderr] 1603 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `serde`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [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 derive macro `Decode` which comes from the expansion of the macro `implement_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/fixed_point.rs:346:28 [INFO] [stderr] | [INFO] [stderr] 346 | #[derive(Encode, Decode, CompactAs, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1596 | / implement_fixed!( [INFO] [stderr] 1597 | | FixedI64, [INFO] [stderr] 1598 | | test_fixed_i64, [INFO] [stderr] 1599 | | i64, [INFO] [stderr] ... | [INFO] [stderr] 1602 | | "_Fixed Point 64 bits signed, range = [-9223372036.854775808, 9223372036.854775807]_", [INFO] [stderr] 1603 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `serde`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `CompactAs` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `CompactAs` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [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 derive macro `CompactAs` which comes from the expansion of the macro `implement_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/fixed_point.rs:346:12 [INFO] [stderr] | [INFO] [stderr] 346 | #[derive(Encode, Decode, CompactAs, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1605 | / implement_fixed!( [INFO] [stderr] 1606 | | FixedI128, [INFO] [stderr] 1607 | | test_fixed_i128, [INFO] [stderr] 1608 | | i128, [INFO] [stderr] ... | [INFO] [stderr] 1612 | | [-170141183460469231731.687303715884105728, 170141183460469231731.687303715884105727]_", [INFO] [stderr] 1613 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `serde`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [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 derive macro `Encode` which comes from the expansion of the macro `implement_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/fixed_point.rs:346:20 [INFO] [stderr] | [INFO] [stderr] 346 | #[derive(Encode, Decode, CompactAs, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1605 | / implement_fixed!( [INFO] [stderr] 1606 | | FixedI128, [INFO] [stderr] 1607 | | test_fixed_i128, [INFO] [stderr] 1608 | | i128, [INFO] [stderr] ... | [INFO] [stderr] 1612 | | [-170141183460469231731.687303715884105728, 170141183460469231731.687303715884105727]_", [INFO] [stderr] 1613 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `serde`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [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 derive macro `Decode` which comes from the expansion of the macro `implement_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/fixed_point.rs:346:28 [INFO] [stderr] | [INFO] [stderr] 346 | #[derive(Encode, Decode, CompactAs, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1605 | / implement_fixed!( [INFO] [stderr] 1606 | | FixedI128, [INFO] [stderr] 1607 | | test_fixed_i128, [INFO] [stderr] 1608 | | i128, [INFO] [stderr] ... | [INFO] [stderr] 1612 | | [-170141183460469231731.687303715884105728, 170141183460469231731.687303715884105727]_", [INFO] [stderr] 1613 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `serde`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `CompactAs` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `CompactAs` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [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 derive macro `CompactAs` which comes from the expansion of the macro `implement_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/fixed_point.rs:346:12 [INFO] [stderr] | [INFO] [stderr] 346 | #[derive(Encode, Decode, CompactAs, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1615 | / implement_fixed!( [INFO] [stderr] 1616 | | FixedU128, [INFO] [stderr] 1617 | | test_fixed_u128, [INFO] [stderr] 1618 | | u128, [INFO] [stderr] ... | [INFO] [stderr] 1622 | | [0.000000000000000000, 340282366920938463463.374607431768211455]_", [INFO] [stderr] 1623 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `serde`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Encode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [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 derive macro `Encode` which comes from the expansion of the macro `implement_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/fixed_point.rs:346:20 [INFO] [stderr] | [INFO] [stderr] 346 | #[derive(Encode, Decode, CompactAs, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1615 | / implement_fixed!( [INFO] [stderr] 1616 | | FixedU128, [INFO] [stderr] 1617 | | test_fixed_u128, [INFO] [stderr] 1618 | | u128, [INFO] [stderr] ... | [INFO] [stderr] 1622 | | [0.000000000000000000, 340282366920938463463.374607431768211455]_", [INFO] [stderr] 1623 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `serde`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Decode` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [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 derive macro `Decode` which comes from the expansion of the macro `implement_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/fixed_point.rs:346:28 [INFO] [stderr] | [INFO] [stderr] 346 | #[derive(Encode, Decode, CompactAs, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1615 | / implement_fixed!( [INFO] [stderr] 1616 | | FixedU128, [INFO] [stderr] 1617 | | test_fixed_u128, [INFO] [stderr] 1618 | | u128, [INFO] [stderr] ... | [INFO] [stderr] 1622 | | [0.000000000000000000, 340282366920938463463.374607431768211455]_", [INFO] [stderr] 1623 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `serde`, and `std` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `CompactAs` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `CompactAs` may come from an old version of the `tetsy_scale_codec_derive` crate, try updating your dependency with `cargo update -p tetsy_scale_codec_derive` [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 derive macro `CompactAs` which comes from the expansion of the macro `implement_fixed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `arithmetic` (lib doc) generated 14 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/arithmetic/index.html [INFO] running `Command { std: "docker" "inspect" "f9d178939d3922b70c4e4bf89262fadc489acd9fbd67724e7ae0f65d83663b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9d178939d3922b70c4e4bf89262fadc489acd9fbd67724e7ae0f65d83663b1c", kill_on_drop: false }` [INFO] [stdout] f9d178939d3922b70c4e4bf89262fadc489acd9fbd67724e7ae0f65d83663b1c