[INFO] fetching crate cw4-stake 0.4.0... [INFO] checking cw4-stake-0.4.0 against master#6526e5c772f2da07db745c94ca6bb0a591a39ba4 for pr-80920 [INFO] extracting crate cw4-stake 0.4.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate cw4-stake 0.4.0 on toolchain 6526e5c772f2da07db745c94ca6bb0a591a39ba4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-13/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-13/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" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e33ffeb765e98a145c28259d2f3505dc0041c196b0e8bf9a2b698922b617f75 [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" "7e33ffeb765e98a145c28259d2f3505dc0041c196b0e8bf9a2b698922b617f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e33ffeb765e98a145c28259d2f3505dc0041c196b0e8bf9a2b698922b617f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e33ffeb765e98a145c28259d2f3505dc0041c196b0e8bf9a2b698922b617f75", kill_on_drop: false }` [INFO] [stdout] 7e33ffeb765e98a145c28259d2f3505dc0041c196b0e8bf9a2b698922b617f75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5faec47204350a095863861d451ecfe6522a79c4c1c4f8f50ca20301ae09bf5b [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" "5faec47204350a095863861d451ecfe6522a79c4c1c4f8f50ca20301ae09bf5b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking serde-json-wasm v0.2.1 [INFO] [stderr] Checking cosmwasm-std v0.12.2 [INFO] [stderr] Checking cosmwasm-schema v0.12.2 [INFO] [stderr] Checking cw-storage-plus v0.4.0 [INFO] [stderr] Checking cw0 v0.4.0 [INFO] [stderr] Checking cw4 v0.4.0 [INFO] [stderr] Checking cw2 v0.4.0 [INFO] [stderr] Checking cw-controllers v0.4.0 [INFO] [stderr] Checking 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: 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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.34s [INFO] running `Command { std: "docker" "inspect" "5faec47204350a095863861d451ecfe6522a79c4c1c4f8f50ca20301ae09bf5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5faec47204350a095863861d451ecfe6522a79c4c1c4f8f50ca20301ae09bf5b", kill_on_drop: false }` [INFO] [stdout] 5faec47204350a095863861d451ecfe6522a79c4c1c4f8f50ca20301ae09bf5b