[INFO] fetching crate noble-staking-reward-curve 2.0.0... [INFO] testing noble-staking-reward-curve-2.0.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate noble-staking-reward-curve 2.0.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate noble-staking-reward-curve 2.0.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate noble-staking-reward-curve 2.0.0 [INFO] finished tweaking crates.io crate noble-staking-reward-curve 2.0.0 [INFO] tweaked toml for crates.io crate noble-staking-reward-curve 2.0.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0b0fa88bf97a7546e91faaddd8f9f9e5059b35c4c608125e72f8c0218fd3c47 [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" "d0b0fa88bf97a7546e91faaddd8f9f9e5059b35c4c608125e72f8c0218fd3c47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0b0fa88bf97a7546e91faaddd8f9f9e5059b35c4c608125e72f8c0218fd3c47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b0fa88bf97a7546e91faaddd8f9f9e5059b35c4c608125e72f8c0218fd3c47", kill_on_drop: false }` [INFO] [stdout] d0b0fa88bf97a7546e91faaddd8f9f9e5059b35c4c608125e72f8c0218fd3c47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c1cda916492c722b04f16192b08b7ea243b87374170799f9ca4cd451f415e46 [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" "8c1cda916492c722b04f16192b08b7ea243b87374170799f9ca4cd451f415e46", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling noble-staking-reward-curve v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let error = || panic!(format!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 357 | | "Generated reward curve approximation doesn't fit into [0, 1] -> [0, 1] \ [INFO] [stdout] 358 | | because of point: [INFO] [stdout] 359 | | x = {:07} per million [INFO] [stdout] 360 | | y = {:07} per million", [INFO] [stdout] 361 | | x, y [INFO] [stdout] 362 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 356 | let error = || panic!( [INFO] [stdout] 357 | "Generated reward curve approximation doesn't fit into [0, 1] -> [0, 1] \ [INFO] [stdout] 358 | because of point: [INFO] [stdout] 359 | x = {:07} per million [INFO] [stdout] 360 | y = {:07} per million", [INFO] [stdout] 361 | x, y [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.03s [INFO] running `Command { std: "docker" "inspect" "8c1cda916492c722b04f16192b08b7ea243b87374170799f9ca4cd451f415e46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c1cda916492c722b04f16192b08b7ea243b87374170799f9ca4cd451f415e46", kill_on_drop: false }` [INFO] [stdout] 8c1cda916492c722b04f16192b08b7ea243b87374170799f9ca4cd451f415e46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a035bf27e79b83d9d9bfebfa5426221ac0a7690787abb99f617fd4d6b7799e9 [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" "1a035bf27e79b83d9d9bfebfa5426221ac0a7690787abb99f617fd4d6b7799e9", kill_on_drop: false }` [INFO] [stderr] Compiling tetsy-hash-db v0.15.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let error = || panic!(format!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 357 | | "Generated reward curve approximation doesn't fit into [0, 1] -> [0, 1] \ [INFO] [stdout] 358 | | because of point: [INFO] [stdout] 359 | | x = {:07} per million [INFO] [stdout] 360 | | y = {:07} per million", [INFO] [stdout] 361 | | x, y [INFO] [stdout] 362 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 356 | let error = || panic!( [INFO] [stdout] 357 | "Generated reward curve approximation doesn't fit into [0, 1] -> [0, 1] \ [INFO] [stdout] 358 | because of point: [INFO] [stdout] 359 | x = {:07} per million [INFO] [stdout] 360 | y = {:07} per million", [INFO] [stdout] 361 | x, y [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling tetsy-impl-serde v0.3.1 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling tetsy-scale-codec-derive v2.0.1 [INFO] [stderr] Compiling tp-runtime-interface-proc-macro v2.0.2 [INFO] [stderr] Compiling tetsy-trie-root v0.16.1 [INFO] [stderr] Compiling tetsy-trie-db v0.22.3 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling tiny-bip39 v0.8.0 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling tetsy-scale-codec v2.0.1 [INFO] [stderr] Compiling tetcore-bip39 v0.4.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tracing-subscriber v0.2.18 [INFO] [stderr] Compiling twasmi v0.6.2 [INFO] [stderr] Compiling tetsy-impl-codec v0.5.0 [INFO] [stderr] Compiling tetcore-storage v2.0.2 [INFO] [stderr] Compiling arithmetic v2.0.2 [INFO] [stderr] Compiling tetsy-primitive-types v0.9.0 [INFO] [stderr] Compiling tetcore-wasm-interface v2.0.2 [INFO] [stderr] Compiling tetcore-tracing v2.0.2 [INFO] [stderr] Compiling externalities v0.8.2 [INFO] [stderr] Compiling tetsy-util-mem v0.9.0 [INFO] [stderr] Compiling tp-runtime-interface v2.0.2 [INFO] [stderr] Compiling tetsy-memory-db v0.26.0 [INFO] [stderr] Compiling tet-core v2.0.2 [INFO] [stderr] Compiling tp-trie v2.0.2 [INFO] [stderr] Compiling tp-keystore v0.8.1 [INFO] [stderr] Compiling tp-state-machine v0.8.2 [INFO] [stderr] Compiling tet-io v2.0.2 [INFO] [stderr] Compiling tet-application-crypto v2.0.2 [INFO] [stderr] Compiling tp-runtime v2.0.2 [INFO] [stderr] Compiling noble-staking-reward-curve v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | let error = || panic!(format!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 357 | | "Generated reward curve approximation doesn't fit into [0, 1] -> [0, 1] \ [INFO] [stdout] 358 | | because of point: [INFO] [stdout] 359 | | x = {:07} per million [INFO] [stdout] 360 | | y = {:07} per million", [INFO] [stdout] 361 | | x, y [INFO] [stdout] 362 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 356 | let error = || panic!( [INFO] [stdout] 357 | "Generated reward curve approximation doesn't fit into [0, 1] -> [0, 1] \ [INFO] [stdout] 358 | because of point: [INFO] [stdout] 359 | x = {:07} per million [INFO] [stdout] 360 | y = {:07} per million", [INFO] [stdout] 361 | x, y [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | / noble_staking_reward_curve::build! { [INFO] [stdout] 23 | | const REWARD_CURVE: tp_runtime::curve::PiecewiseLinear<'static> = curve!( [INFO] [stdout] 24 | | min_inflation: 0_020_000, [INFO] [stdout] 25 | | max_inflation: 0_200_000, [INFO] [stdout] ... | [INFO] [stdout] 30 | | ); [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `noble_staking_reward_curve::build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | / noble_staking_reward_curve::build! { [INFO] [stdout] 36 | | const REWARD_CURVE: tp_runtime::curve::PiecewiseLinear<'static> = curve!( [INFO] [stdout] 37 | | min_inflation: 0_100_000, [INFO] [stdout] 38 | | max_inflation: 0_400_000, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ); [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `noble_staking_reward_curve::build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "1a035bf27e79b83d9d9bfebfa5426221ac0a7690787abb99f617fd4d6b7799e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a035bf27e79b83d9d9bfebfa5426221ac0a7690787abb99f617fd4d6b7799e9", kill_on_drop: false }` [INFO] [stdout] 1a035bf27e79b83d9d9bfebfa5426221ac0a7690787abb99f617fd4d6b7799e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c9a921191e3c829dc7a672f73c9981a80b5db9cd2ffa263546f8ed172003e8d [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" "9c9a921191e3c829dc7a672f73c9981a80b5db9cd2ffa263546f8ed172003e8d", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:356:25 [INFO] [stderr] | [INFO] [stderr] 356 | let error = || panic!(format!( [INFO] [stderr] | _______________________________^ [INFO] [stderr] 357 | | "Generated reward curve approximation doesn't fit into [0, 1] -> [0, 1] \ [INFO] [stderr] 358 | | because of point: [INFO] [stderr] 359 | | x = {:07} per million [INFO] [stderr] 360 | | y = {:07} per million", [INFO] [stderr] 361 | | x, y [INFO] [stderr] 362 | | )); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 356 | let error = || panic!( [INFO] [stderr] 357 | "Generated reward curve approximation doesn't fit into [0, 1] -> [0, 1] \ [INFO] [stderr] 358 | because of point: [INFO] [stderr] 359 | x = {:07} per million [INFO] [stderr] 360 | y = {:07} per million", [INFO] [stderr] 361 | x, y [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:356:25 [INFO] [stderr] | [INFO] [stderr] 356 | let error = || panic!(format!( [INFO] [stderr] | _______________________________^ [INFO] [stderr] 357 | | "Generated reward curve approximation doesn't fit into [0, 1] -> [0, 1] \ [INFO] [stderr] 358 | | because of point: [INFO] [stderr] 359 | | x = {:07} per million [INFO] [stderr] 360 | | y = {:07} per million", [INFO] [stderr] 361 | | x, y [INFO] [stderr] 362 | | )); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 356 | let error = || panic!( [INFO] [stderr] 357 | "Generated reward curve approximation doesn't fit into [0, 1] -> [0, 1] \ [INFO] [stderr] 358 | because of point: [INFO] [stderr] 359 | x = {:07} per million [INFO] [stderr] 360 | y = {:07} per million", [INFO] [stderr] 361 | x, y [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/test.rs:22:2 [INFO] [stderr] | [INFO] [stderr] 22 | / noble_staking_reward_curve::build! { [INFO] [stderr] 23 | | const REWARD_CURVE: tp_runtime::curve::PiecewiseLinear<'static> = curve!( [INFO] [stderr] 24 | | min_inflation: 0_020_000, [INFO] [stderr] 25 | | max_inflation: 0_200_000, [INFO] [stderr] ... | [INFO] [stderr] 30 | | ); [INFO] [stderr] 31 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `noble_staking_reward_curve::build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/test.rs:35:2 [INFO] [stderr] | [INFO] [stderr] 35 | / noble_staking_reward_curve::build! { [INFO] [stderr] 36 | | const REWARD_CURVE: tp_runtime::curve::PiecewiseLinear<'static> = curve!( [INFO] [stderr] 37 | | min_inflation: 0_100_000, [INFO] [stderr] 38 | | max_inflation: 0_400_000, [INFO] [stderr] ... | [INFO] [stderr] 43 | | ); [INFO] [stderr] 44 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in the macro `noble_staking_reward_curve::build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/noble_staking_reward_curve-bba5379ea6ad5786) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test log::test_log_of_one_boundary ... ok [INFO] [stdout] test log::test_log_of_largest_input ... ok [INFO] [stdout] test log::test_log_p_upper_bound ... ok [INFO] [stdout] test log::test_log_p_must_be_greater_than_q ... ok [INFO] [stdout] test log::test_log_q_limit ... ok [INFO] [stdout] test log::test_log ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-a1fc13d168096b36) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_big_falloff::__noble_staking_reward_curve_test_module::reward_curve_piece_count ... ok [INFO] [stdout] test test_small_falloff::__noble_staking_reward_curve_test_module::reward_curve_piece_count ... ok [INFO] [stdout] test test_big_falloff::__noble_staking_reward_curve_test_module::reward_curve_precision ... ok [INFO] [stdout] test test_small_falloff::__noble_staking_reward_curve_test_module::reward_curve_precision ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.32s [INFO] [stdout] [INFO] [stderr] Doc-tests noble-staking-reward-curve [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - build (line 60) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.83s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c9a921191e3c829dc7a672f73c9981a80b5db9cd2ffa263546f8ed172003e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c9a921191e3c829dc7a672f73c9981a80b5db9cd2ffa263546f8ed172003e8d", kill_on_drop: false }` [INFO] [stdout] 9c9a921191e3c829dc7a672f73c9981a80b5db9cd2ffa263546f8ed172003e8d