[INFO] fetching crate noble-staking-reward-curve 2.0.0... [INFO] checking noble-staking-reward-curve-2.0.0 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate noble-staking-reward-curve 2.0.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate noble-staking-reward-curve 2.0.0 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", 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] 9a83f749d14cbd5106dfe494732f32bab3c58135f7662c2e409a3249f5849d62 [INFO] running `Command { std: "docker" "start" "-a" "9a83f749d14cbd5106dfe494732f32bab3c58135f7662c2e409a3249f5849d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a83f749d14cbd5106dfe494732f32bab3c58135f7662c2e409a3249f5849d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a83f749d14cbd5106dfe494732f32bab3c58135f7662c2e409a3249f5849d62", kill_on_drop: false }` [INFO] [stdout] 9a83f749d14cbd5106dfe494732f32bab3c58135f7662c2e409a3249f5849d62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a4143ae0e5ea1026ffab0ffcc06250f8192f58f439ea8713e92024b6be6ac50 [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" "6a4143ae0e5ea1026ffab0ffcc06250f8192f58f439ea8713e92024b6be6ac50", kill_on_drop: false }` [INFO] [stderr] Checking tetsy-hash-db v0.15.3 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling noble-staking-reward-curve v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tetcore-storage v2.1.2 [INFO] [stderr] Checking proc-macro2 v1.0.27 [INFO] [stderr] Checking tetsy-trie-db v0.22.3 [INFO] [stderr] Checking tetsy-trie-root v0.16.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_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] [stderr] Checking externalities v2.1.2 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking tetsy-fixed-hash v0.7.1 [INFO] [stderr] Checking syn v1.0.73 [INFO] [stderr] Checking tetsy-primitive-types v0.9.1 [INFO] [stderr] Checking proc-macro-crate v0.1.5 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking arithmetic v2.1.2 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tetsy-util-mem v0.9.1 [INFO] [stderr] Checking tetsy-memory-db v0.26.0 [INFO] [stderr] Checking tracing-subscriber v0.2.19 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking twasmi v0.6.2 [INFO] [stderr] Checking tetcore-tracing v2.1.2 [INFO] [stderr] Checking tetcore-wasm-interface v2.1.2 [INFO] [stderr] Checking tp-runtime-interface v2.1.2 [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_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] Checking tet-core v2.1.2 [INFO] [stderr] Checking tp-trie v2.1.2 [INFO] [stderr] Checking tp-keystore v2.1.2 [INFO] [stderr] Checking tp-state-machine v2.1.2 [INFO] [stderr] Checking tet-io v2.1.2 [INFO] [stderr] Checking tet-application-crypto v2.1.2 [INFO] [stderr] Checking tp-runtime v2.1.2 [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_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] [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_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.31s [INFO] running `Command { std: "docker" "inspect" "6a4143ae0e5ea1026ffab0ffcc06250f8192f58f439ea8713e92024b6be6ac50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a4143ae0e5ea1026ffab0ffcc06250f8192f58f439ea8713e92024b6be6ac50", kill_on_drop: false }` [INFO] [stdout] 6a4143ae0e5ea1026ffab0ffcc06250f8192f58f439ea8713e92024b6be6ac50