[INFO] cloning repository https://github.com/hemanthbommineni/madala-bootcamp-challenge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hemanthbommineni/madala-bootcamp-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhemanthbommineni%2Fmadala-bootcamp-challenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhemanthbommineni%2Fmadala-bootcamp-challenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fc8ca51de37ff84417414b8b56fe73cdc180ae7 [INFO] testing hemanthbommineni/madala-bootcamp-challenge against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhemanthbommineni%2Fmadala-bootcamp-challenge" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hemanthbommineni/madala-bootcamp-challenge on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hemanthbommineni/madala-bootcamp-challenge [INFO] finished tweaking git repo https://github.com/hemanthbommineni/madala-bootcamp-challenge [INFO] tweaked toml for git repo https://github.com/hemanthbommineni/madala-bootcamp-challenge written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hemanthbommineni/madala-bootcamp-challenge already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e69a48c032e14cd2d4016ab9eb850e4011297848875e2a928bf51cbb2b7b9ea5 [INFO] running `Command { std: "docker" "start" "-a" "e69a48c032e14cd2d4016ab9eb850e4011297848875e2a928bf51cbb2b7b9ea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e69a48c032e14cd2d4016ab9eb850e4011297848875e2a928bf51cbb2b7b9ea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e69a48c032e14cd2d4016ab9eb850e4011297848875e2a928bf51cbb2b7b9ea5", kill_on_drop: false }` [INFO] [stdout] e69a48c032e14cd2d4016ab9eb850e4011297848875e2a928bf51cbb2b7b9ea5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85b38fdc6168305ac896ce797c09f121d1adc7ab9e888aa3c9f750a12845388b [INFO] running `Command { std: "docker" "start" "-a" "85b38fdc6168305ac896ce797c09f121d1adc7ab9e888aa3c9f750a12845388b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling code-challenge-1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::system::SystemConfig` [INFO] [stdout] --> src/governance.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::system::SystemConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `creator` [INFO] [stdout] --> src/governance.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | creator: T::AccountId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_creator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description` [INFO] [stdout] --> src/governance.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `voter` [INFO] [stdout] --> src/governance.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | voter: T::AccountId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_id` [INFO] [stdout] --> src/governance.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | proposal_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vote_type` [INFO] [stdout] --> src/governance.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | vote_type: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vote_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_id` [INFO] [stdout] --> src/governance.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_proposal(&self, proposal_id: u32) -> Option<&Proposal> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_id` [INFO] [stdout] --> src/governance.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn finalize_proposal(&mut self, proposal_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/staking.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn set_balance(&mut self, who: T::AccountId, amount: T::Balance) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/staking.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn set_balance(&mut self, who: T::AccountId, amount: T::Balance) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/staking.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn stake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/staking.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn stake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/staking.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn unstake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/staking.rs:33:50 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn unstake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/staking.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_free_balance(&self, who: T::AccountId) -> T::Balance { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/staking.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_staked_balance(&self, who: T::AccountId) -> T::Balance { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `yes_votes`, `no_votes`, and `status` are never read [INFO] [stdout] --> src/governance.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Proposal { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | yes_votes: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | no_votes: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | status: ProposalStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_proposal_id` is never read [INFO] [stdout] --> src/governance.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct GovernancePallet { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | next_proposal_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.71s [INFO] running `Command { std: "docker" "inspect" "85b38fdc6168305ac896ce797c09f121d1adc7ab9e888aa3c9f750a12845388b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85b38fdc6168305ac896ce797c09f121d1adc7ab9e888aa3c9f750a12845388b", kill_on_drop: false }` [INFO] [stdout] 85b38fdc6168305ac896ce797c09f121d1adc7ab9e888aa3c9f750a12845388b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28b26149bbad2e2b46b0a8b0c95749e9e16e2753f85acdb7ea76409f9fefd26d [INFO] running `Command { std: "docker" "start" "-a" "28b26149bbad2e2b46b0a8b0c95749e9e16e2753f85acdb7ea76409f9fefd26d", kill_on_drop: false }` [INFO] [stderr] Compiling code-challenge-1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::system::SystemConfig` [INFO] [stdout] --> src/governance.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::system::SystemConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `creator` [INFO] [stdout] --> src/governance.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | creator: T::AccountId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_creator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description` [INFO] [stdout] --> src/governance.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `voter` [INFO] [stdout] --> src/governance.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | voter: T::AccountId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_id` [INFO] [stdout] --> src/governance.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | proposal_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vote_type` [INFO] [stdout] --> src/governance.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | vote_type: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vote_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_id` [INFO] [stdout] --> src/governance.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_proposal(&self, proposal_id: u32) -> Option<&Proposal> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_id` [INFO] [stdout] --> src/governance.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn finalize_proposal(&mut self, proposal_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/staking.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn set_balance(&mut self, who: T::AccountId, amount: T::Balance) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/staking.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn set_balance(&mut self, who: T::AccountId, amount: T::Balance) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/staking.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn stake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/staking.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn stake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/staking.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn unstake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/staking.rs:33:50 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn unstake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/staking.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_free_balance(&self, who: T::AccountId) -> T::Balance { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/staking.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_staked_balance(&self, who: T::AccountId) -> T::Balance { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `yes_votes`, `no_votes`, and `status` are never read [INFO] [stdout] --> src/governance.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Proposal { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | yes_votes: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | no_votes: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | status: ProposalStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_proposal_id` is never read [INFO] [stdout] --> src/governance.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct GovernancePallet { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | next_proposal_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::system::SystemConfig` [INFO] [stdout] --> src/governance.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::system::SystemConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `creator` [INFO] [stdout] --> src/governance.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | creator: T::AccountId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_creator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description` [INFO] [stdout] --> src/governance.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `voter` [INFO] [stdout] --> src/governance.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | voter: T::AccountId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_id` [INFO] [stdout] --> src/governance.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | proposal_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vote_type` [INFO] [stdout] --> src/governance.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | vote_type: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vote_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_id` [INFO] [stdout] --> src/governance.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_proposal(&self, proposal_id: u32) -> Option<&Proposal> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_id` [INFO] [stdout] --> src/governance.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn finalize_proposal(&mut self, proposal_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/staking.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn set_balance(&mut self, who: T::AccountId, amount: T::Balance) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/staking.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn set_balance(&mut self, who: T::AccountId, amount: T::Balance) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/staking.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn stake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/staking.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn stake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/staking.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn unstake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/staking.rs:33:50 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn unstake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/staking.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_free_balance(&self, who: T::AccountId) -> T::Balance { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/staking.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_staked_balance(&self, who: T::AccountId) -> T::Balance { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/governance.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Proposal { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_proposal_id` is never read [INFO] [stdout] --> src/governance.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct GovernancePallet { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | next_proposal_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "28b26149bbad2e2b46b0a8b0c95749e9e16e2753f85acdb7ea76409f9fefd26d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28b26149bbad2e2b46b0a8b0c95749e9e16e2753f85acdb7ea76409f9fefd26d", kill_on_drop: false }` [INFO] [stdout] 28b26149bbad2e2b46b0a8b0c95749e9e16e2753f85acdb7ea76409f9fefd26d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 69c09e7547d8bef548e49609dc93dba87b8c1512604f4630cf8dfa5f7d32819f [INFO] running `Command { std: "docker" "start" "-a" "69c09e7547d8bef548e49609dc93dba87b8c1512604f4630cf8dfa5f7d32819f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::system::SystemConfig` [INFO] [stderr] --> src/governance.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::system::SystemConfig; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `creator` [INFO] [stderr] --> src/governance.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | creator: T::AccountId, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_creator` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `description` [INFO] [stderr] --> src/governance.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | description: String, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `voter` [INFO] [stderr] --> src/governance.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | voter: T::AccountId, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_voter` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `proposal_id` [INFO] [stderr] --> src/governance.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | proposal_id: u32, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vote_type` [INFO] [stderr] --> src/governance.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | vote_type: bool, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vote_type` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `proposal_id` [INFO] [stderr] --> src/governance.rs:52:32 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn get_proposal(&self, proposal_id: u32) -> Option<&Proposal> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `proposal_id` [INFO] [stderr] --> src/governance.rs:57:41 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn finalize_proposal(&mut self, proposal_id: u32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `who` [INFO] [stderr] --> src/staking.rs:23:35 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn set_balance(&mut self, who: T::AccountId, amount: T::Balance) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount` [INFO] [stderr] --> src/staking.rs:23:54 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn set_balance(&mut self, who: T::AccountId, amount: T::Balance) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `who` [INFO] [stderr] --> src/staking.rs:28:29 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn stake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount` [INFO] [stderr] --> src/staking.rs:28:48 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn stake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `who` [INFO] [stderr] --> src/staking.rs:33:31 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn unstake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount` [INFO] [stderr] --> src/staking.rs:33:50 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn unstake(&mut self, who: T::AccountId, amount: T::Balance) -> Result<(), &'static str> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `who` [INFO] [stderr] --> src/staking.rs:38:36 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn get_free_balance(&self, who: T::AccountId) -> T::Balance { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `who` [INFO] [stderr] --> src/staking.rs:43:38 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn get_staked_balance(&self, who: T::AccountId) -> T::Balance { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stderr] [INFO] [stderr] warning: fields `description`, `yes_votes`, `no_votes`, and `status` are never read [INFO] [stderr] --> src/governance.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Proposal { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 8 | description: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 9 | yes_votes: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 10 | no_votes: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 11 | status: ProposalStatus, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `next_proposal_id` is never read [INFO] [stderr] --> src/governance.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct GovernancePallet { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 24 | next_proposal_id: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `description` is never read [INFO] [stderr] --> src/governance.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Proposal { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 8 | description: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `code-challenge-1` (lib) generated 18 warnings (run `cargo fix --lib -p code-challenge-1` to apply 1 suggestion) [INFO] [stderr] warning: `code-challenge-1` (lib test) generated 18 warnings (17 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/code_challenge_1-ffb510c173ae2433) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test governance::tests::test_governance_should_work ... FAILED [INFO] [stdout] test staking::tests::test_staking_errors ... FAILED [INFO] [stdout] test staking::tests::test_staking_should_work ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- governance::tests::test_governance_should_work stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'governance::tests::test_governance_should_work' panicked at src/governance.rs:29:9: [INFO] [stdout] not yet implemented [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x62a28dc012c2 - std::backtrace_rs::backtrace::libunwind::trace::h2a54ddf40adf8cf8 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x62a28dc012c2 - std::backtrace_rs::backtrace::trace_unsynchronized::h332dec2b3594a10b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x62a28dc012c2 - std::sys::backtrace::_print_fmt::hcb3dee91dccac105 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x62a28dc012c2 - ::fmt::h2f02338d4ae6d8b0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x62a28dc25043 - core::fmt::rt::Argument::fmt::h8705d664b1839d6c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x62a28dc25043 - core::fmt::write::h5e77c22335cabc7f [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/mod.rs:1446:25 [INFO] [stdout] 6: 0x62a28dbfe1b3 - std::io::default_write_fmt::h5c16109ce8878b06 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x62a28dbfe1b3 - std::io::Write::write_fmt::h183cd11c08a12e04 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x62a28dc01112 - std::sys::backtrace::BacktraceLock::print::hb22254026b13323e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x62a28dc0284c - std::panicking::default_hook::{{closure}}::h15ac4e3ee7801be5 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x62a28dc026a2 - std::panicking::default_hook::h15db2a3343942a16 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x62a28dbcac24 - as core::ops::function::Fn>::call::ha02114eecd5b8f69 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x62a28dbcac24 - test::test_main_with_exit_callback::{{closure}}::hfb76c9b760818eb2 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x62a28dc03343 - as core::ops::function::Fn>::call::h325134fa51136753 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x62a28dc03343 - std::panicking::rust_panic_with_hook::h67f3fa85499b6cf9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x62a28dc02fc6 - std::panicking::begin_panic_handler::{{closure}}::h40a30e994b26720e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x62a28dc017c9 - std::sys::backtrace::__rust_end_short_backtrace::hb5bcb2f6ea295c8b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x62a28dc02c8d - __rustc[bf3627c2b8b7eae9]::rust_begin_unwind [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x62a28dc23b80 - core::panicking::panic_fmt::h20722ae9d0312a90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x62a28dc23c0c - core::panicking::panic::h06c338e7a7a2afdf [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x62a28db8fc6a - code_challenge_1::governance::GovernancePallet::new::h854842d7effccf16 [INFO] [stdout] at /opt/rustwide/workdir/src/governance.rs:29:9 [INFO] [stdout] 21: 0x62a28db8ffb8 - code_challenge_1::governance::tests::test_governance_should_work::hfb9e73383b63d41b [INFO] [stdout] at /opt/rustwide/workdir/src/governance.rs:73:30 [INFO] [stdout] 22: 0x62a28db8ff67 - code_challenge_1::governance::tests::test_governance_should_work::{{closure}}::hb4884bbc2d34bea8 [INFO] [stdout] at /opt/rustwide/workdir/src/governance.rs:68:37 [INFO] [stdout] 23: 0x62a28db8ec56 - core::ops::function::FnOnce::call_once::hf81a954acf60e31a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x62a28dbd03db - core::ops::function::FnOnce::call_once::h57f6f31c364c320b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x62a28dbd03db - test::__rust_begin_short_backtrace::h517520f4c2bfc013 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x62a28dbcf632 - test::run_test_in_process::{{closure}}::h0914ac5f2719bf90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:60 [INFO] [stdout] 27: 0x62a28dbcf632 - as core::ops::function::FnOnce<()>>::call_once::h6fe627a8560ee122 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x62a28dbcf632 - std::panicking::try::do_call::h8e4a522b2d07b5d9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x62a28dbcf632 - std::panicking::try::h254b443d279d1f8a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x62a28dbcf632 - std::panic::catch_unwind::he39107e495b94aed [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x62a28dbcf632 - test::run_test_in_process::hb9053e7102e6de40 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x62a28dbcf632 - test::run_test::{{closure}}::hed53f683e9967fc9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x62a28db92a24 - test::run_test::{{closure}}::h1b1395a97621c24c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x62a28db92a24 - std::sys::backtrace::__rust_begin_short_backtrace::hd15d7342920b94e4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x62a28db9644a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf7d3403d2a997ad4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x62a28db9644a - as core::ops::function::FnOnce<()>>::call_once::h804cb151403aed57 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x62a28db9644a - std::panicking::try::do_call::h83a3328114f83651 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x62a28db9644a - std::panicking::try::h5371451a86d476d0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x62a28db9644a - std::panic::catch_unwind::h2d1b89e7535ca74a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x62a28db9644a - std::thread::Builder::spawn_unchecked_::{{closure}}::h169c242c7f876b92 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x62a28db9644a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4115e0f997976371 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x62a28dc04beb - as core::ops::function::FnOnce>::call_once::hbc3fa83432d7fd73 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x62a28dc04beb - as core::ops::function::FnOnce>::call_once::heba5519d10f2c030 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x62a28dc04beb - std::sys::pal::unix::thread::Thread::new::thread_start::h211a36f354245501 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x7cab1165eaa4 - [INFO] [stdout] 46: 0x7cab116eba34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- staking::tests::test_staking_errors stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'staking::tests::test_staking_errors' panicked at src/staking.rs:19:9: [INFO] [stdout] not yet implemented [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x62a28dc012c2 - std::backtrace_rs::backtrace::libunwind::trace::h2a54ddf40adf8cf8 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x62a28dc012c2 - std::backtrace_rs::backtrace::trace_unsynchronized::h332dec2b3594a10b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x62a28dc012c2 - std::sys::backtrace::_print_fmt::hcb3dee91dccac105 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x62a28dc012c2 - ::fmt::h2f02338d4ae6d8b0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x62a28dc25043 - core::fmt::rt::Argument::fmt::h8705d664b1839d6c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x62a28dc25043 - core::fmt::write::h5e77c22335cabc7f [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/mod.rs:1446:25 [INFO] [stdout] 6: 0x62a28dbfe1b3 - std::io::default_write_fmt::h5c16109ce8878b06 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x62a28dbfe1b3 - std::io::Write::write_fmt::h183cd11c08a12e04 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x62a28dc01112 - std::sys::backtrace::BacktraceLock::print::hb22254026b13323e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x62a28dc0284c - std::panicking::default_hook::{{closure}}::h15ac4e3ee7801be5 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x62a28dc026a2 - std::panicking::default_hook::h15db2a3343942a16 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x62a28dbcac24 - as core::ops::function::Fn>::call::ha02114eecd5b8f69 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x62a28dbcac24 - test::test_main_with_exit_callback::{{closure}}::hfb76c9b760818eb2 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x62a28dc03343 - as core::ops::function::Fn>::call::h325134fa51136753 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x62a28dc03343 - std::panicking::rust_panic_with_hook::h67f3fa85499b6cf9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x62a28dc02fc6 - std::panicking::begin_panic_handler::{{closure}}::h40a30e994b26720e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x62a28dc017c9 - std::sys::backtrace::__rust_end_short_backtrace::hb5bcb2f6ea295c8b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x62a28dc02c8d - __rustc[bf3627c2b8b7eae9]::rust_begin_unwind [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x62a28dc23b80 - core::panicking::panic_fmt::h20722ae9d0312a90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x62a28dc23c0c - core::panicking::panic::h06c338e7a7a2afdf [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x62a28db8fdba - code_challenge_1::staking::StakingPallet::new::hff55ea6663aedd9d [INFO] [stdout] at /opt/rustwide/workdir/src/staking.rs:19:9 [INFO] [stdout] 21: 0x62a28db90d12 - code_challenge_1::staking::tests::test_staking_errors::h814da143bd8aed3c [INFO] [stdout] at /opt/rustwide/workdir/src/staking.rs:85:27 [INFO] [stdout] 22: 0x62a28db90cd7 - code_challenge_1::staking::tests::test_staking_errors::{{closure}}::h67f7cb3b4e566dfb [INFO] [stdout] at /opt/rustwide/workdir/src/staking.rs:83:29 [INFO] [stdout] 23: 0x62a28db8eb96 - core::ops::function::FnOnce::call_once::h37bf255a97043fc6 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x62a28dbd03db - core::ops::function::FnOnce::call_once::h57f6f31c364c320b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x62a28dbd03db - test::__rust_begin_short_backtrace::h517520f4c2bfc013 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x62a28dbcf632 - test::run_test_in_process::{{closure}}::h0914ac5f2719bf90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:60 [INFO] [stdout] 27: 0x62a28dbcf632 - as core::ops::function::FnOnce<()>>::call_once::h6fe627a8560ee122 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x62a28dbcf632 - std::panicking::try::do_call::h8e4a522b2d07b5d9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x62a28dbcf632 - std::panicking::try::h254b443d279d1f8a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x62a28dbcf632 - std::panic::catch_unwind::he39107e495b94aed [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x62a28dbcf632 - test::run_test_in_process::hb9053e7102e6de40 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x62a28dbcf632 - test::run_test::{{closure}}::hed53f683e9967fc9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x62a28db92a24 - test::run_test::{{closure}}::h1b1395a97621c24c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x62a28db92a24 - std::sys::backtrace::__rust_begin_short_backtrace::hd15d7342920b94e4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x62a28db9644a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf7d3403d2a997ad4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x62a28db9644a - as core::ops::function::FnOnce<()>>::call_once::h804cb151403aed57 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x62a28db9644a - std::panicking::try::do_call::h83a3328114f83651 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x62a28db9644a - std::panicking::try::h5371451a86d476d0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x62a28db9644a - std::panic::catch_unwind::h2d1b89e7535ca74a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x62a28db9644a - std::thread::Builder::spawn_unchecked_::{{closure}}::h169c242c7f876b92 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x62a28db9644a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4115e0f997976371 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x62a28dc04beb - as core::ops::function::FnOnce>::call_once::hbc3fa83432d7fd73 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x62a28dc04beb - as core::ops::function::FnOnce>::call_once::heba5519d10f2c030 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x62a28dc04beb - std::sys::pal::unix::thread::Thread::new::thread_start::h211a36f354245501 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x7cab1165eaa4 - [INFO] [stdout] 46: 0x7cab116eba34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- staking::tests::test_staking_should_work stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'staking::tests::test_staking_should_work' panicked at src/staking.rs:19:9: [INFO] [stdout] not yet implemented [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x62a28dc012c2 - std::backtrace_rs::backtrace::libunwind::trace::h2a54ddf40adf8cf8 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x62a28dc012c2 - std::backtrace_rs::backtrace::trace_unsynchronized::h332dec2b3594a10b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x62a28dc012c2 - std::sys::backtrace::_print_fmt::hcb3dee91dccac105 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x62a28dc012c2 - ::fmt::h2f02338d4ae6d8b0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x62a28dc25043 - core::fmt::rt::Argument::fmt::h8705d664b1839d6c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x62a28dc25043 - core::fmt::write::h5e77c22335cabc7f [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/mod.rs:1446:25 [INFO] [stdout] 6: 0x62a28dbfe1b3 - std::io::default_write_fmt::h5c16109ce8878b06 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x62a28dbfe1b3 - std::io::Write::write_fmt::h183cd11c08a12e04 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x62a28dc01112 - std::sys::backtrace::BacktraceLock::print::hb22254026b13323e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x62a28dc0284c - std::panicking::default_hook::{{closure}}::h15ac4e3ee7801be5 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x62a28dc026a2 - std::panicking::default_hook::h15db2a3343942a16 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x62a28dbcac24 - as core::ops::function::Fn>::call::ha02114eecd5b8f69 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x62a28dbcac24 - test::test_main_with_exit_callback::{{closure}}::hfb76c9b760818eb2 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x62a28dc03343 - as core::ops::function::Fn>::call::h325134fa51136753 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x62a28dc03343 - std::panicking::rust_panic_with_hook::h67f3fa85499b6cf9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x62a28dc02fc6 - std::panicking::begin_panic_handler::{{closure}}::h40a30e994b26720e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x62a28dc017c9 - std::sys::backtrace::__rust_end_short_backtrace::hb5bcb2f6ea295c8b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x62a28dc02c8d - __rustc[bf3627c2b8b7eae9]::rust_begin_unwind [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x62a28dc23b80 - core::panicking::panic_fmt::h20722ae9d0312a90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x62a28dc23c0c - core::panicking::panic::h06c338e7a7a2afdf [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x62a28db8fdba - code_challenge_1::staking::StakingPallet::new::hff55ea6663aedd9d [INFO] [stdout] at /opt/rustwide/workdir/src/staking.rs:19:9 [INFO] [stdout] 21: 0x62a28db907c2 - code_challenge_1::staking::tests::test_staking_should_work::h1fe7e5463b4e6edb [INFO] [stdout] at /opt/rustwide/workdir/src/staking.rs:56:27 [INFO] [stdout] 22: 0x62a28db90787 - code_challenge_1::staking::tests::test_staking_should_work::{{closure}}::he271e40ede38507b [INFO] [stdout] at /opt/rustwide/workdir/src/staking.rs:54:34 [INFO] [stdout] 23: 0x62a28db8ebd6 - core::ops::function::FnOnce::call_once::h795bb9bc64d07f8c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x62a28dbd03db - core::ops::function::FnOnce::call_once::h57f6f31c364c320b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x62a28dbd03db - test::__rust_begin_short_backtrace::h517520f4c2bfc013 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x62a28dbcf632 - test::run_test_in_process::{{closure}}::h0914ac5f2719bf90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:60 [INFO] [stdout] 27: 0x62a28dbcf632 - as core::ops::function::FnOnce<()>>::call_once::h6fe627a8560ee122 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x62a28dbcf632 - std::panicking::try::do_call::h8e4a522b2d07b5d9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x62a28dbcf632 - std::panicking::try::h254b443d279d1f8a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x62a28dbcf632 - std::panic::catch_unwind::he39107e495b94aed [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x62a28dbcf632 - test::run_test_in_process::hb9053e7102e6de40 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x62a28dbcf632 - test::run_test::{{closure}}::hed53f683e9967fc9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x62a28db92a24 - test::run_test::{{closure}}::h1b1395a97621c24c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x62a28db92a24 - std::sys::backtrace::__rust_begin_short_backtrace::hd15d7342920b94e4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x62a28db9644a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf7d3403d2a997ad4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x62a28db9644a - as core::ops::function::FnOnce<()>>::call_once::h804cb151403aed57 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x62a28db9644a - std::panicking::try::do_call::h83a3328114f83651 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x62a28db9644a - std::panicking::try::h5371451a86d476d0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x62a28db9644a - std::panic::catch_unwind::h2d1b89e7535ca74a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x62a28db9644a - std::thread::Builder::spawn_unchecked_::{{closure}}::h169c242c7f876b92 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x62a28db9644a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4115e0f997976371 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x62a28dc04beb - as core::ops::function::FnOnce>::call_once::hbc3fa83432d7fd73 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x62a28dc04beb - as core::ops::function::FnOnce>::call_once::heba5519d10f2c030 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x62a28dc04beb - std::sys::pal::unix::thread::Thread::new::thread_start::h211a36f354245501 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x7cab1165eaa4 - [INFO] [stdout] 46: 0x7cab116eba34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] governance::tests::test_governance_should_work [INFO] [stdout] staking::tests::test_staking_errors [INFO] [stdout] staking::tests::test_staking_should_work [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "69c09e7547d8bef548e49609dc93dba87b8c1512604f4630cf8dfa5f7d32819f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69c09e7547d8bef548e49609dc93dba87b8c1512604f4630cf8dfa5f7d32819f", kill_on_drop: false }` [INFO] [stdout] 69c09e7547d8bef548e49609dc93dba87b8c1512604f4630cf8dfa5f7d32819f