[INFO] crate pallet-scored-pool 2.0.0-alpha.5 is already in cache [INFO] checking pallet-scored-pool-2.0.0-alpha.5 against master#ba72b15666b2491415aec703a02c2364fe5e2790 for pr-71140 [INFO] extracting crate pallet-scored-pool 2.0.0-alpha.5 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate pallet-scored-pool 2.0.0-alpha.5 on toolchain ba72b15666b2491415aec703a02c2364fe5e2790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pallet-scored-pool 2.0.0-alpha.5 [INFO] finished tweaking crates.io crate pallet-scored-pool 2.0.0-alpha.5 [INFO] tweaked toml for crates.io crate pallet-scored-pool 2.0.0-alpha.5 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+ba72b15666b2491415aec703a02c2364fe5e2790" "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] f973ecbd6deee202b0ce354e136ffc4beb4d013658740adb39f327a7ee0ea6db [INFO] running `"docker" "start" "-a" "f973ecbd6deee202b0ce354e136ffc4beb4d013658740adb39f327a7ee0ea6db"` [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Checking tracing v0.1.13 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Checking impl-serde v0.3.0 [INFO] [stderr] Checking impl-serde v0.2.3 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking sp-storage v2.0.0-alpha.5 [INFO] [stderr] Checking sp-externalities v0.8.0-alpha.5 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling frame-support-procedural-tools v2.0.0-alpha.5 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-alpha.5 [INFO] [stderr] Compiling frame-support-procedural v2.0.0-alpha.5 [INFO] [stderr] Checking parity-scale-codec v1.3.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-alpha.5 [INFO] [stderr] Checking sp-arithmetic v2.0.0-alpha.5 [INFO] [stderr] Checking primitive-types v0.7.0 [INFO] [stderr] Checking parity-util-mem v0.6.0 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-alpha.5 [INFO] [stderr] Checking memory-db v0.20.0 [INFO] [stderr] Checking sp-core v2.0.0-alpha.5 [INFO] [stderr] Checking sp-trie v2.0.0-alpha.5 [INFO] [stderr] Checking sp-inherents v2.0.0-alpha.5 [INFO] [stderr] Checking frame-metadata v11.0.0-alpha.5 [INFO] [stderr] Checking sp-state-machine v0.8.0-alpha.5 [INFO] [stderr] Checking sp-io v2.0.0-alpha.5 [INFO] [stderr] Checking sp-application-crypto v2.0.0-alpha.5 [INFO] [stderr] Checking sp-runtime v2.0.0-alpha.5 [INFO] [stderr] Checking sp-version v2.0.0-alpha.5 [INFO] [stderr] Checking frame-support v2.0.0-alpha.5 [INFO] [stderr] Checking frame-system v2.0.0-alpha.5 [INFO] [stderr] Checking pallet-scored-pool v2.0.0-alpha.5 (/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; 2 warnings emitted [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] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "f973ecbd6deee202b0ce354e136ffc4beb4d013658740adb39f327a7ee0ea6db"` [INFO] running `"docker" "rm" "-f" "f973ecbd6deee202b0ce354e136ffc4beb4d013658740adb39f327a7ee0ea6db"` [INFO] [stdout] f973ecbd6deee202b0ce354e136ffc4beb4d013658740adb39f327a7ee0ea6db