[INFO] crate pallet-grandpa 2.0.0-rc2 is already in cache [INFO] testing pallet-grandpa-2.0.0-rc2 against 1.44.0 for beta-1.45-1 [INFO] extracting crate pallet-grandpa 2.0.0-rc2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate pallet-grandpa 2.0.0-rc2 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pallet-grandpa 2.0.0-rc2 [INFO] finished tweaking crates.io crate pallet-grandpa 2.0.0-rc2 [INFO] tweaked toml for crates.io crate pallet-grandpa 2.0.0-rc2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cce5082dd9ccca55aadc09804256a217b26dcbdff4ecbd3fd7b0fcae126a06e9 [INFO] running `"docker" "start" "-a" "cce5082dd9ccca55aadc09804256a217b26dcbdff4ecbd3fd7b0fcae126a06e9"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling statrs v0.10.0 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-rc2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-rc2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling finality-grandpa v0.12.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-rc2 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-rc2 [INFO] [stderr] Compiling sp-core v2.0.0-rc2 [INFO] [stderr] Compiling sp-trie v2.0.0-rc2 [INFO] [stderr] Compiling sp-inherents v2.0.0-rc2 [INFO] [stderr] Compiling frame-metadata v11.0.0-rc2 [INFO] [stderr] Compiling sp-finality-tracker v2.0.0-rc2 [INFO] [stderr] Compiling sp-state-machine v0.8.0-rc2 [INFO] [stderr] Compiling sp-io v2.0.0-rc2 [INFO] [stderr] Compiling sp-application-crypto v2.0.0-rc2 [INFO] [stderr] Compiling sp-runtime v2.0.0-rc2 [INFO] [stderr] Compiling linregress v0.1.7 [INFO] [stderr] Compiling sp-version v2.0.0-rc2 [INFO] [stderr] Compiling frame-support v2.0.0-rc2 [INFO] [stderr] Compiling sp-staking v2.0.0-rc2 [INFO] [stderr] Compiling sp-api v2.0.0-rc2 [INFO] [stderr] Compiling sp-timestamp v2.0.0-rc2 [INFO] [stderr] Compiling sp-session v2.0.0-rc2 [INFO] [stderr] Compiling sp-finality-grandpa v2.0.0-rc2 [INFO] [stderr] Compiling frame-system v2.0.0-rc2 [INFO] [stderr] Compiling frame-benchmarking v2.0.0-rc2 [INFO] [stderr] Compiling pallet-finality-tracker v2.0.0-rc2 [INFO] [stderr] Compiling pallet-timestamp v2.0.0-rc2 [INFO] [stderr] Compiling pallet-session v2.0.0-rc2 [INFO] [stderr] Compiling pallet-grandpa v2.0.0-rc2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 07s [INFO] running `"docker" "inspect" "cce5082dd9ccca55aadc09804256a217b26dcbdff4ecbd3fd7b0fcae126a06e9"` [INFO] running `"docker" "rm" "-f" "cce5082dd9ccca55aadc09804256a217b26dcbdff4ecbd3fd7b0fcae126a06e9"` [INFO] [stdout] cce5082dd9ccca55aadc09804256a217b26dcbdff4ecbd3fd7b0fcae126a06e9 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 17c77447c9ac681ea7587bc3669133ac438e92feaa3ac80094ef39a2fb1a5604 [INFO] running `"docker" "start" "-a" "17c77447c9ac681ea7587bc3669133ac438e92feaa3ac80094ef39a2fb1a5604"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling pallet-grandpa v2.0.0-rc2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `grandpa` [INFO] [stderr] --> src/mock.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use ::grandpa as finality_grandpa; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `grandpa` external crate [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `pallet_staking` [INFO] [stderr] --> src/mock.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | use pallet_staking::EraIndex; [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sp_io` [INFO] [stderr] --> src/mock.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use sp_io; [INFO] [stderr] | ^^^^^ no `sp_io` external crate [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sp_keyring` [INFO] [stderr] --> src/mock.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | use sp_keyring::Ed25519Keyring; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `sp_keyring` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `pallet_balances` [INFO] [stderr] --> src/mock.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | use pallet_balances as balances; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `pallet_balances` external crate [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `pallet_offences` [INFO] [stderr] --> src/mock.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | use pallet_offences as offences; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `pallet_offences` external crate [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `pallet_staking` [INFO] [stderr] --> src/mock.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | use pallet_staking as staking; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `pallet_staking` external crate [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `pallet_timestamp` [INFO] [stderr] --> src/mock.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | use pallet_timestamp as timestamp; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `pallet_timestamp` external crate [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sp_keyring` [INFO] [stderr] --> src/tests.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | use sp_keyring::Ed25519Keyring; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `sp_keyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking_reward_curve` [INFO] [stderr] --> src/mock.rs:176:1 [INFO] [stderr] | [INFO] [stderr] 176 | pallet_staking_reward_curve::build! { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking_reward_curve` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `historical` in `session` [INFO] [stderr] --> src/mock.rs:143:33 [INFO] [stderr] | [INFO] [stderr] 143 | type SessionManager = session::historical::NoteHistoricalRoot; [INFO] [stderr] | ^^^^^^^^^^ could not find `historical` in `session` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `historical` in `session` [INFO] [stderr] --> src/mock.rs:149:15 [INFO] [stderr] | [INFO] [stderr] 149 | impl session::historical::Trait for Test { [INFO] [stderr] | ^^^^^^^^^^ could not find `historical` in `session` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `historical` in `session` [INFO] [stderr] --> src/mock.rs:240:38 [INFO] [stderr] | [INFO] [stderr] 240 | type IdentificationTuple = session::historical::IdentificationTuple; [INFO] [stderr] | ^^^^^^^^^^ could not find `historical` in `session` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/mock.rs:325:21 [INFO] [stderr] | [INFO] [stderr] 325 | pub type Balances = pallet_balances::Module; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `historical` in `pallet_session` [INFO] [stderr] --> src/mock.rs:326:39 [INFO] [stderr] | [INFO] [stderr] 326 | pub type Historical = pallet_session::historical::Module; [INFO] [stderr] | ^^^^^^^^^^ could not find `historical` in `pallet_session` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_offences` [INFO] [stderr] --> src/mock.rs:327:21 [INFO] [stderr] | [INFO] [stderr] 327 | pub type Offences = pallet_offences::Module; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_offences` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stderr] --> src/mock.rs:329:20 [INFO] [stderr] | [INFO] [stderr] 329 | pub type Staking = pallet_staking::Module; [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_timestamp` [INFO] [stderr] --> src/mock.rs:331:22 [INFO] [stderr] | [INFO] [stderr] 331 | pub type Timestamp = pallet_timestamp::Module; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_timestamp` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stderr] --> src/tests.rs:351:5 [INFO] [stderr] | [INFO] [stderr] 351 | pallet_staking::Exposure { [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stderr] --> src/tests.rs:389:4 [INFO] [stderr] | [INFO] [stderr] 389 | pallet_staking::Exposure { [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stderr] --> src/tests.rs:403:5 [INFO] [stderr] | [INFO] [stderr] 403 | pallet_staking::Exposure { [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stderr] --> src/tests.rs:438:5 [INFO] [stderr] | [INFO] [stderr] 438 | pallet_staking::Exposure { [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stderr] --> src/tests.rs:470:4 [INFO] [stderr] | [INFO] [stderr] 470 | pallet_staking::Exposure { [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stderr] --> src/tests.rs:484:5 [INFO] [stderr] | [INFO] [stderr] 484 | pallet_staking::Exposure { [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `REWARD_CURVE` in this scope [INFO] [stderr] --> src/mock.rs:192:62 [INFO] [stderr] | [INFO] [stderr] 192 | pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 25 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `pallet-grandpa`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "17c77447c9ac681ea7587bc3669133ac438e92feaa3ac80094ef39a2fb1a5604"` [INFO] running `"docker" "rm" "-f" "17c77447c9ac681ea7587bc3669133ac438e92feaa3ac80094ef39a2fb1a5604"` [INFO] [stdout] 17c77447c9ac681ea7587bc3669133ac438e92feaa3ac80094ef39a2fb1a5604