[INFO] cloning repository https://github.com/pulchra-elite/Mint-Project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pulchra-elite/Mint-Project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpulchra-elite%2FMint-Project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpulchra-elite%2FMint-Project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e08a97ca2d50807947e53e3d68c9cee60a3edcd3 [INFO] building pulchra-elite/Mint-Project against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpulchra-elite%2FMint-Project" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create leading directories of '/workspace/builds/worker-0-tc2/source': No space left on device [INFO] building pulchra-elite/Mint-Project against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpulchra-elite%2FMint-Project" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create leading directories of '/workspace/builds/worker-0-tc2/source': No space left on device [INFO] building pulchra-elite/Mint-Project against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpulchra-elite%2FMint-Project" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create leading directories of '/workspace/builds/worker-0-tc2/source': No space left on device [INFO] building pulchra-elite/Mint-Project against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpulchra-elite%2FMint-Project" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create leading directories of '/workspace/builds/worker-0-tc2/source': No space left on device [INFO] building pulchra-elite/Mint-Project against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpulchra-elite%2FMint-Project" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pulchra-elite/Mint-Project on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/pulchra-elite/Mint-Project [INFO] finished tweaking git repo https://github.com/pulchra-elite/Mint-Project [INFO] tweaked toml for git repo https://github.com/pulchra-elite/Mint-Project written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pulchra-elite/Mint-Project 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aad776abc989d802706a8aff4eb1f9764bc1c818b86d75fdd16c6e3f7481a7c3 [INFO] running `Command { std: "docker" "start" "-a" "aad776abc989d802706a8aff4eb1f9764bc1c818b86d75fdd16c6e3f7481a7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aad776abc989d802706a8aff4eb1f9764bc1c818b86d75fdd16c6e3f7481a7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aad776abc989d802706a8aff4eb1f9764bc1c818b86d75fdd16c6e3f7481a7c3", kill_on_drop: false }` [INFO] [stdout] aad776abc989d802706a8aff4eb1f9764bc1c818b86d75fdd16c6e3f7481a7c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17759a567eaa3e7cba823be00e69ac1235d834974b3a0813f0667f57e859ae5c [INFO] running `Command { std: "docker" "start" "-a" "17759a567eaa3e7cba823be00e69ac1235d834974b3a0813f0667f57e859ae5c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling serde-json-wasm v0.2.3 [INFO] [stderr] Compiling bincode2 v2.0.1 [INFO] [stderr] Compiling secret-cosmwasm-std v0.10.1 [INFO] [stderr] Compiling cosmwasm-schema v0.10.1 [INFO] [stderr] Compiling secret-cosmwasm-storage v0.10.0 [INFO] [stderr] Compiling secret-toolkit-serialization v0.3.0 (https://github.com/enigmampc/secret-toolkit#405ba071) [INFO] [stderr] Compiling secret-toolkit-utils v0.3.0 (https://github.com/enigmampc/secret-toolkit#405ba071) [INFO] [stderr] Compiling secret-toolkit-storage v0.3.0 (https://github.com/enigmampc/secret-toolkit#405ba071) [INFO] [stderr] Compiling secret-toolkit-snip20 v0.3.0 (https://github.com/enigmampc/secret-toolkit#405ba071) [INFO] [stderr] Compiling secret-toolkit-snip721 v0.3.0 (https://github.com/enigmampc/secret-toolkit#405ba071) [INFO] [stderr] Compiling secret-toolkit v0.3.0 (https://github.com/enigmampc/secret-toolkit#405ba071) [INFO] [stderr] Compiling secret_mint_contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Trait` [INFO] [stdout] --> src/contract.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use secret_toolkit::snip721::{Metadata, Extension,Trait}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetadataMsg` [INFO] [stdout] --> src/contract.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::msg::{ HandleMsg, InitMsg, QueryMsg,Wallet, MetadataMsg}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_metadata` [INFO] [stdout] --> src/contract.rs:13:124 [INFO] [stdout] | [INFO] [stdout] 13 | ...ead_members, store_user_info,read_user_info, save_metadata, read_metadata, save_rand, read_rand, read_url_info, store_url_info}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetadataMsg` [INFO] [stdout] --> src/state.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::msg::{Wallet, MetadataMsg}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | let mut messages = vec![register_receive_msg( [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenId` should have a snake case name [INFO] [stdout] --> src/msg.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub tokenId:Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `token_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn config(storage: &mut S) -> Singleton { [INFO] [stdout] | ^^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn config(storage: &mut S) -> Singleton<'_, S, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn config_read(storage: &S) -> ReadonlySingleton { [INFO] [stdout] | ^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn config_read(storage: &S) -> ReadonlySingleton<'_, S, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn save_rand(storage: &mut S) -> Singleton { [INFO] [stdout] | ^^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn save_rand(storage: &mut S) -> Singleton<'_, S, u16> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn read_rand(storage: &S) -> ReadonlySingleton { [INFO] [stdout] | ^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn read_rand(storage: &S) -> ReadonlySingleton<'_, S, u16> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn save_metadata(storage: &mut S) -> Singleton> { [INFO] [stdout] | ^^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn save_metadata(storage: &mut S) -> Singleton<'_, S, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn read_metadata(storage: &S) -> ReadonlySingleton> { [INFO] [stdout] | ^^ --------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn read_metadata(storage: &S) -> ReadonlySingleton<'_, S, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn store_members(storage: &mut S) -> Singleton> { [INFO] [stdout] | ^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn store_members(storage: &mut S) -> Singleton<'_, S, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn read_members(storage: &S) -> ReadonlySingleton> { [INFO] [stdout] | ^^ ------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn read_members(storage: &S) -> ReadonlySingleton<'_, S, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.10s [INFO] running `Command { std: "docker" "inspect" "17759a567eaa3e7cba823be00e69ac1235d834974b3a0813f0667f57e859ae5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17759a567eaa3e7cba823be00e69ac1235d834974b3a0813f0667f57e859ae5c", kill_on_drop: false }` [INFO] [stdout] 17759a567eaa3e7cba823be00e69ac1235d834974b3a0813f0667f57e859ae5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 242e14fe3a04b8979058dfb6d2ce0ac5d7dc6a13100a7ac4c2a37d125d9c90a8 [INFO] running `Command { std: "docker" "start" "-a" "242e14fe3a04b8979058dfb6d2ce0ac5d7dc6a13100a7ac4c2a37d125d9c90a8", kill_on_drop: false }` [INFO] [stderr] Compiling secret_mint_contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Trait` [INFO] [stdout] --> src/contract.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use secret_toolkit::snip721::{Metadata, Extension,Trait}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetadataMsg` [INFO] [stdout] --> src/contract.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::msg::{ HandleMsg, InitMsg, QueryMsg,Wallet, MetadataMsg}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_metadata` [INFO] [stdout] --> src/contract.rs:13:124 [INFO] [stdout] | [INFO] [stdout] 13 | ...ead_members, store_user_info,read_user_info, save_metadata, read_metadata, save_rand, read_rand, read_url_info, store_url_info}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetadataMsg` [INFO] [stdout] --> src/state.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::msg::{Wallet, MetadataMsg}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | let mut messages = vec![register_receive_msg( [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenId` should have a snake case name [INFO] [stdout] --> src/msg.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub tokenId:Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `token_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn config(storage: &mut S) -> Singleton { [INFO] [stdout] | ^^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn config(storage: &mut S) -> Singleton<'_, S, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn config_read(storage: &S) -> ReadonlySingleton { [INFO] [stdout] | ^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn config_read(storage: &S) -> ReadonlySingleton<'_, S, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn save_rand(storage: &mut S) -> Singleton { [INFO] [stdout] | ^^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn save_rand(storage: &mut S) -> Singleton<'_, S, u16> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn read_rand(storage: &S) -> ReadonlySingleton { [INFO] [stdout] | ^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn read_rand(storage: &S) -> ReadonlySingleton<'_, S, u16> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn save_metadata(storage: &mut S) -> Singleton> { [INFO] [stdout] | ^^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn save_metadata(storage: &mut S) -> Singleton<'_, S, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn read_metadata(storage: &S) -> ReadonlySingleton> { [INFO] [stdout] | ^^ --------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn read_metadata(storage: &S) -> ReadonlySingleton<'_, S, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn store_members(storage: &mut S) -> Singleton> { [INFO] [stdout] | ^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn store_members(storage: &mut S) -> Singleton<'_, S, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn read_members(storage: &S) -> ReadonlySingleton> { [INFO] [stdout] | ^^ ------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn read_members(storage: &S) -> ReadonlySingleton<'_, S, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_metadata` [INFO] [stdout] --> src/contract.rs:13:124 [INFO] [stdout] | [INFO] [stdout] 13 | ...ead_members, store_user_info,read_user_info, save_metadata, read_metadata, save_rand, read_rand, read_url_info, store_url_info}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetadataMsg` [INFO] [stdout] --> src/state.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::msg::{Wallet, MetadataMsg}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | let mut messages = vec![register_receive_msg( [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenId` should have a snake case name [INFO] [stdout] --> src/msg.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub tokenId:Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `token_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn config(storage: &mut S) -> Singleton { [INFO] [stdout] | ^^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn config(storage: &mut S) -> Singleton<'_, S, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn config_read(storage: &S) -> ReadonlySingleton { [INFO] [stdout] | ^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn config_read(storage: &S) -> ReadonlySingleton<'_, S, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn save_rand(storage: &mut S) -> Singleton { [INFO] [stdout] | ^^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn save_rand(storage: &mut S) -> Singleton<'_, S, u16> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn read_rand(storage: &S) -> ReadonlySingleton { [INFO] [stdout] | ^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn read_rand(storage: &S) -> ReadonlySingleton<'_, S, u16> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn save_metadata(storage: &mut S) -> Singleton> { [INFO] [stdout] | ^^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn save_metadata(storage: &mut S) -> Singleton<'_, S, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn read_metadata(storage: &S) -> ReadonlySingleton> { [INFO] [stdout] | ^^ --------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn read_metadata(storage: &S) -> ReadonlySingleton<'_, S, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn store_members(storage: &mut S) -> Singleton> { [INFO] [stdout] | ^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn store_members(storage: &mut S) -> Singleton<'_, S, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn read_members(storage: &S) -> ReadonlySingleton> { [INFO] [stdout] | ^^ ------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn read_members(storage: &S) -> ReadonlySingleton<'_, S, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.38s [INFO] running `Command { std: "docker" "inspect" "242e14fe3a04b8979058dfb6d2ce0ac5d7dc6a13100a7ac4c2a37d125d9c90a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "242e14fe3a04b8979058dfb6d2ce0ac5d7dc6a13100a7ac4c2a37d125d9c90a8", kill_on_drop: false }` [INFO] [stdout] 242e14fe3a04b8979058dfb6d2ce0ac5d7dc6a13100a7ac4c2a37d125d9c90a8