[INFO] cloning repository https://github.com/kevtae/inj-hash-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kevtae/inj-hash-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevtae%2Finj-hash-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevtae%2Finj-hash-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e053d83c5e4cb6db0a0bc23534044dbb857ed16 [INFO] building kevtae/inj-hash-contract against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevtae%2Finj-hash-contract" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/kevtae/inj-hash-contract [INFO] finished tweaking git repo https://github.com/kevtae/inj-hash-contract [INFO] tweaked toml for git repo https://github.com/kevtae/inj-hash-contract written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kevtae/inj-hash-contract on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kevtae/inj-hash-contract 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded schemars_derive v0.8.22 [INFO] [stderr] Downloaded dyn-clone v1.0.19 [INFO] [stderr] Downloaded tiny-keccak v1.5.0 [INFO] [stderr] Downloaded fixed-hash v0.8.0 [INFO] [stderr] Downloaded serde_derive_internals v0.29.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.94 [INFO] [stderr] Downloaded cosmwasm-derive v2.2.2 [INFO] [stderr] Downloaded injective-math v0.3.0 [INFO] [stderr] Downloaded syn v2.0.100 [INFO] [stderr] Downloaded ark-ff-asm v0.4.2 [INFO] [stderr] Downloaded serde_repr v0.1.20 [INFO] [stderr] Downloaded ark-ff-macros v0.4.2 [INFO] [stderr] Downloaded ark-poly v0.4.2 [INFO] [stderr] Downloaded ethereum-types-serialize v0.2.2 [INFO] [stderr] Downloaded injective-cosmwasm v0.3.1 [INFO] [stderr] Downloaded schemars v0.8.22 [INFO] [stderr] Downloaded cosmwasm-storage v1.5.2 [INFO] [stderr] Downloaded cosmwasm-schema v1.5.11 [INFO] [stderr] Downloaded ark-bls12-381 v0.4.0 [INFO] [stderr] Downloaded prost-derive v0.9.0 [INFO] [stderr] Downloaded prost v0.9.0 [INFO] [stderr] Downloaded anyhow v1.0.97 [INFO] [stderr] Downloaded k256 v0.11.6 [INFO] [stderr] Downloaded bech32 v0.11.0 [INFO] [stderr] Downloaded cw-storage-plus v1.2.0 [INFO] [stderr] Downloaded ark-ff v0.4.2 [INFO] [stderr] Downloaded rand v0.5.6 [INFO] [stderr] Downloaded cw-multi-test v0.16.5 [INFO] [stderr] Downloaded bnum v0.10.0 [INFO] [stderr] Downloaded cosmwasm-std v1.5.11 [INFO] [stderr] Downloaded cosmwasm-std v2.2.2 [INFO] [stderr] Downloaded cw-storage-plus v2.0.0 [INFO] [stderr] Downloaded zerocopy-derive v0.8.23 [INFO] [stderr] Downloaded zerocopy v0.8.23 [INFO] [stderr] Downloaded bnum v0.11.0 [INFO] [stderr] Downloaded k256 v0.13.4 [INFO] [stderr] Downloaded ed25519-zebra v3.1.0 [INFO] [stderr] Downloaded once_cell v1.21.1 [INFO] [stderr] Downloaded rmp-serde v1.3.0 [INFO] [stderr] Downloaded rlp v0.4.6 [INFO] [stderr] Downloaded fixed-hash v0.3.2 [INFO] [stderr] Downloaded heapsize v0.4.2 [INFO] [stderr] Downloaded uint v0.9.5 [INFO] [stderr] Downloaded bech32 v0.9.1 [INFO] [stderr] Downloaded forward_ref v1.0.0 [INFO] [stderr] Downloaded cw-utils v1.0.3 [INFO] [stderr] Downloaded ark-serialize-derive v0.4.2 [INFO] [stderr] Downloaded ark-serialize v0.4.2 [INFO] [stderr] Downloaded curve25519-dalek v3.2.0 [INFO] [stderr] Downloaded ff v0.13.1 [INFO] [stderr] Downloaded impl-rlp v0.2.1 [INFO] [stderr] Downloaded ethbloom v0.6.4 [INFO] [stderr] Downloaded static_assertions v0.2.5 [INFO] [stderr] Downloaded rustc-hex v2.1.0 [INFO] [stderr] Downloaded ethereum-types v0.5.2 [INFO] [stderr] Downloaded primitive-types v0.12.2 [INFO] [stderr] Downloaded cosmwasm-schema-derive v1.5.11 [INFO] [stderr] Downloaded libc v0.2.171 [INFO] [stderr] Downloaded cosmwasm-derive v1.5.11 [INFO] [stderr] Downloaded serde-json-wasm v0.5.2 [INFO] [stderr] Downloaded cw20 v1.1.2 [INFO] [stderr] Downloaded ark-ec v0.4.2 [INFO] [stderr] Downloaded base64ct v1.7.3 [INFO] [stderr] Downloaded serde-json-wasm v1.0.1 [INFO] [stderr] Downloaded derivative v2.2.0 [INFO] [stderr] Downloaded ark-std v0.4.0 [INFO] [stderr] Downloaded cosmwasm-core v2.2.2 [INFO] [stderr] Downloaded ed25519-zebra v4.0.3 [INFO] [stderr] Downloaded derive_more-impl v1.0.0 [INFO] [stderr] Downloaded derive_more v1.0.0 [INFO] [stderr] Downloaded impl-serde v0.2.3 [INFO] [stderr] Downloaded cosmwasm-crypto v1.5.11 [INFO] [stderr] Downloaded cw2 v1.1.2 [INFO] [stderr] Downloaded cosmwasm-crypto v2.2.2 [INFO] [stderr] Downloaded uint v0.5.0 [INFO] [stderr] Downloaded rmp v0.8.14 [INFO] [stderr] Downloaded subtle-encoding v0.5.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6667f4e3bd6610016b7199c444e4d23fdd1737bb1fadbc7e1a3f96a561bad555 [INFO] running `Command { std: "docker" "start" "-a" "6667f4e3bd6610016b7199c444e4d23fdd1737bb1fadbc7e1a3f96a561bad555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6667f4e3bd6610016b7199c444e4d23fdd1737bb1fadbc7e1a3f96a561bad555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6667f4e3bd6610016b7199c444e4d23fdd1737bb1fadbc7e1a3f96a561bad555", kill_on_drop: false }` [INFO] [stdout] 6667f4e3bd6610016b7199c444e4d23fdd1737bb1fadbc7e1a3f96a561bad555 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c558574c32b7ca82fc64f54ed46a38bcb5754e3d35986c258ba80d8b77f7ef7 [INFO] running `Command { std: "docker" "start" "-a" "1c558574c32b7ca82fc64f54ed46a38bcb5754e3d35986c258ba80d8b77f7ef7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling bnum v0.10.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rlp v0.4.6 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling cosmwasm-core v2.2.2 [INFO] [stderr] Compiling static_assertions v0.2.5 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling bnum v0.11.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling uint v0.5.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling fixed-hash v0.3.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling cosmwasm-derive v1.5.11 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling cosmwasm-schema-derive v1.5.11 [INFO] [stderr] Compiling cosmwasm-derive v2.2.2 [INFO] [stderr] Compiling subtle-encoding v0.5.1 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde-json-wasm v0.5.2 [INFO] [stderr] Compiling impl-serde v0.2.3 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling serde-json-wasm v1.0.1 [INFO] [stderr] Compiling ethbloom v0.6.4 [INFO] [stderr] Compiling ethereum-types-serialize v0.2.2 [INFO] [stderr] Compiling ethereum-types v0.5.2 [INFO] [stderr] Compiling ed25519-zebra v3.1.0 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling cosmwasm-crypto v1.5.11 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling cosmwasm-std v1.5.11 [INFO] [stderr] Compiling cosmwasm-schema v1.5.11 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-bls12-381 v0.4.0 [INFO] [stderr] Compiling cosmwasm-crypto v2.2.2 [INFO] [stderr] Compiling cosmwasm-std v2.2.2 [INFO] [stderr] Compiling cw-storage-plus v1.2.0 [INFO] [stderr] Compiling cosmwasm-storage v1.5.2 [INFO] [stderr] Compiling cw2 v1.1.2 [INFO] [stderr] Compiling cw-utils v1.0.3 [INFO] [stderr] Compiling cw20 v1.1.2 [INFO] [stderr] Compiling injective-math v0.3.0 [INFO] [stderr] Compiling cw-storage-plus v2.0.0 [INFO] [stderr] Compiling injective-cosmwasm v0.3.1 [INFO] [stderr] Compiling hashmelody v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cw20::Cw20ReceiveMsg` [INFO] [stdout] --> src/contract.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cw20::Cw20ReceiveMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StdError`, `WasmMsg`, and `to_json_binary` [INFO] [stdout] --> src/execute/purchase_token.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | coins, WasmMsg, to_json_binary, StdError [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WasmMsg` and `to_json_binary` [INFO] [stdout] --> src/execute/mint_token.rs:1:66 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{DepsMut, Env, MessageInfo, Response, Uint128, WasmMsg, to_json_binary}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uint128` [INFO] [stdout] --> src/query/get_vault_balance.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{Deps, StdResult, Uint128}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StdError` [INFO] [stdout] --> src/utils.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{StdResult, StdError, Uint128}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/execute/initialize_token_metadata.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/execute/setup_vault_account.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dex_pool` [INFO] [stdout] --> src/execute/purchase_token.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(dex_pool) = &vault.dex_pool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dex_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/execute/purchase_token.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MintMsg` is never constructed [INFO] [stdout] --> src/execute/purchase_token.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct MintMsg { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MintMsg` is never constructed [INFO] [stdout] --> src/execute/mint_token.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct MintMsg { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 22s [INFO] running `Command { std: "docker" "inspect" "1c558574c32b7ca82fc64f54ed46a38bcb5754e3d35986c258ba80d8b77f7ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c558574c32b7ca82fc64f54ed46a38bcb5754e3d35986c258ba80d8b77f7ef7", kill_on_drop: false }` [INFO] [stdout] 1c558574c32b7ca82fc64f54ed46a38bcb5754e3d35986c258ba80d8b77f7ef7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 372f5ad64d08124111d69310bf307e174be1258c8efae866aaef512c8be6a7bb [INFO] running `Command { std: "docker" "start" "-a" "372f5ad64d08124111d69310bf307e174be1258c8efae866aaef512c8be6a7bb", kill_on_drop: false }` [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cosmwasm-std v1.5.11 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling k256 v0.11.6 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling cw-storage-plus v1.2.0 [INFO] [stderr] Compiling cosmwasm-storage v1.5.2 [INFO] [stderr] Compiling cw2 v1.1.2 [INFO] [stderr] Compiling cw-utils v1.0.3 [INFO] [stderr] Compiling cw20 v1.1.2 [INFO] [stderr] Compiling cw-multi-test v0.16.5 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-bls12-381 v0.4.0 [INFO] [stderr] Compiling cosmwasm-crypto v2.2.2 [INFO] [stderr] Compiling cosmwasm-std v2.2.2 [INFO] [stderr] Compiling injective-math v0.3.0 [INFO] [stderr] Compiling cw-storage-plus v2.0.0 [INFO] [stderr] Compiling injective-cosmwasm v0.3.1 [INFO] [stderr] Compiling hashmelody v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cw20::Cw20ReceiveMsg` [INFO] [stdout] --> src/contract.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cw20::Cw20ReceiveMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StdError`, `WasmMsg`, and `to_json_binary` [INFO] [stdout] --> src/execute/purchase_token.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | coins, WasmMsg, to_json_binary, StdError [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WasmMsg` and `to_json_binary` [INFO] [stdout] --> src/execute/mint_token.rs:1:66 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{DepsMut, Env, MessageInfo, Response, Uint128, WasmMsg, to_json_binary}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uint128` [INFO] [stdout] --> src/query/get_vault_balance.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{Deps, StdResult, Uint128}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StdError` [INFO] [stdout] --> src/utils.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{StdResult, StdError, Uint128}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ReceiveMsg` [INFO] [stdout] --> src/contract.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cw20::Cw20ReceiveMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StdError`, `WasmMsg`, and `to_json_binary` [INFO] [stdout] --> src/execute/purchase_token.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | coins, WasmMsg, to_json_binary, StdError [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WasmMsg` and `to_json_binary` [INFO] [stdout] --> src/execute/mint_token.rs:1:66 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{DepsMut, Env, MessageInfo, Response, Uint128, WasmMsg, to_json_binary}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uint128` [INFO] [stdout] --> src/query/get_vault_balance.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{Deps, StdResult, Uint128}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StdError` [INFO] [stdout] --> src/utils.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{StdResult, StdError, Uint128}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/execute/initialize_token_metadata.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/execute/setup_vault_account.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/execute/initialize_token_metadata.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dex_pool` [INFO] [stdout] --> src/execute/purchase_token.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(dex_pool) = &vault.dex_pool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dex_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/execute/setup_vault_account.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/execute/purchase_token.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dex_pool` [INFO] [stdout] --> src/execute/purchase_token.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(dex_pool) = &vault.dex_pool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dex_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/execute/purchase_token.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MintMsg` is never constructed [INFO] [stdout] --> src/execute/purchase_token.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct MintMsg { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MintMsg` is never constructed [INFO] [stdout] --> src/execute/mint_token.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct MintMsg { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MintMsg` is never constructed [INFO] [stdout] --> src/execute/purchase_token.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct MintMsg { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MintMsg` is never constructed [INFO] [stdout] --> src/execute/mint_token.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct MintMsg { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 56.38s [INFO] running `Command { std: "docker" "inspect" "372f5ad64d08124111d69310bf307e174be1258c8efae866aaef512c8be6a7bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "372f5ad64d08124111d69310bf307e174be1258c8efae866aaef512c8be6a7bb", kill_on_drop: false }` [INFO] [stdout] 372f5ad64d08124111d69310bf307e174be1258c8efae866aaef512c8be6a7bb