[INFO] fetching crate pallet-staking-reward-curve 12.0.0... [INFO] testing pallet-staking-reward-curve-12.0.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate pallet-staking-reward-curve 12.0.0 into /workspace/builds/worker-7-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-staking-reward-curve 12.0.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d32c470c3a5bcf696b8844169cedcc5f18ccbe011d37e652325b01e4f53c05c9 [INFO] running `Command { std: "docker" "start" "-a" "d32c470c3a5bcf696b8844169cedcc5f18ccbe011d37e652325b01e4f53c05c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d32c470c3a5bcf696b8844169cedcc5f18ccbe011d37e652325b01e4f53c05c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d32c470c3a5bcf696b8844169cedcc5f18ccbe011d37e652325b01e4f53c05c9", kill_on_drop: false }` [INFO] [stdout] d32c470c3a5bcf696b8844169cedcc5f18ccbe011d37e652325b01e4f53c05c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7add4de711d68615a1cc4bcf91b66c89b16ac41c7e3a7ba56d739ff041902028 [INFO] running `Command { std: "docker" "start" "-a" "7add4de711d68615a1cc4bcf91b66c89b16ac41c7e3a7ba56d739ff041902028", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling toml_edit v0.23.6 [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 10.06s [INFO] running `Command { std: "docker" "inspect" "7add4de711d68615a1cc4bcf91b66c89b16ac41c7e3a7ba56d739ff041902028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7add4de711d68615a1cc4bcf91b66c89b16ac41c7e3a7ba56d739ff041902028", kill_on_drop: false }` [INFO] [stdout] 7add4de711d68615a1cc4bcf91b66c89b16ac41c7e3a7ba56d739ff041902028 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e72dd85d25c776488605ab1f35f0abb5e4f6b3c6e6dd28a3322bf6729f8bed15 [INFO] running `Command { std: "docker" "start" "-a" "e72dd85d25c776488605ab1f35f0abb5e4f6b3c6e6dd28a3322bf6729f8bed15", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling toml_edit v0.23.6 [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" "e72dd85d25c776488605ab1f35f0abb5e4f6b3c6e6dd28a3322bf6729f8bed15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e72dd85d25c776488605ab1f35f0abb5e4f6b3c6e6dd28a3322bf6729f8bed15", kill_on_drop: false }` [INFO] [stdout] e72dd85d25c776488605ab1f35f0abb5e4f6b3c6e6dd28a3322bf6729f8bed15