[INFO] fetching crate edge-treasury-reward 1.0.0... [INFO] testing edge-treasury-reward-1.0.0 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate edge-treasury-reward 1.0.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate edge-treasury-reward 1.0.0 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate edge-treasury-reward 1.0.0 [INFO] finished tweaking crates.io crate edge-treasury-reward 1.0.0 [INFO] tweaked toml for crates.io crate edge-treasury-reward 1.0.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pallet-treasury v2.0.1 [INFO] [stderr] Downloaded pallet-staking-reward-curve v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff65a4756c7dcbd2e389642ba738aeafac3132281099491e706cfea15bc1a3cf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ff65a4756c7dcbd2e389642ba738aeafac3132281099491e706cfea15bc1a3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff65a4756c7dcbd2e389642ba738aeafac3132281099491e706cfea15bc1a3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff65a4756c7dcbd2e389642ba738aeafac3132281099491e706cfea15bc1a3cf", kill_on_drop: false }` [INFO] [stdout] ff65a4756c7dcbd2e389642ba738aeafac3132281099491e706cfea15bc1a3cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 756f9f46bf6e810b7d043a1659f3c5cedf140d32b1881be92f6edf5b3781a2f7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "756f9f46bf6e810b7d043a1659f3c5cedf140d32b1881be92f6edf5b3781a2f7", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling hash-db v0.15.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling safe-mix v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling trie-root v0.16.0 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling secrecy v0.6.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling tiny-bip39 v0.7.3 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling trie-db v0.22.6 [INFO] [stderr] Compiling substrate-bip39 v0.4.2 [INFO] [stderr] Compiling statrs v0.10.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling wasm-timer v0.2.5 [INFO] [stderr] Compiling tracing-subscriber v0.2.19 [INFO] [stderr] Compiling frame-support-procedural-tools v2.0.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.3 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.1 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.1 [INFO] [stderr] Compiling sp-npos-elections-compact v2.0.1 [INFO] [stderr] Compiling frame-support-procedural v2.0.1 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling parity-scale-codec v1.3.7 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling sp-storage v2.0.1 [INFO] [stderr] Compiling sp-wasm-interface v2.0.1 [INFO] [stderr] Compiling sp-tracing v2.0.1 [INFO] [stderr] Compiling sp-arithmetic v2.0.1 [INFO] [stderr] Compiling primitive-types v0.7.3 [INFO] [stderr] Compiling sp-externalities v0.8.1 [INFO] [stderr] Compiling sp-npos-elections v2.0.1 [INFO] [stderr] Compiling parity-util-mem v0.7.0 [INFO] [stderr] Compiling sp-runtime-interface v2.0.1 [INFO] [stderr] Compiling memory-db v0.24.1 [INFO] [stderr] Compiling sp-core v2.0.1 [INFO] [stderr] Compiling linregress v0.1.7 [INFO] [stderr] Compiling sp-trie v2.0.1 [INFO] [stderr] Compiling sp-inherents v2.0.1 [INFO] [stderr] Compiling frame-metadata v12.0.1 [INFO] [stderr] Compiling sp-state-machine v0.8.1 [INFO] [stderr] Compiling sp-io v2.0.1 [INFO] [stderr] Compiling sp-application-crypto v2.0.1 [INFO] [stderr] Compiling sp-runtime v2.0.1 [INFO] [stderr] Compiling sp-version v2.0.1 [INFO] [stderr] Compiling frame-support v2.0.1 [INFO] [stderr] Compiling sp-staking v2.0.1 [INFO] [stderr] Compiling sp-authorship v2.0.1 [INFO] [stderr] Compiling sp-api v2.0.1 [INFO] [stderr] Compiling sp-timestamp v2.0.1 [INFO] [stderr] Compiling sp-session v2.0.1 [INFO] [stderr] Compiling frame-system v2.0.1 [INFO] [stderr] Compiling frame-benchmarking v2.0.1 [INFO] [stderr] Compiling pallet-authorship v2.0.1 [INFO] [stderr] Compiling pallet-timestamp v2.0.1 [INFO] [stderr] Compiling pallet-balances v2.0.1 [INFO] [stderr] Compiling pallet-session v2.0.1 [INFO] [stderr] Compiling pallet-treasury v2.0.1 [INFO] [stderr] Compiling pallet-staking v2.0.1 [INFO] [stderr] Compiling edge-treasury-reward v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 11s [INFO] running `Command { std: "docker" "inspect" "756f9f46bf6e810b7d043a1659f3c5cedf140d32b1881be92f6edf5b3781a2f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "756f9f46bf6e810b7d043a1659f3c5cedf140d32b1881be92f6edf5b3781a2f7", kill_on_drop: false }` [INFO] [stdout] 756f9f46bf6e810b7d043a1659f3c5cedf140d32b1881be92f6edf5b3781a2f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c372b2679b8e1dbb8b57d0e6a9d4751cf138dc256b97eb983a5006d793b5bfc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8c372b2679b8e1dbb8b57d0e6a9d4751cf138dc256b97eb983a5006d793b5bfc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pallet-staking-reward-curve v2.0.1 [INFO] [stderr] Compiling edge-treasury-reward v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0437]: type `MigrateAccount` is not a member of trait `frame_system::Trait` [INFO] [stdout] --> src/tests.rs:217:2 [INFO] [stdout] | [INFO] [stdout] 217 | type MigrateAccount = (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `frame_system::Trait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame_support::traits::OnUnbalanced` [INFO] [stdout] --> src/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use frame_support::traits::OnUnbalanced; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impl_outer_event` [INFO] [stdout] --> src/tests.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | impl_outer_origin, parameter_types, impl_outer_dispatch, impl_outer_event, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Zero` [INFO] [stdout] --> src/tests.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | use sp_runtime::traits::{Convert, SaturatedConversion, Zero}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StorageValue` [INFO] [stdout] --> src/tests.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | StorageValue, StorageMap, StorageDoubleMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StorageMap` [INFO] [stdout] --> src/tests.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | StorageValue, StorageMap, StorageDoubleMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StorageDoubleMap` [INFO] [stdout] --> src/tests.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | StorageValue, StorageMap, StorageDoubleMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Currency` [INFO] [stdout] --> src/tests.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | traits::{Currency, Get, FindAuthor, OnFinalize}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0437`. [INFO] [stdout] [INFO] [stderr] error: could not compile `edge-treasury-reward` due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8c372b2679b8e1dbb8b57d0e6a9d4751cf138dc256b97eb983a5006d793b5bfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c372b2679b8e1dbb8b57d0e6a9d4751cf138dc256b97eb983a5006d793b5bfc", kill_on_drop: false }` [INFO] [stdout] 8c372b2679b8e1dbb8b57d0e6a9d4751cf138dc256b97eb983a5006d793b5bfc