[INFO] fetching crate cw4-stake 0.4.0... [INFO] testing cw4-stake-0.4.0 against beta-2021-01-01 for beta-1.50-1 [INFO] extracting crate cw4-stake 0.4.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate cw4-stake 0.4.0 on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config [INFO] started tweaking crates.io crate cw4-stake 0.4.0 [INFO] finished tweaking crates.io crate cw4-stake 0.4.0 [INFO] tweaked toml for crates.io crate cw4-stake 0.4.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate cw4-stake 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cw-controllers v0.4.0 [INFO] [stderr] Downloaded cw4 v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ead2d13f9f89dbb9fafebb8c891b5c43302ca203959493ff98f8c42f99e383a [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" "9ead2d13f9f89dbb9fafebb8c891b5c43302ca203959493ff98f8c42f99e383a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ead2d13f9f89dbb9fafebb8c891b5c43302ca203959493ff98f8c42f99e383a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ead2d13f9f89dbb9fafebb8c891b5c43302ca203959493ff98f8c42f99e383a", kill_on_drop: false }` [INFO] [stdout] 9ead2d13f9f89dbb9fafebb8c891b5c43302ca203959493ff98f8c42f99e383a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ee74bd5ac8b143314a5b23cbc32f7493a9ae3c663f671d4036456ac972d282d [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" "5ee74bd5ac8b143314a5b23cbc32f7493a9ae3c663f671d4036456ac972d282d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling serde-json-wasm v0.2.1 [INFO] [stderr] Compiling cosmwasm-std v0.12.2 [INFO] [stderr] Compiling cw-storage-plus v0.4.0 [INFO] [stderr] Compiling cw0 v0.4.0 [INFO] [stderr] Compiling cw4 v0.4.0 [INFO] [stderr] Compiling cw2 v0.4.0 [INFO] [stderr] Compiling cw-controllers v0.4.0 [INFO] [stderr] Compiling cw4-stake v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/contract.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / TOTAL.update(storage, |total| -> StdResult<_> { [INFO] [stdout] 185 | | Ok(total + new.unwrap_or_default() - old.unwrap_or_default()) [INFO] [stdout] 186 | | })?; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cw-storage-plus-0.4.0/src/item.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn update(&mut self, store: &mut dyn Storage, action: A) -> Result [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | A: FnOnce(T) -> Result, [INFO] [stdout] 67 | | E: From, [INFO] [stdout] ... | [INFO] [stdout] 72 | | Ok(output) [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/state.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub const TOTAL: Item = Item::new(TOTAL_KEY); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.48s [INFO] running `Command { std: "docker" "inspect" "5ee74bd5ac8b143314a5b23cbc32f7493a9ae3c663f671d4036456ac972d282d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ee74bd5ac8b143314a5b23cbc32f7493a9ae3c663f671d4036456ac972d282d", kill_on_drop: false }` [INFO] [stdout] 5ee74bd5ac8b143314a5b23cbc32f7493a9ae3c663f671d4036456ac972d282d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d6004de918c505eb5feda12395c59c2f4645b408793452f7dc51ec87f1bc97ef [INFO] running `Command { std: "docker" "start" "-a" "d6004de918c505eb5feda12395c59c2f4645b408793452f7dc51ec87f1bc97ef", kill_on_drop: false }` [INFO] [stderr] Compiling cosmwasm-schema v0.12.2 [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/contract.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / TOTAL.update(storage, |total| -> StdResult<_> { [INFO] [stdout] 185 | | Ok(total + new.unwrap_or_default() - old.unwrap_or_default()) [INFO] [stdout] 186 | | })?; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cw-storage-plus-0.4.0/src/item.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn update(&mut self, store: &mut dyn Storage, action: A) -> Result [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | A: FnOnce(T) -> Result, [INFO] [stdout] 67 | | E: From, [INFO] [stdout] ... | [INFO] [stdout] 72 | | Ok(output) [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/state.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub const TOTAL: Item = Item::new(TOTAL_KEY); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cw4-stake v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/contract.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / TOTAL.update(storage, |total| -> StdResult<_> { [INFO] [stdout] 185 | | Ok(total + new.unwrap_or_default() - old.unwrap_or_default()) [INFO] [stdout] 186 | | })?; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cw-storage-plus-0.4.0/src/item.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn update(&mut self, store: &mut dyn Storage, action: A) -> Result [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | A: FnOnce(T) -> Result, [INFO] [stdout] 67 | | E: From, [INFO] [stdout] ... | [INFO] [stdout] 72 | | Ok(output) [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/state.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub const TOTAL: Item = Item::new(TOTAL_KEY); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.79s [INFO] running `Command { std: "docker" "inspect" "d6004de918c505eb5feda12395c59c2f4645b408793452f7dc51ec87f1bc97ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6004de918c505eb5feda12395c59c2f4645b408793452f7dc51ec87f1bc97ef", kill_on_drop: false }` [INFO] [stdout] d6004de918c505eb5feda12395c59c2f4645b408793452f7dc51ec87f1bc97ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e72837109c41abbae386c9443ce0aba4e95125d3cf4d879b73f35940aca4fb5 [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" "0e72837109c41abbae386c9443ce0aba4e95125d3cf4d879b73f35940aca4fb5", kill_on_drop: false }` [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/contract.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 184 | / TOTAL.update(storage, |total| -> StdResult<_> { [INFO] [stderr] 185 | | Ok(total + new.unwrap_or_default() - old.unwrap_or_default()) [INFO] [stderr] 186 | | })?; [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: mutable reference created due to call to this method [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cw-storage-plus-0.4.0/src/item.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | / pub fn update(&mut self, store: &mut dyn Storage, action: A) -> Result [INFO] [stderr] 65 | | where [INFO] [stderr] 66 | | A: FnOnce(T) -> Result, [INFO] [stderr] 67 | | E: From, [INFO] [stderr] ... | [INFO] [stderr] 72 | | Ok(output) [INFO] [stderr] 73 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/state.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | pub const TOTAL: Item = Item::new(TOTAL_KEY); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/contract.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 184 | / TOTAL.update(storage, |total| -> StdResult<_> { [INFO] [stderr] 185 | | Ok(total + new.unwrap_or_default() - old.unwrap_or_default()) [INFO] [stderr] 186 | | })?; [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: mutable reference created due to call to this method [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cw-storage-plus-0.4.0/src/item.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | / pub fn update(&mut self, store: &mut dyn Storage, action: A) -> Result [INFO] [stderr] 65 | | where [INFO] [stderr] 66 | | A: FnOnce(T) -> Result, [INFO] [stderr] 67 | | E: From, [INFO] [stderr] ... | [INFO] [stderr] 72 | | Ok(output) [INFO] [stderr] 73 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/state.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | pub const TOTAL: Item = Item::new(TOTAL_KEY); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cw4_stake-11681c278ff59fad [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test contract::tests::add_remove_hooks ... ok [INFO] [stdout] test contract::tests::only_bond_valid_coins ... ok [INFO] [stdout] test contract::tests::bond_stake_adds_membership ... ok [INFO] [stdout] test contract::tests::ensure_bonding_edge_cases ... ok [INFO] [stdout] test contract::tests::unbond_stake_update_membership ... ok [INFO] [stdout] test contract::tests::raw_queries_work ... ok [INFO] [stdout] test contract::tests::unbond_claim_workflow ... ok [INFO] [stdout] test contract::tests::proper_initialization ... ok [INFO] [stdout] test contract::tests::hooks_fire ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests cw4-stake [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0e72837109c41abbae386c9443ce0aba4e95125d3cf4d879b73f35940aca4fb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e72837109c41abbae386c9443ce0aba4e95125d3cf4d879b73f35940aca4fb5", kill_on_drop: false }` [INFO] [stdout] 0e72837109c41abbae386c9443ce0aba4e95125d3cf4d879b73f35940aca4fb5