[INFO] cloning repository https://github.com/SpaceLootNFT/token-cw721-upgrade [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpaceLootNFT/token-cw721-upgrade" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpaceLootNFT%2Ftoken-cw721-upgrade", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpaceLootNFT%2Ftoken-cw721-upgrade'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31f6e8a82fcf00dd50238a7e2768267addb4993d [INFO] testing SpaceLootNFT/token-cw721-upgrade against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpaceLootNFT%2Ftoken-cw721-upgrade" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SpaceLootNFT/token-cw721-upgrade [INFO] finished tweaking git repo https://github.com/SpaceLootNFT/token-cw721-upgrade [INFO] tweaked toml for git repo https://github.com/SpaceLootNFT/token-cw721-upgrade written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SpaceLootNFT/token-cw721-upgrade on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SpaceLootNFT/token-cw721-upgrade 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-4-tc1/source/packages/loot/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4-tc1/source/contracts/token-cw721/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded snafu-derive v0.6.10 [INFO] [stderr] Downloaded crunchy v0.1.6 [INFO] [stderr] Downloaded cw2 v0.8.1 [INFO] [stderr] Downloaded cw20 v0.8.1 [INFO] [stderr] Downloaded signature v1.3.2 [INFO] [stderr] Downloaded cw-storage-plus v0.8.1 [INFO] [stderr] Downloaded ryu v1.0.6 [INFO] [stderr] Downloaded schemars v0.8.8 [INFO] [stderr] Downloaded serde_json v1.0.72 [INFO] [stderr] Downloaded snafu v0.6.10 [INFO] [stderr] Downloaded bigint v4.4.3 [INFO] [stderr] Downloaded cw721 v0.8.1 [INFO] [stderr] Downloaded cosmwasm-storage v0.16.2 [INFO] [stderr] Downloaded schemars_derive v0.8.8 [INFO] [stderr] Downloaded terraswap v2.4.0 [INFO] [stderr] Downloaded cw0 v0.8.1 [INFO] [stderr] Downloaded cosmwasm-bignumber v2.2.0 [INFO] [stderr] Downloaded cosmwasm-schema v0.16.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1ea93d9bc6eb9eb34b3a97fea892f0b37d67510b62df4a33a9ef5626dc2b606 [INFO] running `Command { std: "docker" "start" "-a" "d1ea93d9bc6eb9eb34b3a97fea892f0b37d67510b62df4a33a9ef5626dc2b606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1ea93d9bc6eb9eb34b3a97fea892f0b37d67510b62df4a33a9ef5626dc2b606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1ea93d9bc6eb9eb34b3a97fea892f0b37d67510b62df4a33a9ef5626dc2b606", kill_on_drop: false }` [INFO] [stdout] d1ea93d9bc6eb9eb34b3a97fea892f0b37d67510b62df4a33a9ef5626dc2b606 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] adb4c7e2e6c5173d1f049f853e13b5ca534e9c849c277f5de65684c2bff76b58 [INFO] running `Command { std: "docker" "start" "-a" "adb4c7e2e6c5173d1f049f853e13b5ca534e9c849c277f5de65684c2bff76b58", 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/packages/loot/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [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/token-cw721/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profile package spec `terraloot` in profile `release` did not match any packages [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling schemars v0.8.8 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling signature v1.3.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling bigint v4.4.3 [INFO] [stderr] Compiling elliptic-curve v0.10.6 [INFO] [stderr] Compiling ecdsa v0.12.4 [INFO] [stderr] Compiling k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling schemars_derive v0.8.8 [INFO] [stderr] Compiling cosmwasm-derive v0.16.2 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling serde-json-wasm v0.3.1 [INFO] [stderr] Compiling cosmwasm-crypto v0.16.2 [INFO] [stderr] Compiling cosmwasm-std v0.16.2 [INFO] [stderr] Compiling cw0 v0.8.1 [INFO] [stderr] Compiling cosmwasm-storage v0.16.2 [INFO] [stderr] Compiling terra-cosmwasm v2.2.0 [INFO] [stderr] Compiling cosmwasm-bignumber v2.2.0 [INFO] [stderr] Compiling cw-storage-plus v0.8.1 [INFO] [stderr] Compiling cw20 v0.8.1 [INFO] [stderr] Compiling cw721 v0.8.1 [INFO] [stderr] Compiling cw2 v0.8.1 [INFO] [stderr] Compiling terraswap v2.4.0 [INFO] [stderr] Compiling loot v0.2.0 (/opt/rustwide/workdir/packages/loot) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Addr` [INFO] [stdout] --> packages/loot/src/token.rs:1:70 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{Binary, StdResult, to_binary, CosmosMsg, WasmMsg, Addr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling token-cw721 v0.3.0 (/opt/rustwide/workdir/contracts/token-cw721) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/token-cw721/src/contract.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/token-cw721/src/contract.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/token-cw721/src/contract.rs:491:16 [INFO] [stdout] | [INFO] [stdout] 491 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/token-cw721/src/contract.rs:743:16 [INFO] [stdout] | [INFO] [stdout] 743 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn contract_info(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] 59 | pub fn contract_info(storage: &mut dyn Storage) -> Singleton<'_, ContractInfoResponse> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn contract_info_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] 63 | pub fn contract_info_read(storage: &dyn Storage) -> ReadonlySingleton<'_, ContractInfoResponse> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn mint(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] 67 | pub fn mint(storage: &mut dyn Storage) -> Singleton<'_, CanonicalAddr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn mint_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] 71 | pub fn mint_read(storage: &dyn Storage) -> ReadonlySingleton<'_, CanonicalAddr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | fn token_count(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] 75 | fn token_count(storage: &mut dyn Storage) -> Singleton<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | fn token_count_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] 79 | fn token_count_read(storage: &dyn Storage) -> ReadonlySingleton<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn tokens(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] 93 | pub fn tokens(storage: &mut dyn Storage) -> Bucket<'_, TokenInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn tokens_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] 97 | pub fn tokens_read(storage: &dyn Storage) -> ReadonlyBucket<'_, TokenInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn tokens_additional(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] 101 | pub fn tokens_additional(storage: &mut dyn Storage) -> Bucket<'_, TokenAdditionalInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn tokens_additional_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] 105 | pub fn tokens_additional_read(storage: &dyn Storage) -> ReadonlyBucket<'_, TokenAdditionalInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn owned_count(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] 123 | pub fn owned_count(storage: &mut dyn Storage) -> Bucket<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:127:34 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn owned_count_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] 127 | pub fn owned_count_read(storage: &dyn Storage) -> ReadonlyBucket<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.67s [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 4` [INFO] running `Command { std: "docker" "inspect" "adb4c7e2e6c5173d1f049f853e13b5ca534e9c849c277f5de65684c2bff76b58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adb4c7e2e6c5173d1f049f853e13b5ca534e9c849c277f5de65684c2bff76b58", kill_on_drop: false }` [INFO] [stdout] adb4c7e2e6c5173d1f049f853e13b5ca534e9c849c277f5de65684c2bff76b58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 71d401c366743c2e84a001cdcb4372846b5377e484802c6b41e53947e8971875 [INFO] running `Command { std: "docker" "start" "-a" "71d401c366743c2e84a001cdcb4372846b5377e484802c6b41e53947e8971875", 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/packages/loot/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [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/token-cw721/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profile package spec `terraloot` in profile `release` did not match any packages [INFO] [stderr] Compiling cosmwasm-schema v0.16.2 [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Addr` [INFO] [stdout] --> packages/loot/src/token.rs:1:70 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{Binary, StdResult, to_binary, CosmosMsg, WasmMsg, Addr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/token-cw721/src/contract.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/token-cw721/src/contract.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/token-cw721/src/contract.rs:491:16 [INFO] [stdout] | [INFO] [stdout] 491 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/token-cw721/src/contract.rs:743:16 [INFO] [stdout] | [INFO] [stdout] 743 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn contract_info(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] 59 | pub fn contract_info(storage: &mut dyn Storage) -> Singleton<'_, ContractInfoResponse> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn contract_info_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] 63 | pub fn contract_info_read(storage: &dyn Storage) -> ReadonlySingleton<'_, ContractInfoResponse> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn mint(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] 67 | pub fn mint(storage: &mut dyn Storage) -> Singleton<'_, CanonicalAddr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn mint_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] 71 | pub fn mint_read(storage: &dyn Storage) -> ReadonlySingleton<'_, CanonicalAddr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | fn token_count(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] 75 | fn token_count(storage: &mut dyn Storage) -> Singleton<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | fn token_count_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] 79 | fn token_count_read(storage: &dyn Storage) -> ReadonlySingleton<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn tokens(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] 93 | pub fn tokens(storage: &mut dyn Storage) -> Bucket<'_, TokenInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn tokens_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] 97 | pub fn tokens_read(storage: &dyn Storage) -> ReadonlyBucket<'_, TokenInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn tokens_additional(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] 101 | pub fn tokens_additional(storage: &mut dyn Storage) -> Bucket<'_, TokenAdditionalInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn tokens_additional_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] 105 | pub fn tokens_additional_read(storage: &dyn Storage) -> ReadonlyBucket<'_, TokenAdditionalInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn owned_count(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] 123 | pub fn owned_count(storage: &mut dyn Storage) -> Bucket<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:127:34 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn owned_count_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] 127 | pub fn owned_count_read(storage: &dyn Storage) -> ReadonlyBucket<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling token-cw721 v0.3.0 (/opt/rustwide/workdir/contracts/token-cw721) [INFO] [stderr] Compiling loot v0.2.0 (/opt/rustwide/workdir/packages/loot) [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/token-cw721/src/contract.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/token-cw721/src/contract.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/token-cw721/src/contract.rs:491:16 [INFO] [stdout] | [INFO] [stdout] 491 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/token-cw721/src/contract.rs:743:16 [INFO] [stdout] | [INFO] [stdout] 743 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Addr` [INFO] [stdout] --> packages/loot/src/token.rs:1:70 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{Binary, StdResult, to_binary, CosmosMsg, WasmMsg, Addr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn contract_info(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] 59 | pub fn contract_info(storage: &mut dyn Storage) -> Singleton<'_, ContractInfoResponse> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn contract_info_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] 63 | pub fn contract_info_read(storage: &dyn Storage) -> ReadonlySingleton<'_, ContractInfoResponse> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn mint(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] 67 | pub fn mint(storage: &mut dyn Storage) -> Singleton<'_, CanonicalAddr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn mint_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] 71 | pub fn mint_read(storage: &dyn Storage) -> ReadonlySingleton<'_, CanonicalAddr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | fn token_count(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] 75 | fn token_count(storage: &mut dyn Storage) -> Singleton<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | fn token_count_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] 79 | fn token_count_read(storage: &dyn Storage) -> ReadonlySingleton<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn tokens(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] 93 | pub fn tokens(storage: &mut dyn Storage) -> Bucket<'_, TokenInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn tokens_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] 97 | pub fn tokens_read(storage: &dyn Storage) -> ReadonlyBucket<'_, TokenInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn tokens_additional(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] 101 | pub fn tokens_additional(storage: &mut dyn Storage) -> Bucket<'_, TokenAdditionalInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn tokens_additional_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] 105 | pub fn tokens_additional_read(storage: &dyn Storage) -> ReadonlyBucket<'_, TokenAdditionalInfo> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn owned_count(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] 123 | pub fn owned_count(storage: &mut dyn Storage) -> Bucket<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> contracts/token-cw721/src/state.rs:127:34 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn owned_count_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] 127 | pub fn owned_count_read(storage: &dyn Storage) -> ReadonlyBucket<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.77s [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 4` [INFO] running `Command { std: "docker" "inspect" "71d401c366743c2e84a001cdcb4372846b5377e484802c6b41e53947e8971875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71d401c366743c2e84a001cdcb4372846b5377e484802c6b41e53947e8971875", kill_on_drop: false }` [INFO] [stdout] 71d401c366743c2e84a001cdcb4372846b5377e484802c6b41e53947e8971875 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 59d1750869f00d058b83ffd49b35d310c6b8a18725660a60e3dc5d12f96d58a1 [INFO] running `Command { std: "docker" "start" "-a" "59d1750869f00d058b83ffd49b35d310c6b8a18725660a60e3dc5d12f96d58a1", 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/packages/loot/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [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/token-cw721/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profile package spec `terraloot` in profile `release` did not match any packages [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Addr` [INFO] [stderr] --> packages/loot/src/token.rs:1:70 [INFO] [stderr] | [INFO] [stderr] 1 | use cosmwasm_std::{Binary, StdResult, to_binary, CosmosMsg, WasmMsg, Addr}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `loot` (lib) generated 2 warnings (run `cargo fix --lib -p loot` to apply 1 suggestion) [INFO] [stderr] warning: `loot` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/token-cw721/src/contract.rs:32:16 [INFO] [stderr] | [INFO] [stderr] 32 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/token-cw721/src/contract.rs:48:16 [INFO] [stderr] | [INFO] [stderr] 48 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/token-cw721/src/contract.rs:491:16 [INFO] [stderr] | [INFO] [stderr] 491 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/token-cw721/src/contract.rs:743:16 [INFO] [stderr] | [INFO] [stderr] 743 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> contracts/token-cw721/src/state.rs:59:31 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn contract_info(storage: &mut dyn Storage) -> Singleton { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 59 | pub fn contract_info(storage: &mut dyn Storage) -> Singleton<'_, ContractInfoResponse> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> contracts/token-cw721/src/state.rs:63:36 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn contract_info_read(storage: &dyn Storage) -> ReadonlySingleton { [INFO] [stderr] | ^^^^^^^^^^^^ --------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 63 | pub fn contract_info_read(storage: &dyn Storage) -> ReadonlySingleton<'_, ContractInfoResponse> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> contracts/token-cw721/src/state.rs:67:22 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn mint(storage: &mut dyn Storage) -> Singleton { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn mint(storage: &mut dyn Storage) -> Singleton<'_, CanonicalAddr> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> contracts/token-cw721/src/state.rs:71:27 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn mint_read(storage: &dyn Storage) -> ReadonlySingleton { [INFO] [stderr] | ^^^^^^^^^^^^ -------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 71 | pub fn mint_read(storage: &dyn Storage) -> ReadonlySingleton<'_, CanonicalAddr> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> contracts/token-cw721/src/state.rs:75:25 [INFO] [stderr] | [INFO] [stderr] 75 | fn token_count(storage: &mut dyn Storage) -> Singleton { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 75 | fn token_count(storage: &mut dyn Storage) -> Singleton<'_, u64> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> contracts/token-cw721/src/state.rs:79:30 [INFO] [stderr] | [INFO] [stderr] 79 | fn token_count_read(storage: &dyn Storage) -> ReadonlySingleton { [INFO] [stderr] | ^^^^^^^^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 79 | fn token_count_read(storage: &dyn Storage) -> ReadonlySingleton<'_, u64> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> contracts/token-cw721/src/state.rs:93:24 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn tokens(storage: &mut dyn Storage) -> Bucket { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 93 | pub fn tokens(storage: &mut dyn Storage) -> Bucket<'_, TokenInfo> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> contracts/token-cw721/src/state.rs:97:29 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn tokens_read(storage: &dyn Storage) -> ReadonlyBucket { [INFO] [stderr] | ^^^^^^^^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 97 | pub fn tokens_read(storage: &dyn Storage) -> ReadonlyBucket<'_, TokenInfo> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> contracts/token-cw721/src/state.rs:101:35 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn tokens_additional(storage: &mut dyn Storage) -> Bucket { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 101 | pub fn tokens_additional(storage: &mut dyn Storage) -> Bucket<'_, TokenAdditionalInfo> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> contracts/token-cw721/src/state.rs:105:40 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn tokens_additional_read(storage: &dyn Storage) -> ReadonlyBucket { [INFO] [stderr] | ^^^^^^^^^^^^ ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 105 | pub fn tokens_additional_read(storage: &dyn Storage) -> ReadonlyBucket<'_, TokenAdditionalInfo> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> contracts/token-cw721/src/state.rs:123:29 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn owned_count(storage: &mut dyn Storage) -> Bucket { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 123 | pub fn owned_count(storage: &mut dyn Storage) -> Bucket<'_, u64> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> contracts/token-cw721/src/state.rs:127:34 [INFO] [stderr] | [INFO] [stderr] 127 | pub fn owned_count_read(storage: &dyn Storage) -> ReadonlyBucket { [INFO] [stderr] | ^^^^^^^^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 127 | pub fn owned_count_read(storage: &dyn Storage) -> ReadonlyBucket<'_, u64> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `token-cw721` (lib) generated 17 warnings (1 duplicate) (run `cargo fix --lib -p token-cw721` to apply 12 suggestions) [INFO] [stderr] warning: `token-cw721` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [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 4` [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/loot-ee1162c43bc33334) [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/token_cw721-ea4fba3ad949878e) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test contract::tests::convert_cw721_metadata ... ok [INFO] [stdout] test contract::tests::approving_revoking ... ok [INFO] [stdout] test contract::tests::proper_initialization ... ok [INFO] [stdout] test contract::tests::transferring_nft ... ok [INFO] [stdout] test contract::tests::minting ... ok [INFO] [stdout] test contract::tests::sending_nft ... ok [INFO] [stdout] test contract::tests::approving_all_revoking_all ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "59d1750869f00d058b83ffd49b35d310c6b8a18725660a60e3dc5d12f96d58a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59d1750869f00d058b83ffd49b35d310c6b8a18725660a60e3dc5d12f96d58a1", kill_on_drop: false }` [INFO] [stdout] 59d1750869f00d058b83ffd49b35d310c6b8a18725660a60e3dc5d12f96d58a1