[INFO] fetching crate wasmswap2023 0.1.2-v2023... [INFO] testing wasmswap2023-0.1.2-v2023 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate wasmswap2023 0.1.2-v2023 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] started tweaking crates.io crate wasmswap2023 0.1.2-v2023 [INFO] finished tweaking crates.io crate wasmswap2023 0.1.2-v2023 [INFO] tweaked toml for crates.io crate wasmswap2023 0.1.2-v2023 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wasmswap2023 0.1.2-v2023 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 101 packages to latest compatible versions [INFO] [stderr] Adding cosmwasm-schema v1.5.11 (available: v3.0.2) [INFO] [stderr] Adding cosmwasm-std v1.5.11 (available: v3.0.2) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding cw-multi-test v0.16.5 (available: v0.16.6) [INFO] [stderr] Adding cw-storage-plus v1.2.0 (available: v3.0.1) [INFO] [stderr] Adding cw2 v1.1.2 (available: v3.0.0) [INFO] [stderr] Adding cw20 v1.1.2 (available: v2.0.0) [INFO] [stderr] Adding cw20-base v1.1.2 (available: v2.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding schemars v0.8.22 (available: v1.1.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded forward_ref v1.0.0 [INFO] [stderr] Downloaded cw-utils v1.0.3 [INFO] [stderr] Downloaded cw0 v0.10.3 [INFO] [stderr] Downloaded cosmwasm-std v1.5.11 [INFO] [stderr] Downloaded cw-multi-test v0.16.5 [INFO] [stderr] Downloaded serde-json-wasm v0.5.2 [INFO] [stderr] Downloaded bnum v0.10.0 [INFO] [stderr] Downloaded cosmwasm-storage v1.5.2 [INFO] [stderr] Downloaded cw-storage-plus v1.2.0 [INFO] [stderr] Downloaded cosmwasm-schema v1.5.11 [INFO] [stderr] Downloaded cosmwasm-crypto v1.5.11 [INFO] [stderr] Downloaded cosmwasm-derive v1.5.11 [INFO] [stderr] Downloaded cw2 v1.1.2 [INFO] [stderr] Downloaded cw20 v1.1.2 [INFO] [stderr] Downloaded ed25519-zebra v3.1.0 [INFO] [stderr] Downloaded cw20-base v1.1.2 [INFO] [stderr] Downloaded cosmwasm-schema-derive v1.5.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a7a22ff6692725a81ab450dd83655fab9f247113eb147d0face8536a20d9aed [INFO] running `Command { std: "docker" "start" "-a" "9a7a22ff6692725a81ab450dd83655fab9f247113eb147d0face8536a20d9aed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a7a22ff6692725a81ab450dd83655fab9f247113eb147d0face8536a20d9aed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a7a22ff6692725a81ab450dd83655fab9f247113eb147d0face8536a20d9aed", kill_on_drop: false }` [INFO] [stdout] 9a7a22ff6692725a81ab450dd83655fab9f247113eb147d0face8536a20d9aed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97f808e69167f721a4258eb2faebb74f2031ab2f5dad0338463c17ac925c0926 [INFO] running `Command { std: "docker" "start" "-a" "97f808e69167f721a4258eb2faebb74f2031ab2f5dad0338463c17ac925c0926", kill_on_drop: false }` [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-derive v1.5.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling bnum v0.10.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling cosmwasm-schema-derive v1.5.11 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ed25519-zebra v3.1.0 [INFO] [stderr] Compiling serde-json-wasm v0.5.2 [INFO] [stderr] Compiling cosmwasm-crypto v1.5.11 [INFO] [stderr] Compiling cosmwasm-std v1.5.11 [INFO] [stderr] Compiling cosmwasm-schema v1.5.11 [INFO] [stderr] Compiling cw-storage-plus v1.2.0 [INFO] [stderr] Compiling cw0 v0.10.3 [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 cw20-base v1.1.2 [INFO] [stderr] Compiling wasmswap2023 v0.1.2-v2023 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | attr, entry_point, to_binary, Addr, Binary, BlockInfo, Coin, CosmosMsg, Decimal, Deps, DepsMut, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | msg: to_binary(&cw20_base::msg::InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 396 | msg: to_binary(&mint_msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:449:14 [INFO] [stdout] | [INFO] [stdout] 449 | msg: to_binary(&transfer_cw20_msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:470:14 [INFO] [stdout] | [INFO] [stdout] 470 | msg: to_binary(&increase_allowance_msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:616:14 [INFO] [stdout] | [INFO] [stdout] 616 | msg: to_binary(&msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:634:14 [INFO] [stdout] | [INFO] [stdout] 634 | msg: to_binary(&transfer_cw20_msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:925:18 [INFO] [stdout] | [INFO] [stdout] 925 | msg: to_binary(&swap_msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:963:42 [INFO] [stdout] | [INFO] [stdout] 963 | QueryMsg::Balance { address } => to_binary(&query_balance(deps, address)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:964:30 [INFO] [stdout] | [INFO] [stdout] 964 | QueryMsg::Info {} => to_binary(&query_info(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:966:13 [INFO] [stdout] | [INFO] [stdout] 966 | to_binary(&query_token1_for_token2_price(deps, token1_amount)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:969:13 [INFO] [stdout] | [INFO] [stdout] 969 | to_binary(&query_token2_for_token1_price(deps, token2_amount)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:971:29 [INFO] [stdout] | [INFO] [stdout] 971 | QueryMsg::Fee {} => to_binary(&query_fee(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.92s [INFO] running `Command { std: "docker" "inspect" "97f808e69167f721a4258eb2faebb74f2031ab2f5dad0338463c17ac925c0926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97f808e69167f721a4258eb2faebb74f2031ab2f5dad0338463c17ac925c0926", kill_on_drop: false }` [INFO] [stdout] 97f808e69167f721a4258eb2faebb74f2031ab2f5dad0338463c17ac925c0926 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1b563ddb47fb88306618160177f3bd8dfd591addd36c9861023f979fcd61c94 [INFO] running `Command { std: "docker" "start" "-a" "a1b563ddb47fb88306618160177f3bd8dfd591addd36c9861023f979fcd61c94", kill_on_drop: false }` [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling base64ct v1.8.0 [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 itertools v0.10.5 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | attr, entry_point, to_binary, Addr, Binary, BlockInfo, Coin, CosmosMsg, Decimal, Deps, DepsMut, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | msg: to_binary(&cw20_base::msg::InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 396 | msg: to_binary(&mint_msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:449:14 [INFO] [stdout] | [INFO] [stdout] 449 | msg: to_binary(&transfer_cw20_msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:470:14 [INFO] [stdout] | [INFO] [stdout] 470 | msg: to_binary(&increase_allowance_msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:616:14 [INFO] [stdout] | [INFO] [stdout] 616 | msg: to_binary(&msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:634:14 [INFO] [stdout] | [INFO] [stdout] 634 | msg: to_binary(&transfer_cw20_msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:925:18 [INFO] [stdout] | [INFO] [stdout] 925 | msg: to_binary(&swap_msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:963:42 [INFO] [stdout] | [INFO] [stdout] 963 | QueryMsg::Balance { address } => to_binary(&query_balance(deps, address)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:964:30 [INFO] [stdout] | [INFO] [stdout] 964 | QueryMsg::Info {} => to_binary(&query_info(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:966:13 [INFO] [stdout] | [INFO] [stdout] 966 | to_binary(&query_token1_for_token2_price(deps, token1_amount)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:969:13 [INFO] [stdout] | [INFO] [stdout] 969 | to_binary(&query_token2_for_token1_price(deps, token2_amount)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:971:29 [INFO] [stdout] | [INFO] [stdout] 971 | QueryMsg::Fee {} => to_binary(&query_fee(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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 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-multi-test v0.16.5 [INFO] [stderr] Compiling wasmswap2023 v0.1.2-v2023 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | attr, entry_point, to_binary, Addr, Binary, BlockInfo, Coin, CosmosMsg, Decimal, Deps, DepsMut, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | msg: to_binary(&cw20_base::msg::InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 396 | msg: to_binary(&mint_msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:449:14 [INFO] [stdout] | [INFO] [stdout] 449 | msg: to_binary(&transfer_cw20_msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:470:14 [INFO] [stdout] | [INFO] [stdout] 470 | msg: to_binary(&increase_allowance_msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:616:14 [INFO] [stdout] | [INFO] [stdout] 616 | msg: to_binary(&msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:634:14 [INFO] [stdout] | [INFO] [stdout] 634 | msg: to_binary(&transfer_cw20_msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:925:18 [INFO] [stdout] | [INFO] [stdout] 925 | msg: to_binary(&swap_msg)?, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:963:42 [INFO] [stdout] | [INFO] [stdout] 963 | QueryMsg::Balance { address } => to_binary(&query_balance(deps, address)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:964:30 [INFO] [stdout] | [INFO] [stdout] 964 | QueryMsg::Info {} => to_binary(&query_info(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:966:13 [INFO] [stdout] | [INFO] [stdout] 966 | to_binary(&query_token1_for_token2_price(deps, token1_amount)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:969:13 [INFO] [stdout] | [INFO] [stdout] 969 | to_binary(&query_token2_for_token1_price(deps, token2_amount)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:971:29 [INFO] [stdout] | [INFO] [stdout] 971 | QueryMsg::Fee {} => to_binary(&query_fee(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.69s [INFO] running `Command { std: "docker" "inspect" "a1b563ddb47fb88306618160177f3bd8dfd591addd36c9861023f979fcd61c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1b563ddb47fb88306618160177f3bd8dfd591addd36c9861023f979fcd61c94", kill_on_drop: false }` [INFO] [stdout] a1b563ddb47fb88306618160177f3bd8dfd591addd36c9861023f979fcd61c94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1b4ea81720205553ee81a1e3ef0245e3cef90e87bf44f452fd06adb597a03e72 [INFO] running `Command { std: "docker" "start" "-a" "1b4ea81720205553ee81a1e3ef0245e3cef90e87bf44f452fd06adb597a03e72", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> src/contract.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | attr, entry_point, to_binary, Addr, Binary, BlockInfo, Coin, CosmosMsg, Decimal, Deps, DepsMut, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> src/contract.rs:82:14 [INFO] [stderr] | [INFO] [stderr] 82 | msg: to_binary(&cw20_base::msg::InstantiateMsg { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> src/contract.rs:396:14 [INFO] [stderr] | [INFO] [stderr] 396 | msg: to_binary(&mint_msg)?, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> src/contract.rs:449:14 [INFO] [stderr] | [INFO] [stderr] 449 | msg: to_binary(&transfer_cw20_msg)?, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> src/contract.rs:470:14 [INFO] [stderr] | [INFO] [stderr] 470 | msg: to_binary(&increase_allowance_msg)?, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> src/contract.rs:616:14 [INFO] [stderr] | [INFO] [stderr] 616 | msg: to_binary(&msg)?, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> src/contract.rs:634:14 [INFO] [stderr] | [INFO] [stderr] 634 | msg: to_binary(&transfer_cw20_msg)?, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> src/contract.rs:925:18 [INFO] [stderr] | [INFO] [stderr] 925 | msg: to_binary(&swap_msg)?, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> src/contract.rs:963:42 [INFO] [stderr] | [INFO] [stderr] 963 | QueryMsg::Balance { address } => to_binary(&query_balance(deps, address)?), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> src/contract.rs:964:30 [INFO] [stderr] | [INFO] [stderr] 964 | QueryMsg::Info {} => to_binary(&query_info(deps)?), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> src/contract.rs:966:13 [INFO] [stderr] | [INFO] [stderr] 966 | to_binary(&query_token1_for_token2_price(deps, token1_amount)?) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> src/contract.rs:969:13 [INFO] [stderr] | [INFO] [stderr] 969 | to_binary(&query_token2_for_token1_price(deps, token2_amount)?) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stderr] --> src/contract.rs:971:29 [INFO] [stderr] | [INFO] [stderr] 971 | QueryMsg::Fee {} => to_binary(&query_fee(deps)?), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wasmswap2023` (lib) generated 13 warnings [INFO] [stderr] warning: `wasmswap2023` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wasmswap2023-c95aef30b911a0f6) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test contract::tests::test_get_liquidity_amount ... ok [INFO] [stdout] test contract::tests::test_get_input_price ... ok [INFO] [stderr] Doc-tests wasmswap2023 [INFO] [stdout] test contract::tests::test_get_token_amount ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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" "1b4ea81720205553ee81a1e3ef0245e3cef90e87bf44f452fd06adb597a03e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b4ea81720205553ee81a1e3ef0245e3cef90e87bf44f452fd06adb597a03e72", kill_on_drop: false }` [INFO] [stdout] 1b4ea81720205553ee81a1e3ef0245e3cef90e87bf44f452fd06adb597a03e72