[INFO] fetching crate noble-staking-reward-curve 2.0.0... [INFO] testing noble-staking-reward-curve-2.0.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate noble-staking-reward-curve 2.0.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate noble-staking-reward-curve 2.0.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04d7bbdc10351d66f42d1baac25c90925a9364b13e7a8daae7056806fca3b2d2 [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" "04d7bbdc10351d66f42d1baac25c90925a9364b13e7a8daae7056806fca3b2d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04d7bbdc10351d66f42d1baac25c90925a9364b13e7a8daae7056806fca3b2d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04d7bbdc10351d66f42d1baac25c90925a9364b13e7a8daae7056806fca3b2d2", kill_on_drop: false }` [INFO] [stdout] 04d7bbdc10351d66f42d1baac25c90925a9364b13e7a8daae7056806fca3b2d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", 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] bc89f97e0f77bcf4c2fd358676d3be924508410cf9f4ff665ded05962b526f2c [INFO] running `Command { std: "docker" "start" "-a" "bc89f97e0f77bcf4c2fd358676d3be924508410cf9f4ff665ded05962b526f2c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling quote v1.0.9 [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_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] Finished dev [unoptimized + debuginfo] target(s) in 36.10s [INFO] running `Command { std: "docker" "inspect" "bc89f97e0f77bcf4c2fd358676d3be924508410cf9f4ff665ded05962b526f2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc89f97e0f77bcf4c2fd358676d3be924508410cf9f4ff665ded05962b526f2c", kill_on_drop: false }` [INFO] [stdout] bc89f97e0f77bcf4c2fd358676d3be924508410cf9f4ff665ded05962b526f2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", 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] 4266f34ef825fad11c63e9499afeee974528aca275cc78516e742d626bfd53aa [INFO] running `Command { std: "docker" "start" "-a" "4266f34ef825fad11c63e9499afeee974528aca275cc78516e742d626bfd53aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling byte-slice-cast v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tetcore-std v2.1.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling tetsy-wasm v0.41.0 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling tetsy-util-mem v0.9.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tetsy-hash-db v0.15.3 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling environ v1.1.3 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling tetsy-trie-root v0.16.1 [INFO] [stderr] Compiling ed25519 v1.1.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling twasmi-validation v0.3.0 [INFO] [stderr] Compiling uint-crate v0.9.1 [INFO] [stderr] Compiling tetsy-hash256-std-hasher v0.15.3 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling tetsy-trie-db v0.22.3 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling debug-derive v2.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling tetsy-impl-serde v0.3.2 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling tetsy-util-mem-derive v0.1.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling tetsy-scale-codec-derive v2.0.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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling tracing-subscriber v0.2.19 [INFO] [stderr] Compiling twox-hash v1.6.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling tetsy-fixed-hash v0.7.1 [INFO] [stderr] Compiling panic-handler v2.1.2 [INFO] [stderr] Compiling twasmi v0.6.2 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling tiny-bip39 v0.8.0 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling tetcore-bip39 v0.4.2 [INFO] [stderr] Compiling tp-runtime-interface-proc-macro v2.1.2 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling tetsy-scale-codec v2.0.1 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tetsy-impl-codec v0.5.1 [INFO] [stderr] Compiling tetcore-storage v2.1.2 [INFO] [stderr] Compiling tetcore-tracing v2.1.2 [INFO] [stderr] Compiling tetcore-wasm-interface v2.1.2 [INFO] [stderr] Compiling arithmetic v2.1.2 [INFO] [stderr] Compiling tetsy-primitive-types v0.9.1 [INFO] [stderr] Compiling externalities v2.1.2 [INFO] [stderr] Compiling tetsy-memory-db v0.26.0 [INFO] [stderr] Compiling tp-runtime-interface v2.1.2 [INFO] [stderr] Compiling tet-core v2.1.2 [INFO] [stderr] Compiling tp-trie v2.1.2 [INFO] [stderr] Compiling tp-keystore v2.1.2 [INFO] [stderr] Compiling tp-state-machine v2.1.2 [INFO] [stderr] Compiling tet-io v2.1.2 [INFO] [stderr] Compiling tet-application-crypto v2.1.2 [INFO] [stderr] Compiling tp-runtime v2.1.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_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: 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: 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 2m 26s [INFO] running `Command { std: "docker" "inspect" "4266f34ef825fad11c63e9499afeee974528aca275cc78516e742d626bfd53aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4266f34ef825fad11c63e9499afeee974528aca275cc78516e742d626bfd53aa", kill_on_drop: false }` [INFO] [stdout] 4266f34ef825fad11c63e9499afeee974528aca275cc78516e742d626bfd53aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 387544af89e97550f53e1378bf16af886324538f79c37eb5582c2295bb4b5ebf [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" "387544af89e97550f53e1378bf16af886324538f79c37eb5582c2295bb4b5ebf", 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_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [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_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [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_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [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.38s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/noble_staking_reward_curve-885b996dd5ac0f6a) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test log::test_log_of_largest_input ... ok [INFO] [stdout] test log::test_log_of_one_boundary ... ok [INFO] [stdout] test log::test_log_p_upper_bound - should panic ... ok [INFO] [stdout] test log::test_log_q_limit - should panic ... ok [INFO] [stdout] test log::test_log_p_must_be_greater_than_q - should panic ... ok [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-4e6b8fb0a482540c) [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.75s [INFO] [stdout] [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.03s [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 1.54s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "387544af89e97550f53e1378bf16af886324538f79c37eb5582c2295bb4b5ebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "387544af89e97550f53e1378bf16af886324538f79c37eb5582c2295bb4b5ebf", kill_on_drop: false }` [INFO] [stdout] 387544af89e97550f53e1378bf16af886324538f79c37eb5582c2295bb4b5ebf