[INFO] fetching crate orml-tokens 0.2.0... [INFO] checking orml-tokens-0.2.0 against master#893fadd11a52aa26fc19c67ee1b79f03d6a1bed3 for pr-77153 [INFO] extracting crate orml-tokens 0.2.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate orml-tokens 0.2.0 on toolchain 893fadd11a52aa26fc19c67ee1b79f03d6a1bed3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate orml-tokens 0.2.0 [INFO] finished tweaking crates.io crate orml-tokens 0.2.0 [INFO] tweaked toml for crates.io crate orml-tokens 0.2.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "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" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8ff0328f5a010474c7324fbce5388b9b7977aea42446d50ddb6f213a7bcec70 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b8ff0328f5a010474c7324fbce5388b9b7977aea42446d50ddb6f213a7bcec70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8ff0328f5a010474c7324fbce5388b9b7977aea42446d50ddb6f213a7bcec70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8ff0328f5a010474c7324fbce5388b9b7977aea42446d50ddb6f213a7bcec70", kill_on_drop: false }` [INFO] [stdout] b8ff0328f5a010474c7324fbce5388b9b7977aea42446d50ddb6f213a7bcec70 [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a0875404d681967a2b2da24b564d2765bd87fdac4a6b0e810ccd624792032e7b [INFO] running `Command { std: "docker" "start" "-a" "a0875404d681967a2b2da24b564d2765bd87fdac4a6b0e810ccd624792032e7b", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking tracing-core v0.1.16 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking sharded-slab v0.0.9 [INFO] [stderr] Checking memchr v2.3.3 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking trie-db v0.22.1 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking chrono v0.4.16 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking sp-panic-handler v2.0.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling sp-debug-derive v2.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling derive_more v0.99.10 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v2.0.0 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking ref-cast v1.0.2 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking curve25519-dalek v3.0.0 [INFO] [stderr] Checking secrecy v0.6.0 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking substrate-bip39 v0.4.2 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking tracing-subscriber v0.2.12 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling frame-support-procedural-tools v2.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.2 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0 [INFO] [stderr] Compiling frame-support-procedural v2.0.0 [INFO] [stderr] Checking parity-scale-codec v1.3.5 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-storage v2.0.0 [INFO] [stderr] Checking sp-wasm-interface v2.0.0 [INFO] [stderr] Checking sp-tracing v2.0.0 [INFO] [stderr] Checking sp-arithmetic v2.0.0 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking sp-externalities v0.8.0 [INFO] [stderr] Checking parity-util-mem v0.7.0 [INFO] [stderr] Checking sp-runtime-interface v2.0.0 [INFO] [stderr] Checking memory-db v0.24.1 [INFO] [stderr] Checking sp-core v2.0.0 [INFO] [stderr] Checking sp-trie v2.0.0 [INFO] [stderr] Checking sp-inherents v2.0.0 [INFO] [stderr] Checking frame-metadata v12.0.0 [INFO] [stderr] Checking sp-state-machine v0.8.0 [INFO] [stderr] Checking sp-io v2.0.0 [INFO] [stderr] Checking sp-application-crypto v2.0.0 [INFO] [stderr] Checking sp-runtime v2.0.0 [INFO] [stderr] Checking frame-support v2.0.0 [INFO] [stderr] Checking sp-version v2.0.0 [INFO] [stderr] Checking orml-traits v0.2.0 [INFO] [stderr] Checking frame-system v2.0.0 [INFO] [stderr] Checking orml-tokens v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/mock.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sp_core::H256; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_treasury` [INFO] [stdout] --> src/mock.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pallet_treasury, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/mock.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | pallet_elections_phragmen, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `ModuleToIndex` is not a member of trait `frame_system::Trait` [INFO] [stdout] --> src/mock.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 65 | type ModuleToIndex = (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `frame_system::Trait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_treasury` [INFO] [stdout] --> src/mock.rs:140:6 [INFO] [stdout] | [INFO] [stdout] 140 | impl pallet_treasury::Trait for Runtime { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/mock.rs:263:6 [INFO] [stdout] | [INFO] [stdout] 263 | impl pallet_elections_phragmen::Trait for Runtime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_treasury` [INFO] [stdout] --> src/mock.rs:291:48 [INFO] [stdout] | [INFO] [stdout] 291 | pub type TreasuryCurrencyAdapter = ::Currency; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/mock.rs:345:4 [INFO] [stdout] | [INFO] [stdout] 345 | pallet_elections_phragmen::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | ::Currency::total_balance(&TREASURY_ACCOUNT), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | ::Currency::can_slash(&TREASURY_ACCOUNT, 10), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | ::Currency::total_issuance(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | ::Currency::minimum_balance(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:416:17 [INFO] [stdout] | [INFO] [stdout] 416 | ::Currency::can_reserve(&TREASURY_ACCOUNT, 5), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:421:32 [INFO] [stdout] | [INFO] [stdout] 421 | let imbalance = ::Currency::burn(10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | ::Currency::total_issuance(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | ::Currency::total_issuance(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:433:32 [INFO] [stdout] | [INFO] [stdout] 433 | let imbalance = ::Currency::issue(20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 435 | ::Currency::total_issuance(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:440:17 [INFO] [stdout] | [INFO] [stdout] 440 | ::Currency::total_issuance(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:446:17 [INFO] [stdout] | [INFO] [stdout] 446 | ::Currency::free_balance(&TREASURY_ACCOUNT), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | ::Currency::ensure_can_withdraw( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:457:27 [INFO] [stdout] | [INFO] [stdout] 457 | assert_ok!(::Currency::transfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | ::Currency::free_balance(&TREASURY_ACCOUNT), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | ::Currency::total_issuance(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:475:17 [INFO] [stdout] | [INFO] [stdout] 475 | ::Currency::free_balance(&TREASURY_ACCOUNT), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 479 | ::Currency::total_issuance(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:484:17 [INFO] [stdout] | [INFO] [stdout] 484 | ::Currency::free_balance(&TREASURY_ACCOUNT), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:488:17 [INFO] [stdout] | [INFO] [stdout] 488 | ::Currency::total_issuance(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:493:32 [INFO] [stdout] | [INFO] [stdout] 493 | let imbalance = ::Currency::withdraw( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:500:17 [INFO] [stdout] | [INFO] [stdout] 500 | ::Currency::free_balance(&TREASURY_ACCOUNT), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:504:17 [INFO] [stdout] | [INFO] [stdout] 504 | ::Currency::total_issuance(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 509 | ::Currency::free_balance(&TREASURY_ACCOUNT), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/tests.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | ::Currency::total_issuance(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_treasury` [INFO] [stdout] --> src/mock.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl_outer_event! { [INFO] [stdout] 30 | | pub enum TestEvent for Runtime { [INFO] [stdout] 31 | | frame_system, [INFO] [stdout] 32 | | tokens, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ not found in `pallet_treasury` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Event; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::mock::system::Event; [INFO] [stdout] | [INFO] [stdout] 5 | use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_elections_phragmen` [INFO] [stdout] --> src/mock.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl_outer_event! { [INFO] [stdout] 30 | | pub enum TestEvent for Runtime { [INFO] [stdout] 31 | | frame_system, [INFO] [stdout] 32 | | tokens, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ not found in `pallet_elections_phragmen` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Event; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::mock::system::Event; [INFO] [stdout] | [INFO] [stdout] 5 | use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_treasury` [INFO] [stdout] --> src/mock.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | pallet_treasury::GenesisConfig::default() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `pallet_treasury` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::GenesisConfig; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::mock::system::GenesisConfig; [INFO] [stdout] | [INFO] [stdout] 5 | use frame_system::GenesisConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0437. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `orml-tokens` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `MaxLocks` [INFO] [stdout] --> src/lib.rs:840:1 [INFO] [stdout] | [INFO] [stdout] 840 | / impl PalletLockableCurrency for CurrencyAdapter [INFO] [stdout] 841 | | where [INFO] [stdout] 842 | | T: Trait, [INFO] [stdout] 843 | | GetCurrencyId: Get, [INFO] [stdout] ... | [INFO] [stdout] 857 | | } [INFO] [stdout] 858 | | } [INFO] [stdout] | |_^ missing `MaxLocks` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type MaxLocks = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a0875404d681967a2b2da24b564d2765bd87fdac4a6b0e810ccd624792032e7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0875404d681967a2b2da24b564d2765bd87fdac4a6b0e810ccd624792032e7b", kill_on_drop: false }` [INFO] [stdout] a0875404d681967a2b2da24b564d2765bd87fdac4a6b0e810ccd624792032e7b