[INFO] fetching crate pallet-staking-reward-curve 2.0.0-alpha.8... [INFO] checking pallet-staking-reward-curve-2.0.0-alpha.8 against try#8a749131e7beb72f6edacefd2bdcbed3d67b2112 for pr-72331 [INFO] extracting crate pallet-staking-reward-curve 2.0.0-alpha.8 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate pallet-staking-reward-curve 2.0.0-alpha.8 on toolchain 8a749131e7beb72f6edacefd2bdcbed3d67b2112 [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pallet-staking-reward-curve 2.0.0-alpha.8 [INFO] finished tweaking crates.io crate pallet-staking-reward-curve 2.0.0-alpha.8 [INFO] tweaked toml for crates.io crate pallet-staking-reward-curve 2.0.0-alpha.8 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 24c0d1cb91cc755c4231518f50c6f325e1592df9e6d279453020de21d9bc2729 [INFO] running `"docker" "start" "-a" "24c0d1cb91cc755c4231518f50c6f325e1592df9e6d279453020de21d9bc2729"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking quote v1.0.6 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking proc-macro-crate v0.1.4 [INFO] [stderr] Checking pallet-staking-reward-curve v2.0.0-alpha.8 (/opt/rustwide/workdir) [INFO] [stderr] error: Could not find `sp-runtime` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`! [INFO] [stderr] --> tests/test.rs:22:2 [INFO] [stderr] | [INFO] [stderr] 22 | pallet_staking_reward_curve::build! { [INFO] [stderr] | _____^ [INFO] [stderr] 23 | | const REWARD_CURVE: sp_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: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: Could not find `sp-runtime` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`! [INFO] [stderr] --> tests/test.rs:35:2 [INFO] [stderr] | [INFO] [stderr] 35 | pallet_staking_reward_curve::build! { [INFO] [stderr] | _____^ [INFO] [stderr] 36 | | const REWARD_CURVE: sp_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 error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sp_runtime` [INFO] [stderr] --> tests/test.rs:23:23 [INFO] [stderr] | [INFO] [stderr] 23 | const REWARD_CURVE: sp_runtime::curve::PiecewiseLinear<'static> = curve!( [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `sp_runtime` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `_sp_runtime` [INFO] [stderr] --> tests/test.rs:22:2 [INFO] [stderr] | [INFO] [stderr] 22 | pallet_staking_reward_curve::build! { [INFO] [stderr] | _____^ [INFO] [stderr] 23 | | const REWARD_CURVE: sp_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] | |_____^ use of undeclared type or module `_sp_runtime` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sp_runtime` [INFO] [stderr] --> tests/test.rs:36:23 [INFO] [stderr] | [INFO] [stderr] 36 | const REWARD_CURVE: sp_runtime::curve::PiecewiseLinear<'static> = curve!( [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `sp_runtime` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `_sp_runtime` [INFO] [stderr] --> tests/test.rs:35:2 [INFO] [stderr] | [INFO] [stderr] 35 | pallet_staking_reward_curve::build! { [INFO] [stderr] | _____^ [INFO] [stderr] 36 | | const REWARD_CURVE: sp_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] | |_____^ use of undeclared type or module `_sp_runtime` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `pallet-staking-reward-curve`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "24c0d1cb91cc755c4231518f50c6f325e1592df9e6d279453020de21d9bc2729"` [INFO] running `"docker" "rm" "-f" "24c0d1cb91cc755c4231518f50c6f325e1592df9e6d279453020de21d9bc2729"` [INFO] [stdout] 24c0d1cb91cc755c4231518f50c6f325e1592df9e6d279453020de21d9bc2729