[INFO] cloning repository https://github.com/BlockscapeNetwork/hackatom_v [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BlockscapeNetwork/hackatom_v" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlockscapeNetwork%2Fhackatom_v", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlockscapeNetwork%2Fhackatom_v'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d5f5439fc2975f9619899a0f680627a1078edec [INFO] checking BlockscapeNetwork/hackatom_v/4d5f5439fc2975f9619899a0f680627a1078edec against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlockscapeNetwork%2Fhackatom_v" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BlockscapeNetwork/hackatom_v on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BlockscapeNetwork/hackatom_v [INFO] finished tweaking git repo https://github.com/BlockscapeNetwork/hackatom_v [INFO] tweaked toml for git repo https://github.com/BlockscapeNetwork/hackatom_v written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BlockscapeNetwork/hackatom_v 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-0-tc1/source/contracts/marketplace/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cosmwasm-schema v0.11.2 [INFO] [stderr] Downloaded snafu v0.6.9 [INFO] [stderr] Downloaded serde-json-wasm v0.2.1 [INFO] [stderr] Downloaded cosmwasm-std v0.11.2 [INFO] [stderr] Downloaded cw-storage-plus v0.3.2 [INFO] [stderr] Downloaded snafu-derive v0.6.9 [INFO] [stderr] Downloaded cw20 v0.3.2 [INFO] [stderr] Downloaded cw2 v0.3.2 [INFO] [stderr] Downloaded cw721 v0.3.2 [INFO] [stderr] Downloaded cw0 v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65f6da7e86f4834c52e9d7fb038594b8700aadda57167f79bf6ec1ed16e1590b [INFO] running `Command { std: "docker" "start" "-a" "65f6da7e86f4834c52e9d7fb038594b8700aadda57167f79bf6ec1ed16e1590b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65f6da7e86f4834c52e9d7fb038594b8700aadda57167f79bf6ec1ed16e1590b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65f6da7e86f4834c52e9d7fb038594b8700aadda57167f79bf6ec1ed16e1590b", kill_on_drop: false }` [INFO] [stdout] 65f6da7e86f4834c52e9d7fb038594b8700aadda57167f79bf6ec1ed16e1590b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15642c3268f3586d3e8a9468d5dcd958800d6f566c8660ad273ba41f316cc1db [INFO] running `Command { std: "docker" "start" "-a" "15642c3268f3586d3e8a9468d5dcd958800d6f566c8660ad273ba41f316cc1db", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/marketplace/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.9 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking snafu v0.6.9 [INFO] [stderr] Checking serde-json-wasm v0.2.1 [INFO] [stderr] Checking cosmwasm-std v0.11.2 [INFO] [stderr] Checking cosmwasm-schema v0.11.2 [INFO] [stderr] Checking cw0 v0.3.2 (/opt/rustwide/workdir/packages/cw0) [INFO] [stderr] Checking cw0 v0.3.2 [INFO] [stderr] Checking cw-storage-plus v0.3.2 [INFO] [stderr] Checking cw-storage-plus v0.3.2 (/opt/rustwide/workdir/packages/storage-plus) [INFO] [stderr] Checking cw1 v0.3.2 (/opt/rustwide/workdir/packages/cw1) [INFO] [stderr] Checking cw4 v0.3.2 (/opt/rustwide/workdir/packages/cw4) [INFO] [stdout] warning: trait `EmptyPrefix` is never used [INFO] [stdout] --> packages/storage-plus/src/keys.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | pub trait EmptyPrefix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cw20 v0.3.2 [INFO] [stderr] Checking cw721 v0.3.2 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cw2 v0.3.2 (/opt/rustwide/workdir/packages/cw2) [INFO] [stderr] Checking cw721 v0.3.2 (/opt/rustwide/workdir/packages/cw721) [INFO] [stderr] Checking cw20 v0.3.2 (/opt/rustwide/workdir/packages/cw20) [INFO] [stderr] Checking cw3 v0.3.2 (/opt/rustwide/workdir/packages/cw3) [INFO] [stderr] Checking cw2 v0.3.2 [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> packages/storage-plus/src/map.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 325 | ALLOWANCE.update(&mut store, (b"owner", b"spender"), |v| { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] 326 | Ok(v.unwrap_or_default() + 222) [INFO] [stdout] | ^^ cannot infer type of the type parameter `E` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: From` [INFO] [stdout] note: required by a bound in `map::Map::<'a, K, T>::update` [INFO] [stdout] --> packages/storage-plus/src/map.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn update(&self, store: &mut S, k: K, action: A) -> Result [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 71 | E: From, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Map::<'a, K, T>::update` [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 326 | Ok::(v.unwrap_or_default() + 222) [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> packages/storage-plus/src/map.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | Ok(v.unwrap_or_default() + 222) [INFO] [stdout] | ^^ cannot infer type of the type parameter `E` declared on the enum `Result` [INFO] [stdout] 327 | })?; [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `cosmwasm_std::StdError: From<_>` found in the following crates: `core`, `cosmwasm_std`: [INFO] [stdout] - impl From for cosmwasm_std::StdError; [INFO] [stdout] - impl From for cosmwasm_std::StdError; [INFO] [stdout] - impl From for T; [INFO] [stdout] = note: required for `Result<(), cosmwasm_std::StdError>` to implement `FromResidual>` [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 326 | Ok::(v.unwrap_or_default() + 222) [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> packages/storage-plus/src/map.rs:360:38 [INFO] [stdout] | [INFO] [stdout] 360 | allow.update(&mut store, |x| Ok(x.unwrap_or_default() * 2))?; [INFO] [stdout] | ------ ^^ cannot infer type of the type parameter `E` declared on the enum `Result` [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: From` [INFO] [stdout] note: required by a bound in `path::Path::::update` [INFO] [stdout] --> packages/storage-plus/src/path.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn update(&self, store: &mut S, action: A) -> Result [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 75 | E: From, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Path::::update` [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 360 | allow.update(&mut store, |x| Ok::(x.unwrap_or_default() * 2))?; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> packages/storage-plus/src/map.rs:360:38 [INFO] [stdout] | [INFO] [stdout] 360 | allow.update(&mut store, |x| Ok(x.unwrap_or_default() * 2))?; [INFO] [stdout] | ^^ - type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `E` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `cosmwasm_std::StdError: From<_>` found in the following crates: `core`, `cosmwasm_std`: [INFO] [stdout] - impl From for cosmwasm_std::StdError; [INFO] [stdout] - impl From for cosmwasm_std::StdError; [INFO] [stdout] - impl From for T; [INFO] [stdout] = note: required for `Result<(), cosmwasm_std::StdError>` to implement `FromResidual>` [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 360 | allow.update(&mut store, |x| Ok::(x.unwrap_or_default() * 2))?; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> packages/storage-plus/src/item.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | let output = CONFIG.update(&mut store, |mut c| -> StdResult<_> { [INFO] [stdout] | ______________________^ [INFO] [stdout] 159 | | c.max_tokens *= 2; [INFO] [stdout] 160 | | Ok(c) [INFO] [stdout] 161 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [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] --> packages/storage-plus/src/item.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn update(&mut self, store: &mut S, action: A) -> Result [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | A: FnOnce(T) -> Result, [INFO] [stdout] 67 | | E: From, [INFO] [stdout] 68 | | S: Storage, [INFO] [stdout] | |___________________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> packages/storage-plus/src/item.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | const CONFIG: Item = Item::new(b"config"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> packages/storage-plus/src/item.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / CONFIG [INFO] [stdout] 181 | | .update(&mut store, |mut c| -> StdResult<_> { [INFO] [stdout] 182 | | old_max_tokens = c.max_tokens; [INFO] [stdout] 183 | | c.max_tokens *= 2; [INFO] [stdout] 184 | | Ok(c) [INFO] [stdout] 185 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [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] --> packages/storage-plus/src/item.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn update(&mut self, store: &mut S, action: A) -> Result [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | A: FnOnce(T) -> Result, [INFO] [stdout] 67 | | E: From, [INFO] [stdout] 68 | | S: Storage, [INFO] [stdout] | |___________________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> packages/storage-plus/src/item.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | const CONFIG: Item = Item::new(b"config"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> packages/storage-plus/src/item.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | let output = CONFIG.update(&mut store, &|_c| Err(StdError::underflow(4, 7))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] --> packages/storage-plus/src/item.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn update(&mut self, store: &mut S, action: A) -> Result [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | A: FnOnce(T) -> Result, [INFO] [stdout] 67 | | E: From, [INFO] [stdout] 68 | | S: Storage, [INFO] [stdout] | |___________________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> packages/storage-plus/src/item.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | const CONFIG: Item = Item::new(b"config"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> packages/storage-plus/src/item.rs:230:19 [INFO] [stdout] | [INFO] [stdout] 230 | let res = CONFIG.update(&mut store, |mut c| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 231 | | if c.max_tokens > 5000 { [INFO] [stdout] 232 | | return Err(MyError::Foo); [INFO] [stdout] 233 | | } [INFO] [stdout] ... | [INFO] [stdout] 241 | | Ok(c) [INFO] [stdout] 242 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [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] --> packages/storage-plus/src/item.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn update(&mut self, store: &mut S, action: A) -> Result [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | A: FnOnce(T) -> Result, [INFO] [stdout] 67 | | E: From, [INFO] [stdout] 68 | | S: Storage, [INFO] [stdout] | |___________________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> packages/storage-plus/src/item.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | const CONFIG: Item = Item::new(b"config"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> packages/storage-plus/src/item.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | let output = CONFIG.update(&mut store, |mut c| -> StdResult<_> { [INFO] [stdout] | ______________________^ [INFO] [stdout] 269 | | c.max_tokens *= 2; [INFO] [stdout] 270 | | Ok(c) [INFO] [stdout] 271 | | })?; [INFO] [stdout] | |__________^ [INFO] [stdout] | [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] --> packages/storage-plus/src/item.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn update(&mut self, store: &mut S, action: A) -> Result [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | A: FnOnce(T) -> Result, [INFO] [stdout] 67 | | E: From, [INFO] [stdout] 68 | | S: Storage, [INFO] [stdout] | |___________________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> packages/storage-plus/src/item.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | const CONFIG: Item = Item::new(b"config"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> packages/storage-plus/src/item.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | let failed = CONFIG.update(&mut store, |_| -> StdResult<_> { [INFO] [stdout] | ______________________^ [INFO] [stdout] 276 | | Err(StdError::generic_err("failure mode")) [INFO] [stdout] 277 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [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] --> packages/storage-plus/src/item.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn update(&mut self, store: &mut S, action: A) -> Result [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | A: FnOnce(T) -> Result, [INFO] [stdout] 67 | | E: From, [INFO] [stdout] 68 | | S: Storage, [INFO] [stdout] | |___________________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> packages/storage-plus/src/item.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | const CONFIG: Item = Item::new(b"config"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cw-storage-plus` (lib test) due to 5 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "15642c3268f3586d3e8a9468d5dcd958800d6f566c8660ad273ba41f316cc1db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15642c3268f3586d3e8a9468d5dcd958800d6f566c8660ad273ba41f316cc1db", kill_on_drop: false }` [INFO] [stdout] 15642c3268f3586d3e8a9468d5dcd958800d6f566c8660ad273ba41f316cc1db