[INFO] crate pallet-grandpa 2.0.0-rc2 is already in cache [INFO] testing pallet-grandpa-2.0.0-rc2 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate pallet-grandpa 2.0.0-rc2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate pallet-grandpa 2.0.0-rc2 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+beta-2020-06-03" "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] 1db76cfbe18253ff0705f84bc5d68dda1fbeed90ec3d5a18a2cb53b6b92a007e [INFO] running `"docker" "start" "-a" "1db76cfbe18253ff0705f84bc5d68dda1fbeed90ec3d5a18a2cb53b6b92a007e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling sp-panic-handler v2.0.0-rc2 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling ref-cast v1.0.1 [INFO] [stderr] Compiling tracing v0.1.15 [INFO] [stderr] Compiling pin-project v0.4.19 [INFO] [stderr] Compiling paste v0.1.16 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling trie-db v0.20.1 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling sp-tracing v2.0.0-rc2 [INFO] [stderr] Compiling linregress v0.1.7 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling fixed-hash v0.6.1 [INFO] [stderr] Compiling uint v0.8.3 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling merlin v2.0.0 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling tiny-bip39 v0.7.3 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling impl-serde v0.2.3 [INFO] [stderr] Compiling sp-storage v2.0.0-rc2 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling frame-support-procedural-tools v2.0.0-rc2 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-rc2 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-rc2 [INFO] [stderr] Compiling frame-support-procedural v2.0.0-rc2 [INFO] [stderr] Compiling parity-scale-codec v1.3.0 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling sp-externalities v0.8.0-rc2 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-rc2 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-rc2 [INFO] [stderr] Compiling finality-grandpa v0.12.3 [INFO] [stderr] Compiling primitive-types v0.7.2 [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-rc2 [INFO] [stderr] Compiling memory-db v0.20.1 [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 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 46s [INFO] running `"docker" "inspect" "1db76cfbe18253ff0705f84bc5d68dda1fbeed90ec3d5a18a2cb53b6b92a007e"` [INFO] running `"docker" "rm" "-f" "1db76cfbe18253ff0705f84bc5d68dda1fbeed90ec3d5a18a2cb53b6b92a007e"` [INFO] [stdout] 1db76cfbe18253ff0705f84bc5d68dda1fbeed90ec3d5a18a2cb53b6b92a007e [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+beta-2020-06-03" "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] ddad2e188cf1fdc3525ea727b14b002078c120107c6f17b6a9a854a5a7c84ff8 [INFO] running `"docker" "start" "-a" "ddad2e188cf1fdc3525ea727b14b002078c120107c6f17b6a9a854a5a7c84ff8"` [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" "ddad2e188cf1fdc3525ea727b14b002078c120107c6f17b6a9a854a5a7c84ff8"` [INFO] running `"docker" "rm" "-f" "ddad2e188cf1fdc3525ea727b14b002078c120107c6f17b6a9a854a5a7c84ff8"` [INFO] [stdout] ddad2e188cf1fdc3525ea727b14b002078c120107c6f17b6a9a854a5a7c84ff8