[INFO] fetching crate pallet-generic-asset 2.0.0-rc6... [INFO] checking pallet-generic-asset-2.0.0-rc6 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate pallet-generic-asset 2.0.0-rc6 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate pallet-generic-asset 2.0.0-rc6 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-generic-asset 2.0.0-rc6 [INFO] finished tweaking crates.io crate pallet-generic-asset 2.0.0-rc6 [INFO] tweaked toml for crates.io crate pallet-generic-asset 2.0.0-rc6 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", 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] 2b6f055b4607aa4b156f62673c452a6e1f4b853683fa4537a89581d2ceb94799 [INFO] running `Command { std: "docker" "start" "-a" "2b6f055b4607aa4b156f62673c452a6e1f4b853683fa4537a89581d2ceb94799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b6f055b4607aa4b156f62673c452a6e1f4b853683fa4537a89581d2ceb94799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b6f055b4607aa4b156f62673c452a6e1f4b853683fa4537a89581d2ceb94799", kill_on_drop: false }` [INFO] [stdout] 2b6f055b4607aa4b156f62673c452a6e1f4b853683fa4537a89581d2ceb94799 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b163cba17d54631b847c45019a88aad1daff79a25f99cbecae909b62aa99f065 [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" "b163cba17d54631b847c45019a88aad1daff79a25f99cbecae909b62aa99f065", kill_on_drop: false }` [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking ref-cast v1.0.6 [INFO] [stderr] Checking tracing v0.1.23 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking merlin v2.0.1 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking curve25519-dalek v3.0.2 [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 substrate-bip39 v0.4.2 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde_json v1.0.62 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking tracing-subscriber v0.2.15 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling frame-support-procedural-tools v2.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.2 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.1 [INFO] [stderr] Compiling frame-support-procedural v2.0.1 [INFO] [stderr] Checking parity-scale-codec v1.3.6 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-storage v2.0.1 [INFO] [stderr] Checking sp-wasm-interface v2.0.1 [INFO] [stderr] Checking sp-tracing v2.0.1 [INFO] [stderr] Checking sp-arithmetic v2.0.1 [INFO] [stderr] Checking primitive-types v0.7.3 [INFO] [stderr] Checking sp-externalities v0.8.1 [INFO] [stderr] Checking parity-util-mem v0.7.0 [INFO] [stderr] Checking sp-runtime-interface v2.0.1 [INFO] [stderr] Checking memory-db v0.24.1 [INFO] [stderr] Checking sp-core v2.0.1 [INFO] [stderr] Checking sp-trie v2.0.1 [INFO] [stderr] Checking sp-inherents v2.0.1 [INFO] [stderr] Checking frame-metadata v12.0.1 [INFO] [stderr] Checking sp-state-machine v0.8.1 [INFO] [stderr] Checking sp-io v2.0.1 [INFO] [stderr] Checking sp-application-crypto v2.0.1 [INFO] [stderr] Checking sp-runtime v2.0.1 [INFO] [stderr] Checking frame-support v2.0.1 [INFO] [stderr] Checking sp-version v2.0.1 [INFO] [stderr] Checking frame-system v2.0.1 [INFO] [stderr] Checking pallet-generic-asset v2.0.0-rc6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0437]: type `ModuleToIndex` is not a member of trait `frame_system::Trait` [INFO] [stdout] --> src/lib.rs:1134:2 [INFO] [stdout] | [INFO] [stdout] 1134 | type ModuleToIndex = (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `frame_system::Trait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/mock.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use sp_core::H256; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `ModuleToIndex` is not a member of trait `frame_system::Trait` [INFO] [stdout] --> src/mock.rs:66:2 [INFO] [stdout] | [INFO] [stdout] 66 | 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 `sp_io` [INFO] [stdout] --> src/mock.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn build(self) -> sp_io::TestExternalities { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `sp_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_io` [INFO] [stdout] --> src/mock.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `sp_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `ModuleToIndex` is not a member of trait `frame_system::Trait` [INFO] [stdout] --> src/lib.rs:1134:2 [INFO] [stdout] | [INFO] [stdout] 1134 | 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 `sp_io` [INFO] [stdout] --> src/mock.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | let mut ext = sp_io::TestExternalities::new(t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `sp_io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 23 | use crate::mock::system::TestExternalities; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `PalletInfo` [INFO] [stdout] --> src/lib.rs:1113:1 [INFO] [stdout] | [INFO] [stdout] 1113 | impl frame_system::Trait for ElevatedTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `PalletInfo` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type PalletInfo = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `MaxLocks` [INFO] [stdout] --> src/lib.rs:1336:1 [INFO] [stdout] | [INFO] [stdout] 1336 | / impl LockableCurrency for AssetCurrency> [INFO] [stdout] 1337 | | where [INFO] [stdout] 1338 | | T: Trait, [INFO] [stdout] 1339 | | T::Balance: MaybeSerializeDeserialize + Debug, [INFO] [stdout] ... | [INFO] [stdout] 1363 | | } [INFO] [stdout] 1364 | | } [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0437. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-generic-asset` [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: `PalletInfo` [INFO] [stdout] --> src/lib.rs:1113:1 [INFO] [stdout] | [INFO] [stdout] 1113 | impl frame_system::Trait for ElevatedTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `PalletInfo` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type PalletInfo = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `MaxLocks` [INFO] [stdout] --> src/lib.rs:1336:1 [INFO] [stdout] | [INFO] [stdout] 1336 | / impl LockableCurrency for AssetCurrency> [INFO] [stdout] 1337 | | where [INFO] [stdout] 1338 | | T: Trait, [INFO] [stdout] 1339 | | T::Balance: MaybeSerializeDeserialize + Debug, [INFO] [stdout] ... | [INFO] [stdout] 1363 | | } [INFO] [stdout] 1364 | | } [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[E0046]: not all trait items implemented, missing: `PalletInfo` [INFO] [stdout] --> src/mock.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | impl frame_system::Trait for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `PalletInfo` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type PalletInfo = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0432, E0433, E0437. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b163cba17d54631b847c45019a88aad1daff79a25f99cbecae909b62aa99f065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b163cba17d54631b847c45019a88aad1daff79a25f99cbecae909b62aa99f065", kill_on_drop: false }` [INFO] [stdout] b163cba17d54631b847c45019a88aad1daff79a25f99cbecae909b62aa99f065