[INFO] cloning repository https://github.com/wanyvic/staking-anchor-gov [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wanyvic/staking-anchor-gov" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwanyvic%2Fstaking-anchor-gov", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwanyvic%2Fstaking-anchor-gov'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f673686cf3650cf45a9e38115ded4bec28ece4e [INFO] checking wanyvic/staking-anchor-gov against master#2a023bf80a6fbd6a06d5460a34eb247b986286ed for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwanyvic%2Fstaking-anchor-gov" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/wanyvic/staking-anchor-gov [INFO] finished tweaking git repo https://github.com/wanyvic/staking-anchor-gov [INFO] tweaked toml for git repo https://github.com/wanyvic/staking-anchor-gov written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wanyvic/staking-anchor-gov on toolchain 2a023bf80a6fbd6a06d5460a34eb247b986286ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wanyvic/staking-anchor-gov 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" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cosmwasm-schema v0.16.2 [INFO] [stderr] Downloaded anchor-token v0.2.0 [INFO] [stderr] Downloaded schemars_derive v0.8.6 [INFO] [stderr] Downloaded schemars v0.8.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c202ecc53db4ec2fe9f6dc7fcd92149c3e2496727a9254f53418876362a3a5d [INFO] running `Command { std: "docker" "start" "-a" "6c202ecc53db4ec2fe9f6dc7fcd92149c3e2496727a9254f53418876362a3a5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c202ecc53db4ec2fe9f6dc7fcd92149c3e2496727a9254f53418876362a3a5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c202ecc53db4ec2fe9f6dc7fcd92149c3e2496727a9254f53418876362a3a5d", kill_on_drop: false }` [INFO] [stdout] 6c202ecc53db4ec2fe9f6dc7fcd92149c3e2496727a9254f53418876362a3a5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09b44e46b8f6b851cca59c563c17e83b2a9a989b9d16d21382d3374d7a6bee75 [INFO] running `Command { std: "docker" "start" "-a" "09b44e46b8f6b851cca59c563c17e83b2a9a989b9d16d21382d3374d7a6bee75", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking const-oid v0.6.2 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.70 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling schemars v0.8.6 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking der v0.4.4 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Checking bigint v4.4.3 [INFO] [stderr] Checking spki v0.4.1 [INFO] [stderr] Checking pkcs8 v0.7.6 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking crypto-bigint v0.2.11 [INFO] [stderr] Checking signature v1.3.2 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking elliptic-curve v0.10.6 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Checking k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling cosmwasm-derive v0.16.2 [INFO] [stderr] Compiling schemars_derive v0.8.6 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking ed25519-zebra v2.2.0 [INFO] [stderr] Checking serde-json-wasm v0.3.1 [INFO] [stderr] Checking cosmwasm-crypto v0.16.2 [INFO] [stderr] Checking cosmwasm-std v0.16.2 [INFO] [stderr] Checking cosmwasm-schema v0.16.2 [INFO] [stderr] Checking cw0 v0.8.1 [INFO] [stderr] Checking terra-cosmwasm v2.2.0 [INFO] [stderr] Checking cosmwasm-storage v0.16.2 [INFO] [stderr] Checking cosmwasm-bignumber v2.2.0 [INFO] [stderr] Checking cw20 v0.8.1 [INFO] [stderr] Checking anchor-token v0.2.0 [INFO] [stderr] Checking staking-anchor-gov v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn config_store(storage: &mut dyn Storage) -> 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] 30 | pub fn config_store(storage: &mut dyn Storage) -> Singleton<'_, Config> { [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:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn config_read(storage: &dyn Storage) -> 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] 34 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton<'_, Config> { [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:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn feerate_store(storage: &mut dyn Storage) -> 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] 37 | pub fn feerate_store(storage: &mut dyn Storage) -> Singleton<'_, Decimal> { [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:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn feerate_read(storage: &dyn Storage) -> 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] 41 | pub fn feerate_read(storage: &dyn Storage) -> ReadonlySingleton<'_, Decimal> { [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:45:36 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn total_shares_store(storage: &mut dyn Storage) -> 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] 45 | pub fn total_shares_store(storage: &mut dyn Storage) -> Singleton<'_, Uint128> { [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:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn total_shares_read(storage: &dyn Storage) -> 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] 49 | pub fn total_shares_read(storage: &dyn Storage) -> ReadonlySingleton<'_, Uint128> { [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:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn user_states_read(storage: &dyn Storage) -> ReadonlyBucket { [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] 53 | pub fn user_states_read(storage: &dyn Storage) -> ReadonlyBucket<'_, Uint128> { [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:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn user_states_store(storage: &mut dyn Storage) -> Bucket { [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] 57 | pub fn user_states_store(storage: &mut dyn Storage) -> Bucket<'_, Uint128> { [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:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn temp_send_store(storage: &mut dyn Storage) -> 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] 61 | pub fn temp_send_store(storage: &mut dyn Storage) -> Singleton<'_, TempSendData> { [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:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn temp_send_read(storage: &dyn Storage) -> 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] 65 | pub fn temp_send_read(storage: &dyn Storage) -> ReadonlySingleton<'_, TempSendData> { [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:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn config_store(storage: &mut dyn Storage) -> 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] 30 | pub fn config_store(storage: &mut dyn Storage) -> Singleton<'_, Config> { [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:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn config_read(storage: &dyn Storage) -> 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] 34 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton<'_, Config> { [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:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn feerate_store(storage: &mut dyn Storage) -> 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] 37 | pub fn feerate_store(storage: &mut dyn Storage) -> Singleton<'_, Decimal> { [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:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn feerate_read(storage: &dyn Storage) -> 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] 41 | pub fn feerate_read(storage: &dyn Storage) -> ReadonlySingleton<'_, Decimal> { [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:45:36 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn total_shares_store(storage: &mut dyn Storage) -> 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] 45 | pub fn total_shares_store(storage: &mut dyn Storage) -> Singleton<'_, Uint128> { [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:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn total_shares_read(storage: &dyn Storage) -> 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] 49 | pub fn total_shares_read(storage: &dyn Storage) -> ReadonlySingleton<'_, Uint128> { [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:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn user_states_read(storage: &dyn Storage) -> ReadonlyBucket { [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] 53 | pub fn user_states_read(storage: &dyn Storage) -> ReadonlyBucket<'_, Uint128> { [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:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn user_states_store(storage: &mut dyn Storage) -> Bucket { [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] 57 | pub fn user_states_store(storage: &mut dyn Storage) -> Bucket<'_, Uint128> { [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:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn temp_send_store(storage: &mut dyn Storage) -> 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] 61 | pub fn temp_send_store(storage: &mut dyn Storage) -> Singleton<'_, TempSendData> { [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:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn temp_send_read(storage: &dyn Storage) -> 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] 65 | pub fn temp_send_read(storage: &dyn Storage) -> ReadonlySingleton<'_, TempSendData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.89s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "09b44e46b8f6b851cca59c563c17e83b2a9a989b9d16d21382d3374d7a6bee75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09b44e46b8f6b851cca59c563c17e83b2a9a989b9d16d21382d3374d7a6bee75", kill_on_drop: false }` [INFO] [stdout] 09b44e46b8f6b851cca59c563c17e83b2a9a989b9d16d21382d3374d7a6bee75