[INFO] fetching crate pallet-staking-reward-curve 12.0.0... [INFO] checking pallet-staking-reward-curve-12.0.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate pallet-staking-reward-curve 12.0.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate pallet-staking-reward-curve 12.0.0 [INFO] finished tweaking crates.io crate pallet-staking-reward-curve 12.0.0 [INFO] tweaked toml for crates.io crate pallet-staking-reward-curve 12.0.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-staking-reward-curve 12.0.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e7bf4888d90e06b49f60bb6518b7796d321e652f28db53ba28f779fa370129b [INFO] running `Command { std: "docker" "start" "-a" "0e7bf4888d90e06b49f60bb6518b7796d321e652f28db53ba28f779fa370129b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e7bf4888d90e06b49f60bb6518b7796d321e652f28db53ba28f779fa370129b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7bf4888d90e06b49f60bb6518b7796d321e652f28db53ba28f779fa370129b", kill_on_drop: false }` [INFO] [stdout] 0e7bf4888d90e06b49f60bb6518b7796d321e652f28db53ba28f779fa370129b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8040cf7ad9a1e6e988f2d5ac717f344b212e15e19d4d31926eb16a58190cf07e [INFO] running `Command { std: "docker" "start" "-a" "8040cf7ad9a1e6e988f2d5ac717f344b212e15e19d4d31926eb16a58190cf07e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking proc-macro-crate v3.3.0 [INFO] [stderr] Checking pallet-staking-reward-curve v12.0.0 (/opt/rustwide/workdir) [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `sp_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_runtime`, use `cargo add sp_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_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 unresolved module or unlinked crate `_sp_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_sp_runtime`, use `cargo add _sp_runtime` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `sp_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_runtime`, use `cargo add sp_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `_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 unresolved module or unlinked crate `_sp_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_sp_runtime`, use `cargo add _sp_runtime` to add it to your `Cargo.toml` [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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-staking-reward-curve` (test "test") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "8040cf7ad9a1e6e988f2d5ac717f344b212e15e19d4d31926eb16a58190cf07e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8040cf7ad9a1e6e988f2d5ac717f344b212e15e19d4d31926eb16a58190cf07e", kill_on_drop: false }` [INFO] [stdout] 8040cf7ad9a1e6e988f2d5ac717f344b212e15e19d4d31926eb16a58190cf07e