[INFO] fetching crate pallet-generic-asset 2.0.0-rc6... [INFO] checking pallet-generic-asset-2.0.0-rc6 against beta for pr-78714 [INFO] extracting crate pallet-generic-asset 2.0.0-rc6 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate pallet-generic-asset 2.0.0-rc6 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8e1c02bb6db91d1fa57c58e9b939a16b9643cfdf59a5c0fd390f5c4230da368 [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" "d8e1c02bb6db91d1fa57c58e9b939a16b9643cfdf59a5c0fd390f5c4230da368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8e1c02bb6db91d1fa57c58e9b939a16b9643cfdf59a5c0fd390f5c4230da368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8e1c02bb6db91d1fa57c58e9b939a16b9643cfdf59a5c0fd390f5c4230da368", kill_on_drop: false }` [INFO] [stdout] d8e1c02bb6db91d1fa57c58e9b939a16b9643cfdf59a5c0fd390f5c4230da368 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c061e9124a7500d3c3be999d4af4808a977e2dcba523218c8055454b6a4e2f7a [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" "c061e9124a7500d3c3be999d4af4808a977e2dcba523218c8055454b6a4e2f7a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking pallet-generic-asset v2.0.0-rc6 (/opt/rustwide/workdir) [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[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[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/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 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: 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" "c061e9124a7500d3c3be999d4af4808a977e2dcba523218c8055454b6a4e2f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c061e9124a7500d3c3be999d4af4808a977e2dcba523218c8055454b6a4e2f7a", kill_on_drop: false }` [INFO] [stdout] c061e9124a7500d3c3be999d4af4808a977e2dcba523218c8055454b6a4e2f7a