[INFO] fetching crate sp-phragmen 2.0.0-rc2... [INFO] testing sp-phragmen-2.0.0-rc2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate sp-phragmen 2.0.0-rc2 into /workspace/builds/worker-7-tc2/source [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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sp-phragmen 2.0.0-rc2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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 parity-scale-codec v1.3.7 (available: v3.7.5) [INFO] [stderr] Adding sp-arithmetic v2.0.1 (available: v28.0.0) [INFO] [stderr] Adding sp-std v2.0.1 (available: v14.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18ffd8356aae1d4d716d2042f01f893a7ed8f0b326b8626b7989ded37e756c0e [INFO] running `Command { std: "docker" "start" "-a" "18ffd8356aae1d4d716d2042f01f893a7ed8f0b326b8626b7989ded37e756c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18ffd8356aae1d4d716d2042f01f893a7ed8f0b326b8626b7989ded37e756c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18ffd8356aae1d4d716d2042f01f893a7ed8f0b326b8626b7989ded37e756c0e", kill_on_drop: false }` [INFO] [stdout] 18ffd8356aae1d4d716d2042f01f893a7ed8f0b326b8626b7989ded37e756c0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33d17c9e124cf80cf517b7ec614063fc406656037679918d91321f1db3554379 [INFO] running `Command { std: "docker" "start" "-a" "33d17c9e124cf80cf517b7ec614063fc406656037679918d91321f1db3554379", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling sp-std v2.0.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling sp-debug-derive v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [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] Compiling parity-scale-codec v1.3.7 [INFO] [stderr] Compiling sp-arithmetic v2.0.1 [INFO] [stderr] Compiling sp-phragmen v2.0.0-rc2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:163:51 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:163:59 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:231:51 [INFO] [stdout] | [INFO] [stdout] 231 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:231:59 [INFO] [stdout] | [INFO] [stdout] 231 | #[cfg_attr(feature = "std", derive(PartialEq, Eq, Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench`, `default`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (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] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sp-phragmen` (lib) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "33d17c9e124cf80cf517b7ec614063fc406656037679918d91321f1db3554379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33d17c9e124cf80cf517b7ec614063fc406656037679918d91321f1db3554379", kill_on_drop: false }` [INFO] [stdout] 33d17c9e124cf80cf517b7ec614063fc406656037679918d91321f1db3554379