[INFO] fetching crate pallet-staking-reward-curve 3.0.0... [INFO] checking pallet-staking-reward-curve-3.0.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate pallet-staking-reward-curve 3.0.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate pallet-staking-reward-curve 3.0.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b77d3d6fe16e58fbfe17514979c668b8eb3103f4c2b40ec7473f7ee7ef88b12 [INFO] running `Command { std: "docker" "start" "-a" "1b77d3d6fe16e58fbfe17514979c668b8eb3103f4c2b40ec7473f7ee7ef88b12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b77d3d6fe16e58fbfe17514979c668b8eb3103f4c2b40ec7473f7ee7ef88b12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b77d3d6fe16e58fbfe17514979c668b8eb3103f4c2b40ec7473f7ee7ef88b12", kill_on_drop: false }` [INFO] [stdout] 1b77d3d6fe16e58fbfe17514979c668b8eb3103f4c2b40ec7473f7ee7ef88b12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be5c8084c4d1cb658ac97b3cabbae417ccf89df4cae387e1b56f85664c22d48a [INFO] running `Command { std: "docker" "start" "-a" "be5c8084c4d1cb658ac97b3cabbae417ccf89df4cae387e1b56f85664c22d48a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Checking proc-macro2 v1.0.28 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking pallet-staking-reward-curve v3.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stderr] Migrating tests/test.rs from 2018 edition to 2021 [INFO] [stdout] error: Could not find `sp-runtime` in `dependencies` or `dev-dependencies` in `/tmp/fixit/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 `/tmp/fixit/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] 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] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "be5c8084c4d1cb658ac97b3cabbae417ccf89df4cae387e1b56f85664c22d48a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be5c8084c4d1cb658ac97b3cabbae417ccf89df4cae387e1b56f85664c22d48a", kill_on_drop: false }` [INFO] [stdout] be5c8084c4d1cb658ac97b3cabbae417ccf89df4cae387e1b56f85664c22d48a