[INFO] crate pallet-scored-pool 2.0.0-alpha.3 is already in cache [INFO] checking pallet-scored-pool-2.0.0-alpha.3 against try#13f916f63bc6575d5ff1f989237dfabe88981368 for pr-69880 [INFO] extracting crate pallet-scored-pool 2.0.0-alpha.3 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate pallet-scored-pool 2.0.0-alpha.3 on toolchain 13f916f63bc6575d5ff1f989237dfabe88981368 [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pallet-scored-pool 2.0.0-alpha.3 [INFO] finished tweaking crates.io crate pallet-scored-pool 2.0.0-alpha.3 [INFO] tweaked toml for crates.io crate pallet-scored-pool 2.0.0-alpha.3 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=forbid" "-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" "+13f916f63bc6575d5ff1f989237dfabe88981368" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1d9fc7e53542a0573b9125e714dce4ea8f425fc4675dc01aabac01d6172d3b64 [INFO] running `"docker" "start" "-a" "1d9fc7e53542a0573b9125e714dce4ea8f425fc4675dc01aabac01d6172d3b64"` [INFO] [stderr] Checking sp-core v2.0.0-alpha.3 [INFO] [stderr] Checking sp-trie v2.0.0-alpha.3 [INFO] [stderr] Checking sp-inherents v2.0.0-alpha.3 [INFO] [stderr] Checking frame-metadata v11.0.0-alpha.3 [INFO] [stderr] Checking sp-state-machine v0.8.0-alpha.3 [INFO] [stderr] Checking sp-io v2.0.0-alpha.3 [INFO] [stderr] Checking sp-application-crypto v2.0.0-alpha.3 [INFO] [stderr] Checking sp-runtime v2.0.0-alpha.3 [INFO] [stderr] Checking frame-support v2.0.0-alpha.3 [INFO] [stderr] Checking sp-version v2.0.0-alpha.3 [INFO] [stderr] Checking frame-system v2.0.0-alpha.3 [INFO] [stderr] Checking pallet-scored-pool v2.0.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lib.rs:192:4 [INFO] [stderr] | [INFO] [stderr] 192 | /// Sorts the `Pool` by score in a descending order. Entities which [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 193 | /// have a score of `None` are sorted to the beginning of the vec. [INFO] [stderr] 194 | pool.sort_by_key(|(_, maybe_score)| [INFO] [stderr] | _____________- [INFO] [stderr] 195 | | Reverse(maybe_score.unwrap_or_default()) [INFO] [stderr] 196 | | ); [INFO] [stderr] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lib.rs:193:4 [INFO] [stderr] | [INFO] [stderr] 193 | /// have a score of `None` are sorted to the beginning of the vec. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 194 | pool.sort_by_key(|(_, maybe_score)| [INFO] [stderr] | _____________- [INFO] [stderr] 195 | | Reverse(maybe_score.unwrap_or_default()) [INFO] [stderr] 196 | | ); [INFO] [stderr] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sp_core` [INFO] [stderr] --> src/mock.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use sp_core::H256; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `sp_core` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/mock.rs:73:21 [INFO] [stderr] | [INFO] [stderr] 73 | type AccountData = pallet_balances::AccountData; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/mock.rs:78:6 [INFO] [stderr] | [INFO] [stderr] 78 | impl pallet_balances::Trait for Test { [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/mock.rs:126:17 [INFO] [stderr] | [INFO] [stderr] 126 | type Balances = pallet_balances::Module; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/mock.rs:133:2 [INFO] [stderr] | [INFO] [stderr] 133 | pallet_balances::GenesisConfig:: { [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:27:17 [INFO] [stderr] | [INFO] [stderr] 27 | type Balances = pallet_balances::Module; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:44:4 [INFO] [stderr] | [INFO] [stderr] 44 | pallet_balances::Error::::InsufficientBalance, [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lib.rs:192:4 [INFO] [stderr] | [INFO] [stderr] 192 | /// Sorts the `Pool` by score in a descending order. Entities which [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 193 | /// have a score of `None` are sorted to the beginning of the vec. [INFO] [stderr] 194 | pool.sort_by_key(|(_, maybe_score)| [INFO] [stderr] | _____________- [INFO] [stderr] 195 | | Reverse(maybe_score.unwrap_or_default()) [INFO] [stderr] 196 | | ); [INFO] [stderr] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/lib.rs:193:4 [INFO] [stderr] | [INFO] [stderr] 193 | /// have a score of `None` are sorted to the beginning of the vec. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 194 | pool.sort_by_key(|(_, maybe_score)| [INFO] [stderr] | _____________- [INFO] [stderr] 195 | | Reverse(maybe_score.unwrap_or_default()) [INFO] [stderr] 196 | | ); [INFO] [stderr] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `pallet-scored-pool`. [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 `"docker" "inspect" "1d9fc7e53542a0573b9125e714dce4ea8f425fc4675dc01aabac01d6172d3b64"` [INFO] running `"docker" "rm" "-f" "1d9fc7e53542a0573b9125e714dce4ea8f425fc4675dc01aabac01d6172d3b64"` [INFO] [stdout] 1d9fc7e53542a0573b9125e714dce4ea8f425fc4675dc01aabac01d6172d3b64