[INFO] cloning repository https://github.com/nitro-neal/cosmwasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nitro-neal/cosmwasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnitro-neal%2Fcosmwasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnitro-neal%2Fcosmwasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b09d3c746e41eb6f6b73648fa0c96f144486b54 [INFO] testing nitro-neal/cosmwasm against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnitro-neal%2Fcosmwasm" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nitro-neal/cosmwasm on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/nitro-neal/cosmwasm [INFO] finished tweaking git repo https://github.com/nitro-neal/cosmwasm [INFO] tweaked toml for git repo https://github.com/nitro-neal/cosmwasm written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nitro-neal/cosmwasm 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 127950d00826f2c804087d67bd181a58ecc69bf717a2b7ebd4683286013b44be [INFO] running `Command { std: "docker" "start" "-a" "127950d00826f2c804087d67bd181a58ecc69bf717a2b7ebd4683286013b44be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "127950d00826f2c804087d67bd181a58ecc69bf717a2b7ebd4683286013b44be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "127950d00826f2c804087d67bd181a58ecc69bf717a2b7ebd4683286013b44be", kill_on_drop: false }` [INFO] [stdout] 127950d00826f2c804087d67bd181a58ecc69bf717a2b7ebd4683286013b44be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff202a5e76a1546e755fc33b8a71525b1decaf04e9281be3cbf4e737bb8d9a8a [INFO] running `Command { std: "docker" "start" "-a" "ff202a5e76a1546e755fc33b8a71525b1decaf04e9281be3cbf4e737bb8d9a8a", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling const-oid v0.6.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling der v0.4.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling spki v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling pkcs8 v0.7.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ff v0.10.0 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling crypto-bigint v0.2.2 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling elliptic-curve v0.10.5 [INFO] [stderr] Compiling ecdsa v0.12.3 [INFO] [stderr] Compiling k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling cosmwasm-derive v1.0.0-beta5 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling serde-json-wasm v0.3.2 [INFO] [stderr] Compiling cosmwasm-crypto v1.0.0-beta5 [INFO] [stderr] Compiling cosmwasm-std v1.0.0-beta5 [INFO] [stderr] Compiling cw-storage-plus v0.12.1 [INFO] [stderr] Compiling cw-utils v0.12.1 [INFO] [stderr] Compiling cw20 v0.12.1 [INFO] [stderr] Compiling cw2 v0.12.1 [INFO] [stderr] Compiling lottery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Api`, `BankMsg`, `CanonicalAddr`, `Coin`, and `CosmosMsg` [INFO] [stdout] --> src/contract.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | from_binary, to_binary, Addr, Api, BankMsg, Binary, CanonicalAddr, Coin, CosmosMsg, Deps, [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20Contract` and `Cw20ExecuteMsg` [INFO] [stdout] --> src/contract.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use cw20::{Cw20Contract, Cw20ExecuteMsg, Cw20ReceiveMsg}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pot_id` [INFO] [stdout] --> src/contract.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pot_id: Uint128, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pot_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cw20_addr` [INFO] [stdout] --> src/contract.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | cw20_addr: Addr, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cw20_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let mut res = Response::new().add_attribute("collected", amountReceive); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountReceive` should have a snake case name [INFO] [stdout] --> src/contract.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | amountReceive: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_receive` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.99s [INFO] running `Command { std: "docker" "inspect" "ff202a5e76a1546e755fc33b8a71525b1decaf04e9281be3cbf4e737bb8d9a8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff202a5e76a1546e755fc33b8a71525b1decaf04e9281be3cbf4e737bb8d9a8a", kill_on_drop: false }` [INFO] [stdout] ff202a5e76a1546e755fc33b8a71525b1decaf04e9281be3cbf4e737bb8d9a8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49c5fad85b4e05730426626f7d845f59f2c2a1a1f8d7dfc49f734237d867c7ec [INFO] running `Command { std: "docker" "start" "-a" "49c5fad85b4e05730426626f7d845f59f2c2a1a1f8d7dfc49f734237d867c7ec", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-schema v1.0.0-beta5 [INFO] [stderr] Compiling cosmwasm-storage v1.0.0-beta5 [INFO] [stderr] Compiling cw20-base v0.12.1 [INFO] [stdout] warning: unused imports: `Api`, `BankMsg`, `CanonicalAddr`, `Coin`, and `CosmosMsg` [INFO] [stdout] --> src/contract.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | from_binary, to_binary, Addr, Api, BankMsg, Binary, CanonicalAddr, Coin, CosmosMsg, Deps, [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20Contract` and `Cw20ExecuteMsg` [INFO] [stdout] --> src/contract.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use cw20::{Cw20Contract, Cw20ExecuteMsg, Cw20ReceiveMsg}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pot_id` [INFO] [stdout] --> src/contract.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pot_id: Uint128, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pot_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cw20_addr` [INFO] [stdout] --> src/contract.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | cw20_addr: Addr, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cw20_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let mut res = Response::new().add_attribute("collected", amountReceive); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountReceive` should have a snake case name [INFO] [stdout] --> src/contract.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | amountReceive: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_receive` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling cw-multi-test v0.12.1 [INFO] [stderr] Compiling lottery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Api`, `BankMsg`, `CanonicalAddr`, `Coin`, and `CosmosMsg` [INFO] [stdout] --> src/contract.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | from_binary, to_binary, Addr, Api, BankMsg, Binary, CanonicalAddr, Coin, CosmosMsg, Deps, [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20Contract` and `Cw20ExecuteMsg` [INFO] [stdout] --> src/contract.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use cw20::{Cw20Contract, Cw20ExecuteMsg, Cw20ReceiveMsg}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CosmosMsg` and `WasmMsg` [INFO] [stdout] --> src/contract.rs:265:50 [INFO] [stdout] | [INFO] [stdout] 265 | use cosmwasm_std::{coins, from_binary, Addr, CosmosMsg, WasmMsg}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pot_id` [INFO] [stdout] --> src/contract.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pot_id: Uint128, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pot_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cw20_addr` [INFO] [stdout] --> src/contract.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | cw20_addr: Addr, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cw20_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let mut res = Response::new().add_attribute("collected", amountReceive); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountReceive` should have a snake case name [INFO] [stdout] --> src/contract.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | amountReceive: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_receive` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.63s [INFO] running `Command { std: "docker" "inspect" "49c5fad85b4e05730426626f7d845f59f2c2a1a1f8d7dfc49f734237d867c7ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c5fad85b4e05730426626f7d845f59f2c2a1a1f8d7dfc49f734237d867c7ec", kill_on_drop: false }` [INFO] [stdout] 49c5fad85b4e05730426626f7d845f59f2c2a1a1f8d7dfc49f734237d867c7ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8c901867cb67a532eaf90092dba4efd595cbe16e26912562bcea9eb7cc8be039 [INFO] running `Command { std: "docker" "start" "-a" "8c901867cb67a532eaf90092dba4efd595cbe16e26912562bcea9eb7cc8be039", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Api`, `BankMsg`, `CanonicalAddr`, `Coin`, and `CosmosMsg` [INFO] [stderr] --> src/contract.rs:4:35 [INFO] [stderr] | [INFO] [stderr] 4 | from_binary, to_binary, Addr, Api, BankMsg, Binary, CanonicalAddr, Coin, CosmosMsg, Deps, [INFO] [stderr] | ^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Cw20Contract` and `Cw20ExecuteMsg` [INFO] [stderr] --> src/contract.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | use cw20::{Cw20Contract, Cw20ExecuteMsg, Cw20ReceiveMsg}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pot_id` [INFO] [stderr] --> src/contract.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | pot_id: Uint128, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pot_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cw20_addr` [INFO] [stderr] --> src/contract.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | cw20_addr: Addr, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cw20_addr` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/contract.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | let mut res = Response::new().add_attribute("collected", amountReceive); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `amountReceive` should have a snake case name [INFO] [stderr] --> src/contract.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | amountReceive: Uint128, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_receive` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `lottery` (lib) generated 6 warnings (run `cargo fix --lib -p lottery` to apply 3 suggestions) [INFO] [stderr] warning: unused imports: `CosmosMsg` and `WasmMsg` [INFO] [stderr] --> src/contract.rs:265:50 [INFO] [stderr] | [INFO] [stderr] 265 | use cosmwasm_std::{coins, from_binary, Addr, CosmosMsg, WasmMsg}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `lottery` (lib test) generated 7 warnings (6 duplicates) (run `cargo fix --lib -p lottery --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lottery-7fde42240093640e) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stderr] Doc-tests lottery [INFO] [stdout] test contract::tests::increment ... ok [INFO] [stdout] test contract::tests::proper_initialization ... ok [INFO] [stdout] test contract::tests::reset ... ok [INFO] [stdout] test contract::tests::test_receive_send ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "8c901867cb67a532eaf90092dba4efd595cbe16e26912562bcea9eb7cc8be039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c901867cb67a532eaf90092dba4efd595cbe16e26912562bcea9eb7cc8be039", kill_on_drop: false }` [INFO] [stdout] 8c901867cb67a532eaf90092dba4efd595cbe16e26912562bcea9eb7cc8be039