[INFO] fetching crate sp-phragmen 2.0.0-rc2... [INFO] checking sp-phragmen-2.0.0-rc2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate sp-phragmen 2.0.0-rc2 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate sp-phragmen 2.0.0-rc2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sp-phragmen 2.0.0-rc2 [INFO] finished tweaking crates.io crate sp-phragmen 2.0.0-rc2 [INFO] tweaked toml for crates.io crate sp-phragmen 2.0.0-rc2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding bitvec v0.17.4 (available: v1.0.1) [INFO] [stderr] Adding byte-slice-cast v0.3.5 (available: v1.2.2) [INFO] [stderr] Adding parity-scale-codec v1.3.7 (available: v3.6.12) [INFO] [stderr] Adding parity-scale-codec-derive v1.2.3 (available: v3.6.12) [INFO] [stderr] Adding proc-macro-crate v0.1.5 (available: v3.2.0) [INFO] [stderr] Adding radium v0.3.0 (available: v1.1.0) [INFO] [stderr] Adding sp-arithmetic v2.0.1 (available: v26.0.0) [INFO] [stderr] Adding sp-debug-derive v2.0.1 (available: v14.0.0) [INFO] [stderr] Adding sp-std v2.0.1 (available: v14.0.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-phragmen-compact v2.0.0-rc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 912505ad250c1f9a0ebf07998c17050b663f1c75f26a31cf4fb5233a4bfea812 [INFO] running `Command { std: "docker" "start" "-a" "912505ad250c1f9a0ebf07998c17050b663f1c75f26a31cf4fb5233a4bfea812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "912505ad250c1f9a0ebf07998c17050b663f1c75f26a31cf4fb5233a4bfea812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "912505ad250c1f9a0ebf07998c17050b663f1c75f26a31cf4fb5233a4bfea812", kill_on_drop: false }` [INFO] [stdout] 912505ad250c1f9a0ebf07998c17050b663f1c75f26a31cf4fb5233a4bfea812 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72bee59ba94edada0cfa48be3ba55ab7772051acc5af4a3b68e74baa827b4c42 [INFO] running `Command { std: "docker" "start" "-a" "72bee59ba94edada0cfa48be3ba55ab7772051acc5af4a3b68e74baa827b4c42", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking sp-std v2.0.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling sp-debug-derive v2.0.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.3 [INFO] [stderr] Compiling sp-phragmen-compact v2.0.0-rc2 [INFO] [stderr] Checking parity-scale-codec v1.3.7 [INFO] [stderr] Checking sp-arithmetic v2.0.1 [INFO] [stderr] Checking sp-phragmen v2.0.0-rc2 (/opt/rustwide/workdir) [INFO] [stdout] error: Could not find `sp-phragmen` in `dependencies` or `dev-dependencies` in `/opt/rustwide/workdir/Cargo.toml`! [INFO] [stdout] --> src/tests.rs:656:2 [INFO] [stdout] | [INFO] [stdout] 656 | generate_compact_solution_type!(TestCompact, 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_compact_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_runtime` [INFO] [stdout] --> src/mock.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use sp_runtime::assert_eq_error_rate; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stdout] --> src/tests.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use substrate_test_utils::assert_eq_uvec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_phragmen` [INFO] [stdout] --> src/tests.rs:650:6 [INFO] [stdout] | [INFO] [stdout] 650 | use sp_phragmen::{Assignment, StakedAssignment, Error as PhragmenError, ExtendedBalance}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `sp_phragmen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `_phragmen` [INFO] [stdout] --> src/tests.rs:656:2 [INFO] [stdout] | [INFO] [stdout] 656 | generate_compact_solution_type!(TestCompact, 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `_phragmen` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_compact_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:267:45 [INFO] [stdout] | [INFO] [stdout] 267 | sum += per_thing.clone().deconstruct().saturated_into(); [INFO] [stdout] | -- ^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the method `saturated_into` [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `u128: AddAssign<_>` found in the `core` crate: [INFO] [stdout] - impl AddAssign for u128; [INFO] [stdout] - impl AddAssign<&u128> for u128; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 267 | sum += per_thing.clone().deconstruct().saturated_into::(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sp-phragmen` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `_phragmen` [INFO] [stdout] --> src/tests.rs:656:2 [INFO] [stdout] | [INFO] [stdout] 656 | generate_compact_solution_type!(TestCompact, 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `_phragmen` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_compact_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this crate through its public re-export [INFO] [stdout] | [INFO] [stdout] 646 + use crate::codec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `_phragmen` [INFO] [stdout] --> src/tests.rs:656:2 [INFO] [stdout] | [INFO] [stdout] 656 | generate_compact_solution_type!(TestCompact, 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `_phragmen` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_compact_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this crate through its public re-export [INFO] [stdout] | [INFO] [stdout] 646 + use crate::sp_arithmetic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `_phragmen` [INFO] [stdout] --> src/tests.rs:656:2 [INFO] [stdout] | [INFO] [stdout] 656 | generate_compact_solution_type!(TestCompact, 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `_phragmen` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_compact_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 646 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 646 + use crate::codec::Error; [INFO] [stdout] | [INFO] [stdout] 646 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 646 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 8 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `_phragmen` [INFO] [stdout] --> src/tests.rs:656:2 [INFO] [stdout] | [INFO] [stdout] 656 | generate_compact_solution_type!(TestCompact, 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `_phragmen` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_compact_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 646 + use crate::Saturating; [INFO] [stdout] | [INFO] [stdout] 646 + use std::num::Saturating; [INFO] [stdout] | [INFO] [stdout] 646 + use sp_arithmetic::traits::Saturating; [INFO] [stdout] | [INFO] [stdout] 646 + use sp_std::num::Saturating; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `One` [INFO] [stdout] --> src/mock.rs:23:67 [INFO] [stdout] | [INFO] [stdout] 23 | use sp_arithmetic::{PerThing, traits::{SaturatedConversion, Zero, One}}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [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 `sp-phragmen` (lib test) due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "72bee59ba94edada0cfa48be3ba55ab7772051acc5af4a3b68e74baa827b4c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72bee59ba94edada0cfa48be3ba55ab7772051acc5af4a3b68e74baa827b4c42", kill_on_drop: false }` [INFO] [stdout] 72bee59ba94edada0cfa48be3ba55ab7772051acc5af4a3b68e74baa827b4c42