[INFO] fetching crate pallet-society 2.0.1... [INFO] checking pallet-society-2.0.1 against master#339e19697a39a78f4d669c217b7d21109215de41 for pr-81213 [INFO] extracting crate pallet-society 2.0.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate pallet-society 2.0.1 on toolchain 339e19697a39a78f4d669c217b7d21109215de41 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-society 2.0.1 [INFO] finished tweaking crates.io crate pallet-society 2.0.1 [INFO] tweaked toml for crates.io crate pallet-society 2.0.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+339e19697a39a78f4d669c217b7d21109215de41" "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] b641c4b22a869470fe7d816da178d097f5ddf87050b03690e55006e61c18aae0 [INFO] running `Command { std: "docker" "start" "-a" "b641c4b22a869470fe7d816da178d097f5ddf87050b03690e55006e61c18aae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b641c4b22a869470fe7d816da178d097f5ddf87050b03690e55006e61c18aae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b641c4b22a869470fe7d816da178d097f5ddf87050b03690e55006e61c18aae0", kill_on_drop: false }` [INFO] [stdout] b641c4b22a869470fe7d816da178d097f5ddf87050b03690e55006e61c18aae0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+339e19697a39a78f4d669c217b7d21109215de41" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b50cb5a0e6c2baf513e3cf1665b562659a1142eb92c7245fc9a6b542f030a701 [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" "b50cb5a0e6c2baf513e3cf1665b562659a1142eb92c7245fc9a6b542f030a701", kill_on_drop: false }` [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Checking sp-core v2.0.1 [INFO] [stderr] Checking trie-db v0.22.2 [INFO] [stderr] Checking memory-db v0.24.1 [INFO] [stderr] Checking trie-root v0.16.0 [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 sp-version v2.0.1 [INFO] [stderr] Checking frame-support v2.0.1 [INFO] [stderr] Checking frame-system v2.0.1 [INFO] [stderr] Checking pallet-society v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/mock.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use sp_core::H256; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/tests.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use sp_core::blake2_256; [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_balances` [INFO] [stdout] --> src/mock.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 91 | impl pallet_balances::Trait for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | type Currency = pallet_balances::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | pub type Balances = pallet_balances::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:154:3 [INFO] [stdout] | [INFO] [stdout] 154 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_io` [INFO] [stdout] --> src/mock.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | let mut ext: sp_io::TestExternalities = t.into(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `sp_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-society` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b50cb5a0e6c2baf513e3cf1665b562659a1142eb92c7245fc9a6b542f030a701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b50cb5a0e6c2baf513e3cf1665b562659a1142eb92c7245fc9a6b542f030a701", kill_on_drop: false }` [INFO] [stdout] b50cb5a0e6c2baf513e3cf1665b562659a1142eb92c7245fc9a6b542f030a701