[INFO] fetching crate pallet-staking-reward-curve 12.0.0... [INFO] testing pallet-staking-reward-curve-12.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate pallet-staking-reward-curve 12.0.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-staking-reward-curve 12.0.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98d8e367d434e6b70b892f4ca217597a9a9dc64cd0a9e8962e67772156cc647e [INFO] running `Command { std: "docker" "start" "-a" "98d8e367d434e6b70b892f4ca217597a9a9dc64cd0a9e8962e67772156cc647e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98d8e367d434e6b70b892f4ca217597a9a9dc64cd0a9e8962e67772156cc647e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98d8e367d434e6b70b892f4ca217597a9a9dc64cd0a9e8962e67772156cc647e", kill_on_drop: false }` [INFO] [stdout] 98d8e367d434e6b70b892f4ca217597a9a9dc64cd0a9e8962e67772156cc647e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 161d1627e60e3ec34bc09c5cfb362ecf51a5cfdf907b3242ada5d2fa0cf1d6be [INFO] running `Command { std: "docker" "start" "-a" "161d1627e60e3ec34bc09c5cfb362ecf51a5cfdf907b3242ada5d2fa0cf1d6be", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling pallet-staking-reward-curve v12.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.91s [INFO] running `Command { std: "docker" "inspect" "161d1627e60e3ec34bc09c5cfb362ecf51a5cfdf907b3242ada5d2fa0cf1d6be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "161d1627e60e3ec34bc09c5cfb362ecf51a5cfdf907b3242ada5d2fa0cf1d6be", kill_on_drop: false }` [INFO] [stdout] 161d1627e60e3ec34bc09c5cfb362ecf51a5cfdf907b3242ada5d2fa0cf1d6be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] baed49e022c5eb3cfc692d5c4853c19017eaf8f76133c003302c3bee51e38c08 [INFO] running `Command { std: "docker" "start" "-a" "baed49e022c5eb3cfc692d5c4853c19017eaf8f76133c003302c3bee51e38c08", kill_on_drop: false }` [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling 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" "baed49e022c5eb3cfc692d5c4853c19017eaf8f76133c003302c3bee51e38c08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baed49e022c5eb3cfc692d5c4853c19017eaf8f76133c003302c3bee51e38c08", kill_on_drop: false }` [INFO] [stdout] baed49e022c5eb3cfc692d5c4853c19017eaf8f76133c003302c3bee51e38c08