[INFO] fetching crate pallet-staking-reward-curve 3.0.0... [INFO] testing pallet-staking-reward-curve-3.0.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate pallet-staking-reward-curve 3.0.0 into /workspace/builds/worker-29/source [INFO] validating manifest of crates.io crate pallet-staking-reward-curve 3.0.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-staking-reward-curve 3.0.0 [INFO] finished tweaking crates.io crate pallet-staking-reward-curve 3.0.0 [INFO] tweaked toml for crates.io crate pallet-staking-reward-curve 3.0.0 written to /workspace/builds/worker-29/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "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-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d69fe236cf6ba251c2b2fd0f5de29672b29f75ad61c088986d824be97f516452 [INFO] running `Command { std: "docker" "start" "-a" "d69fe236cf6ba251c2b2fd0f5de29672b29f75ad61c088986d824be97f516452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d69fe236cf6ba251c2b2fd0f5de29672b29f75ad61c088986d824be97f516452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d69fe236cf6ba251c2b2fd0f5de29672b29f75ad61c088986d824be97f516452", kill_on_drop: false }` [INFO] [stdout] d69fe236cf6ba251c2b2fd0f5de29672b29f75ad61c088986d824be97f516452 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61662bcc06b4f0763fca589afe7932ef265841b577fc5b657bd8b77cd3879700 [INFO] running `Command { std: "docker" "start" "-a" "61662bcc06b4f0763fca589afe7932ef265841b577fc5b657bd8b77cd3879700", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling pallet-staking-reward-curve v3.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 1m 34s [INFO] running `Command { std: "docker" "inspect" "61662bcc06b4f0763fca589afe7932ef265841b577fc5b657bd8b77cd3879700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61662bcc06b4f0763fca589afe7932ef265841b577fc5b657bd8b77cd3879700", kill_on_drop: false }` [INFO] [stdout] 61662bcc06b4f0763fca589afe7932ef265841b577fc5b657bd8b77cd3879700 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e307942caed95b0858e4ffe3bfaf6d60ebe7497411299767a9d91915a8f364d [INFO] running `Command { std: "docker" "start" "-a" "0e307942caed95b0858e4ffe3bfaf6d60ebe7497411299767a9d91915a8f364d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pallet-staking-reward-curve v3.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] [stdout] error: Could not find `sp-runtime` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`! [INFO] [stdout] --> tests/test.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | / pallet_staking_reward_curve::build! { [INFO] [stdout] 23 | | const REWARD_CURVE: sp_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: this error originates in the macro `pallet_staking_reward_curve::build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not find `sp-runtime` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`! [INFO] [stdout] --> tests/test.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | / pallet_staking_reward_curve::build! { [INFO] [stdout] 36 | | const REWARD_CURVE: sp_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 error originates in the macro `pallet_staking_reward_curve::build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_runtime` [INFO] [stdout] --> tests/test.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | const REWARD_CURVE: sp_runtime::curve::PiecewiseLinear<'static> = curve!( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `_sp_runtime` [INFO] [stdout] --> tests/test.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | / pallet_staking_reward_curve::build! { [INFO] [stdout] 23 | | const REWARD_CURVE: sp_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] | |_____^ use of undeclared crate or module `_sp_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pallet_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] --> 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] error[E0433]: failed to resolve: use of undeclared crate or module `sp_runtime` [INFO] [stdout] --> tests/test.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | const REWARD_CURVE: sp_runtime::curve::PiecewiseLinear<'static> = curve!( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `_sp_runtime` [INFO] [stdout] --> tests/test.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | / pallet_staking_reward_curve::build! { [INFO] [stdout] 36 | | const REWARD_CURVE: sp_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] | |_____^ use of undeclared crate or module `_sp_runtime` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pallet_staking_reward_curve::build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-staking-reward-curve` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0e307942caed95b0858e4ffe3bfaf6d60ebe7497411299767a9d91915a8f364d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e307942caed95b0858e4ffe3bfaf6d60ebe7497411299767a9d91915a8f364d", kill_on_drop: false }` [INFO] [stdout] 0e307942caed95b0858e4ffe3bfaf6d60ebe7497411299767a9d91915a8f364d