[INFO] cloning repository https://github.com/Emilija99/contract2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Emilija99/contract2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilija99%2Fcontract2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilija99%2Fcontract2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89c48276b52a898fa9d5f737219bf9ac91c2bf40 [INFO] checking Emilija99/contract2/89c48276b52a898fa9d5f737219bf9ac91c2bf40 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilija99%2Fcontract2" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 5% (422/7305) Updating files: 6% (439/7305) Updating files: 7% (512/7305) Updating files: 8% (585/7305) Updating files: 8% (642/7305) Updating files: 9% (658/7305) Updating files: 10% (731/7305) Updating files: 11% (804/7305) Updating files: 11% (837/7305) Updating files: 12% (877/7305) Updating files: 13% (950/7305) Updating files: 14% (1023/7305) Updating files: 15% (1096/7305) Updating files: 16% (1169/7305) Updating files: 17% (1242/7305) Updating files: 18% (1315/7305) Updating files: 19% (1388/7305) Updating files: 20% (1461/7305) Updating files: 21% (1535/7305) Updating files: 22% (1608/7305) Updating files: 23% (1681/7305) Updating files: 24% (1754/7305) Updating files: 25% (1827/7305) Updating files: 26% (1900/7305) Updating files: 27% (1973/7305) Updating files: 28% (2046/7305) Updating files: 29% (2119/7305) Updating files: 30% (2192/7305) Updating files: 31% (2265/7305) Updating files: 32% (2338/7305) Updating files: 33% (2411/7305) Updating files: 34% (2484/7305) Updating files: 35% (2557/7305) Updating files: 36% (2630/7305) Updating files: 37% (2703/7305) Updating files: 38% (2776/7305) Updating files: 39% (2849/7305) Updating files: 40% (2922/7305) Updating files: 41% (2996/7305) Updating files: 42% (3069/7305) Updating files: 43% (3142/7305) Updating files: 44% (3215/7305) Updating files: 45% (3288/7305) Updating files: 46% (3361/7305) Updating files: 47% (3434/7305) Updating files: 48% (3507/7305) Updating files: 49% (3580/7305) Updating files: 50% (3653/7305) Updating files: 51% (3726/7305) Updating files: 52% (3799/7305) Updating files: 53% (3872/7305) Updating files: 54% (3945/7305) Updating files: 55% (4018/7305) Updating files: 56% (4091/7305) Updating files: 57% (4164/7305) Updating files: 58% (4237/7305) Updating files: 59% (4310/7305) Updating files: 60% (4383/7305) Updating files: 61% (4457/7305) Updating files: 62% (4530/7305) Updating files: 63% (4603/7305) Updating files: 64% (4676/7305) Updating files: 65% (4749/7305) Updating files: 66% (4822/7305) Updating files: 67% (4895/7305) Updating files: 68% (4968/7305) Updating files: 69% (5041/7305) Updating files: 70% (5114/7305) Updating files: 71% (5187/7305) Updating files: 72% (5260/7305) Updating files: 73% (5333/7305) Updating files: 74% (5406/7305) Updating files: 75% (5479/7305) Updating files: 76% (5552/7305) Updating files: 77% (5625/7305) Updating files: 78% (5698/7305) Updating files: 79% (5771/7305) Updating files: 80% (5844/7305) Updating files: 81% (5918/7305) Updating files: 81% (5975/7305) Updating files: 82% (5991/7305) Updating files: 83% (6064/7305) Updating files: 84% (6137/7305) Updating files: 85% (6210/7305) Updating files: 86% (6283/7305) Updating files: 87% (6356/7305) Updating files: 88% (6429/7305) Updating files: 89% (6502/7305) Updating files: 89% (6565/7305) Updating files: 90% (6575/7305) Updating files: 91% (6648/7305) Updating files: 92% (6721/7305) Updating files: 93% (6794/7305) Updating files: 94% (6867/7305) Updating files: 95% (6940/7305) Updating files: 95% (6943/7305) Updating files: 96% (7013/7305) Updating files: 97% (7086/7305) Updating files: 98% (7159/7305) Updating files: 99% (7232/7305) Updating files: 99% (7242/7305) Updating files: 100% (7305/7305) Updating files: 100% (7305/7305), done. [INFO] validating manifest of git repo https://github.com/Emilija99/contract2 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Emilija99/contract2 [INFO] finished tweaking git repo https://github.com/Emilija99/contract2 [INFO] tweaked toml for git repo https://github.com/Emilija99/contract2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Emilija99/contract2 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b360fcd9a187d38bd318bbfb065eca7b7825eb594427f4d0e630f058f6cb3f8 [INFO] running `Command { std: "docker" "start" "-a" "6b360fcd9a187d38bd318bbfb065eca7b7825eb594427f4d0e630f058f6cb3f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b360fcd9a187d38bd318bbfb065eca7b7825eb594427f4d0e630f058f6cb3f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b360fcd9a187d38bd318bbfb065eca7b7825eb594427f4d0e630f058f6cb3f8", kill_on_drop: false }` [INFO] [stdout] 6b360fcd9a187d38bd318bbfb065eca7b7825eb594427f4d0e630f058f6cb3f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03b83ecbcef46ed62dc2c68523898f3d3c56d6013723657068378f19551bffeb [INFO] running `Command { std: "docker" "start" "-a" "03b83ecbcef46ed62dc2c68523898f3d3c56d6013723657068378f19551bffeb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking serde-json-wasm v0.2.3 [INFO] [stderr] Checking bincode2 v2.0.1 [INFO] [stderr] Checking secret-cosmwasm-std v0.10.0 [INFO] [stderr] Checking cosmwasm-schema v0.9.4 [INFO] [stderr] Checking secret-toolkit-utils v0.2.0 [INFO] [stderr] Checking secret-toolkit-serialization v0.2.0 [INFO] [stderr] Checking secret-cosmwasm-storage v0.10.0 [INFO] [stderr] Checking secret-toolkit-snip721 v0.2.0 [INFO] [stderr] Checking secret-toolkit-snip20 v0.2.0 [INFO] [stderr] Checking secret-toolkit-storage v0.2.0 [INFO] [stderr] Checking secret-toolkit v0.2.0 [INFO] [stderr] Checking sample-project v0.1.0 (/opt/rustwide/workdir/contracts/rock) [INFO] [stdout] warning: unused import: `Coin` [INFO] [stdout] --> contracts/rock/src/msg.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{Coin, Uint128, HumanAddr, Binary}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_serde_json::ser::State` [INFO] [stdout] --> contracts/rock/src/state.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use schemars::{JsonSchema, _serde_json::ser::State}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CosmosMsg`, `WasmMsg`, and `to_binary` [INFO] [stdout] --> contracts/rock/src/state.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | from_slice, to_binary, to_vec, Api, CanonicalAddr, CosmosMsg, Extern, HandleResponse, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 15 | HumanAddr, InitResponse, Querier, StdError, StdResult, Storage, Uint128, WasmMsg, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Snip20Msg` [INFO] [stdout] --> contracts/rock/src/state.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::msg::{Move, Snip20Msg}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coin` [INFO] [stdout] --> contracts/rock/src/msg.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{Coin, Uint128, HumanAddr, Binary}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_serde_json::ser::State` [INFO] [stdout] --> contracts/rock/src/state.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use schemars::{JsonSchema, _serde_json::ser::State}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CosmosMsg`, `WasmMsg`, and `to_binary` [INFO] [stdout] --> contracts/rock/src/state.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | from_slice, to_binary, to_vec, Api, CanonicalAddr, CosmosMsg, Extern, HandleResponse, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 15 | HumanAddr, InitResponse, Querier, StdError, StdResult, Storage, Uint128, WasmMsg, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Snip20Msg` [INFO] [stdout] --> contracts/rock/src/state.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::msg::{Move, Snip20Msg}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> contracts/rock/src/contract.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 155 | snip_addr: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 156 | snip_hash: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> contracts/rock/src/contract.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 170 | snip_addr: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 171 | snip_hash: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> contracts/rock/src/contract.rs:210:24 [INFO] [stdout] | [INFO] [stdout] 209 | snip_addr: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 210 | snip_hash: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memo` [INFO] [stdout] --> contracts/rock/src/contract.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | memo, [INFO] [stdout] | ^^^^ help: try ignoring the field: `memo: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/rock/src/contract.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | let deps = mock_dependencies(20, &[]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> contracts/rock/src/contract.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let msg = InitMsg { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/rock/src/contract.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let mut deps = mock_dependencies(20, &coins(2, "token")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> contracts/rock/src/contract.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let msg = InitMsg { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/rock/src/contract.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let mut deps = mock_dependencies(20, &coins(2, "token")); [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: unused variable: `deps` [INFO] [stdout] --> contracts/rock/src/contract.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | let mut deps = mock_dependencies(20, &coins(2, "token")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> contracts/rock/src/contract.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let msg = InitMsg { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/rock/src/contract.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut deps = mock_dependencies(20, &coins(2, "token")); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memo` [INFO] [stdout] --> contracts/rock/src/contract.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | memo, [INFO] [stdout] | ^^^^ help: try ignoring the field: `memo: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.86s [INFO] running `Command { std: "docker" "inspect" "03b83ecbcef46ed62dc2c68523898f3d3c56d6013723657068378f19551bffeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03b83ecbcef46ed62dc2c68523898f3d3c56d6013723657068378f19551bffeb", kill_on_drop: false }` [INFO] [stdout] 03b83ecbcef46ed62dc2c68523898f3d3c56d6013723657068378f19551bffeb