[INFO] cloning repository https://github.com/amschel99/cosmo-wasm- [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amschel99/cosmo-wasm-" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famschel99%2Fcosmo-wasm-", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famschel99%2Fcosmo-wasm-'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3f78cf2715d7b53447e81d05327851f266d7ce5 [INFO] checking amschel99/cosmo-wasm- against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famschel99%2Fcosmo-wasm-" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/amschel99/cosmo-wasm- [INFO] finished tweaking git repo https://github.com/amschel99/cosmo-wasm- [INFO] tweaked toml for git repo https://github.com/amschel99/cosmo-wasm- written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/amschel99/cosmo-wasm- on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/amschel99/cosmo-wasm- 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] ba358fdb69546205bdf98ec23a8ec49479e0ef466db0605aa2a5199bac796bc7 [INFO] running `Command { std: "docker" "start" "ba358fdb69546205bdf98ec23a8ec49479e0ef466db0605aa2a5199bac796bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba358fdb69546205bdf98ec23a8ec49479e0ef466db0605aa2a5199bac796bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ba358fdb69546205bdf98ec23a8ec49479e0ef466db0605aa2a5199bac796bc7" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba358fdb69546205bdf98ec23a8ec49479e0ef466db0605aa2a5199bac796bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ba358fdb69546205bdf98ec23a8ec49479e0ef466db0605aa2a5199bac796bc7" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking dyn-clone v1.0.18 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking cosmwasm-core v2.2.1 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Checking bnum v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling cosmwasm-derive v2.2.1 [INFO] [stderr] Compiling cosmwasm-schema-derive v2.2.1 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking prost v0.13.5 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking serde-json-wasm v1.0.1 [INFO] [stderr] Checking cosmwasm-schema v2.2.1 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-bls12-381 v0.4.0 [INFO] [stderr] Checking cosmwasm-crypto v2.2.1 [INFO] [stderr] Checking cosmwasm-std v2.2.1 [INFO] [stderr] Checking cw-utils v2.0.0 [INFO] [stderr] Checking cw-storage-plus v2.0.0 [INFO] [stderr] Checking cw20 v2.0.0 [INFO] [stderr] Checking cw2 v2.0.0 [INFO] [stderr] Checking cw-multi-test v2.3.1 [INFO] [stderr] Checking my_cw20_token v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | if sender_balance < amount.into() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 61 - if sender_balance < amount.into() { [INFO] [stdout] 61 + if sender_balance < amount { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 61 - if sender_balance < amount.into() { [INFO] [stdout] 61 + if sender_balance < >::into(amount) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:67:64 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(balance.unwrap_or_default().checked_sub(amount.into())?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 67 - Ok(balance.unwrap_or_default().checked_sub(amount.into())?) [INFO] [stdout] 67 + Ok(balance.unwrap_or_default().checked_sub(amount)?) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 67 - Ok(balance.unwrap_or_default().checked_sub(amount.into())?) [INFO] [stdout] 67 + Ok(balance.unwrap_or_default().checked_sub(>::into(amount))?) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:71:60 [INFO] [stdout] | [INFO] [stdout] 71 | Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 71 - Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] 71 + Ok(balance.unwrap_or_default().checked_add(amount)?) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 71 - Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] 71 + Ok(balance.unwrap_or_default().checked_add(>::into(amount))?) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:86:60 [INFO] [stdout] | [INFO] [stdout] 86 | Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 86 - Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] 86 + Ok(balance.unwrap_or_default().checked_add(amount)?) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 86 - Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] 86 + Ok(balance.unwrap_or_default().checked_add(>::into(amount))?) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | if total_supply < amount.into(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 100 - if total_supply < amount.into(){ [INFO] [stdout] 100 + if total_supply < amount{ [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 100 - if total_supply < amount.into(){ [INFO] [stdout] 100 + if total_supply < >::into(amount){ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | if owner_balance < amount.into() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 115 - if owner_balance < amount.into() { [INFO] [stdout] 115 + if owner_balance < amount { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 115 - if owner_balance < amount.into() { [INFO] [stdout] 115 + if owner_balance < >::into(amount) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | if allowances.allowance < amount.into() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 126 - if allowances.allowance < amount.into() { [INFO] [stdout] 126 + if allowances.allowance < amount { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 126 - if allowances.allowance < amount.into() { [INFO] [stdout] 126 + if allowances.allowance < >::into(amount) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:134:64 [INFO] [stdout] | [INFO] [stdout] 134 | Ok(balance.unwrap_or_default().checked_sub(amount.into())?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 134 - Ok(balance.unwrap_or_default().checked_sub(amount.into())?) [INFO] [stdout] 134 + Ok(balance.unwrap_or_default().checked_sub(amount)?) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 134 - Ok(balance.unwrap_or_default().checked_sub(amount.into())?) [INFO] [stdout] 134 + Ok(balance.unwrap_or_default().checked_sub(>::into(amount))?) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:138:60 [INFO] [stdout] | [INFO] [stdout] 138 | Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 138 - Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] 138 + Ok(balance.unwrap_or_default().checked_add(amount)?) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 138 - Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] 138 + Ok(balance.unwrap_or_default().checked_add(>::into(amount))?) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my_cw20_token` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | if sender_balance < amount.into() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 61 - if sender_balance < amount.into() { [INFO] [stdout] 61 + if sender_balance < amount { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 61 - if sender_balance < amount.into() { [INFO] [stdout] 61 + if sender_balance < >::into(amount) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:67:64 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(balance.unwrap_or_default().checked_sub(amount.into())?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 67 - Ok(balance.unwrap_or_default().checked_sub(amount.into())?) [INFO] [stdout] 67 + Ok(balance.unwrap_or_default().checked_sub(amount)?) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 67 - Ok(balance.unwrap_or_default().checked_sub(amount.into())?) [INFO] [stdout] 67 + Ok(balance.unwrap_or_default().checked_sub(>::into(amount))?) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:71:60 [INFO] [stdout] | [INFO] [stdout] 71 | Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 71 - Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] 71 + Ok(balance.unwrap_or_default().checked_add(amount)?) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 71 - Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] 71 + Ok(balance.unwrap_or_default().checked_add(>::into(amount))?) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:86:60 [INFO] [stdout] | [INFO] [stdout] 86 | Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 86 - Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] 86 + Ok(balance.unwrap_or_default().checked_add(amount)?) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 86 - Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] 86 + Ok(balance.unwrap_or_default().checked_add(>::into(amount))?) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | if total_supply < amount.into(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 100 - if total_supply < amount.into(){ [INFO] [stdout] 100 + if total_supply < amount{ [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 100 - if total_supply < amount.into(){ [INFO] [stdout] 100 + if total_supply < >::into(amount){ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | if owner_balance < amount.into() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 115 - if owner_balance < amount.into() { [INFO] [stdout] 115 + if owner_balance < amount { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 115 - if owner_balance < amount.into() { [INFO] [stdout] 115 + if owner_balance < >::into(amount) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | if allowances.allowance < amount.into() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 126 - if allowances.allowance < amount.into() { [INFO] [stdout] 126 + if allowances.allowance < amount { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 126 - if allowances.allowance < amount.into() { [INFO] [stdout] 126 + if allowances.allowance < >::into(amount) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:134:64 [INFO] [stdout] | [INFO] [stdout] 134 | Ok(balance.unwrap_or_default().checked_sub(amount.into())?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 134 - Ok(balance.unwrap_or_default().checked_sub(amount.into())?) [INFO] [stdout] 134 + Ok(balance.unwrap_or_default().checked_sub(amount)?) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 134 - Ok(balance.unwrap_or_default().checked_sub(amount.into())?) [INFO] [stdout] 134 + Ok(balance.unwrap_or_default().checked_sub(>::into(amount))?) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Uint128` [INFO] [stdout] --> src/contract.rs:138:60 [INFO] [stdout] | [INFO] [stdout] 138 | Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 138 - Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] 138 + Ok(balance.unwrap_or_default().checked_add(amount)?) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 138 - Ok(balance.unwrap_or_default().checked_add(amount.into())?) [INFO] [stdout] 138 + Ok(balance.unwrap_or_default().checked_add(>::into(amount))?) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my_cw20_token` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "ba358fdb69546205bdf98ec23a8ec49479e0ef466db0605aa2a5199bac796bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba358fdb69546205bdf98ec23a8ec49479e0ef466db0605aa2a5199bac796bc7", kill_on_drop: false }` [INFO] [stdout] ba358fdb69546205bdf98ec23a8ec49479e0ef466db0605aa2a5199bac796bc7