[INFO] fetching crate sp-phragmen 2.0.0-alpha.7... [INFO] checking sp-phragmen-2.0.0-alpha.7 against try#96b3c169cd2d8959926fa240f10342f1659f8ae3 for pr-71896 [INFO] extracting crate sp-phragmen 2.0.0-alpha.7 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate sp-phragmen 2.0.0-alpha.7 on toolchain 96b3c169cd2d8959926fa240f10342f1659f8ae3 [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sp-phragmen 2.0.0-alpha.7 [INFO] finished tweaking crates.io crate sp-phragmen 2.0.0-alpha.7 [INFO] tweaked toml for crates.io crate sp-phragmen 2.0.0-alpha.7 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "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" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "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] d309f88bee2f656e5fc7d9d1fb403b98eded95c27796e1f7999878dfe5e0d32d [INFO] running `"docker" "start" "-a" "d309f88bee2f656e5fc7d9d1fb403b98eded95c27796e1f7999878dfe5e0d32d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking sp-std v2.0.0-alpha.7 [INFO] [stderr] Checking integer-sqrt v0.1.3 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking uint v0.8.3 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-alpha.7 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-phragmen-compact v2.0.0-dev.1 [INFO] [stderr] Checking parity-scale-codec v1.3.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking sp-arithmetic v2.0.0-alpha.7 [INFO] [stderr] Checking sp-phragmen v2.0.0-alpha.7 (/opt/rustwide/workdir) [INFO] [stderr] error: Could not find `sp-phragmen` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`! [INFO] [stderr] --> src/tests.rs:655:2 [INFO] [stderr] | [INFO] [stderr] 655 | generate_compact_solution_type!(TestCompact, 16); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sp_runtime` [INFO] [stderr] --> src/mock.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use sp_runtime::assert_eq_error_rate; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `sp_runtime` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stderr] --> src/tests.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use substrate_test_utils::assert_eq_uvec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_utils` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sp_phragmen` [INFO] [stderr] --> src/tests.rs:649:6 [INFO] [stderr] | [INFO] [stderr] 649 | use sp_phragmen::{Assignment, StakedAssignment, Error as PhragmenError, ExtendedBalance}; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `sp_phragmen` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `_phragmen` [INFO] [stderr] --> src/tests.rs:655:2 [INFO] [stderr] | [INFO] [stderr] 655 | generate_compact_solution_type!(TestCompact, 16); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `_phragmen` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_error_rate` [INFO] [stderr] --> src/mock.rs:316:3 [INFO] [stderr] | [INFO] [stderr] 316 | assert_eq_error_rate!(sum, T::ACCURACY.saturated_into(), 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_error_rate` [INFO] [stderr] --> src/mock.rs:350:6 [INFO] [stderr] | [INFO] [stderr] 350 | assert_eq_error_rate!( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/tests.rs:42:2 [INFO] [stderr] | [INFO] [stderr] 42 | assert_eq_uvec!(winners, vec![(2, 40), (3, 50)]); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/tests.rs:43:2 [INFO] [stderr] | [INFO] [stderr] 43 | assert_eq_uvec!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/tests.rs:92:2 [INFO] [stderr] | [INFO] [stderr] 92 | assert_eq_uvec!(winners, vec![(2, 40), (3, 50)]); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/tests.rs:93:2 [INFO] [stderr] | [INFO] [stderr] 93 | assert_eq_uvec!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/tests.rs:118:2 [INFO] [stderr] | [INFO] [stderr] 118 | assert_eq_uvec!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/tests.rs:155:2 [INFO] [stderr] | [INFO] [stderr] 155 | assert_eq_uvec!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/tests.rs:249:2 [INFO] [stderr] | [INFO] [stderr] 249 | assert_eq_uvec!(winners, vec![(1, 18446744073709551614u128), (5, 18446744073709551613u128)]); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/tests.rs:279:2 [INFO] [stderr] | [INFO] [stderr] 279 | assert_eq_uvec!(winners, vec![(2, 36893488147419103226u128), (1, 36893488147419103219u128)]); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/tests.rs:322:2 [INFO] [stderr] | [INFO] [stderr] 322 | assert_eq_uvec!(winners, vec![(20, 2), (10, 1), (30, 1)]); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/tests.rs:352:2 [INFO] [stderr] | [INFO] [stderr] 352 | assert_eq_uvec!(winners, vec![(20, 2), (10, 1), (30, 1)]); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/tests.rs:385:2 [INFO] [stderr] | [INFO] [stderr] 385 | assert_eq_uvec!(winners, vec![(24, 1490000000000200000u128), (22, 1490000000000100000u128)]); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/tests.rs:411:2 [INFO] [stderr] | [INFO] [stderr] 411 | assert_eq_uvec!(winners, vec![(2, 1000000000004000000u128), (4, 1000000000004000000u128)]); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/tests.rs:488:2 [INFO] [stderr] | [INFO] [stderr] 488 | assert_eq_uvec!(winners, vec![ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] warning: unused import: `One` [INFO] [stderr] --> src/mock.rs:22:67 [INFO] [stderr] | [INFO] [stderr] 22 | use sp_arithmetic::{PerThing, traits::{SaturatedConversion, Zero, One}}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors; 1 warning 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 `sp-phragmen`. [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" "d309f88bee2f656e5fc7d9d1fb403b98eded95c27796e1f7999878dfe5e0d32d"` [INFO] running `"docker" "rm" "-f" "d309f88bee2f656e5fc7d9d1fb403b98eded95c27796e1f7999878dfe5e0d32d"` [INFO] [stdout] d309f88bee2f656e5fc7d9d1fb403b98eded95c27796e1f7999878dfe5e0d32d