[INFO] cloning repository https://github.com/nguyenxuanha20210301/staking-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nguyenxuanha20210301/staking-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyenxuanha20210301%2Fstaking-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyenxuanha20210301%2Fstaking-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50c0a7f9900ea47e6447b55f126e671cb7730e10 [INFO] building nguyenxuanha20210301/staking-contract against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyenxuanha20210301%2Fstaking-contract" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/nguyenxuanha20210301/staking-contract [INFO] finished tweaking git repo https://github.com/nguyenxuanha20210301/staking-contract [INFO] tweaked toml for git repo https://github.com/nguyenxuanha20210301/staking-contract written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nguyenxuanha20210301/staking-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/nguyenxuanha20210301/staking-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 cosmwasm-derive v2.2.2 [INFO] [stderr] Downloaded schemars_derive v0.8.22 [INFO] [stderr] Downloaded cw2 v2.0.0 [INFO] [stderr] Downloaded cw-storage-plus v2.0.0 [INFO] [stderr] Downloaded schemars v0.8.22 [INFO] [stderr] Downloaded cosmwasm-schema-derive v2.2.2 [INFO] [stderr] Downloaded cw-utils v2.0.0 [INFO] [stderr] Downloaded ed25519-zebra v4.0.3 [INFO] [stderr] Downloaded p256 v0.13.2 [INFO] [stderr] Downloaded primeorder v0.13.6 [INFO] [stderr] Downloaded serde-json-wasm v1.0.1 [INFO] [stderr] Downloaded cosmwasm-std v2.2.2 [INFO] [stderr] Downloaded bech32 v0.11.0 [INFO] [stderr] Downloaded bnum v0.11.0 [INFO] [stderr] Downloaded cosmwasm-schema v2.2.2 [INFO] [stderr] Downloaded cosmwasm-core v2.2.2 [INFO] [stderr] Downloaded dyn-clone v1.0.19 [INFO] [stderr] Downloaded ark-bls12-381 v0.4.0 [INFO] [stderr] Downloaded cosmwasm-crypto v2.2.2 [INFO] [stderr] Downloaded cw-multi-test v2.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c23c7441f424925a7fc5ae5736c1e3da3aff1a1434ade79841a3aa5e2b2ce260 [INFO] running `Command { std: "docker" "start" "-a" "c23c7441f424925a7fc5ae5736c1e3da3aff1a1434ade79841a3aa5e2b2ce260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c23c7441f424925a7fc5ae5736c1e3da3aff1a1434ade79841a3aa5e2b2ce260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c23c7441f424925a7fc5ae5736c1e3da3aff1a1434ade79841a3aa5e2b2ce260", kill_on_drop: false }` [INFO] [stdout] c23c7441f424925a7fc5ae5736c1e3da3aff1a1434ade79841a3aa5e2b2ce260 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b289227bc0d2968967004eca0750d42fa0d1652dc1748e4aafab23e8cdc80e7e [INFO] running `Command { std: "docker" "start" "-a" "b289227bc0d2968967004eca0750d42fa0d1652dc1748e4aafab23e8cdc80e7e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cosmwasm-core v2.2.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling semver v1.0.26 [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 ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cosmwasm-derive v2.2.2 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling cosmwasm-schema-derive v2.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [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 serde_json v1.0.140 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling serde-json-wasm v1.0.1 [INFO] [stderr] Compiling cosmwasm-schema v2.2.2 [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 cw-storage-plus v2.0.0 [INFO] [stderr] Compiling cw2 v2.0.0 [INFO] [stderr] Compiling staking-contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "b289227bc0d2968967004eca0750d42fa0d1652dc1748e4aafab23e8cdc80e7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b289227bc0d2968967004eca0750d42fa0d1652dc1748e4aafab23e8cdc80e7e", kill_on_drop: false }` [INFO] [stdout] b289227bc0d2968967004eca0750d42fa0d1652dc1748e4aafab23e8cdc80e7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b3b073fb403a4dd97f7642713e6c0f5ebb9600a24dfda1bcef856a544949478b [INFO] running `Command { std: "docker" "start" "-a" "b3b073fb403a4dd97f7642713e6c0f5ebb9600a24dfda1bcef856a544949478b", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling cw-utils v2.0.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling cw-multi-test v2.3.3 [INFO] [stderr] Compiling staking-contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::testing::mock_info`: This is inconvenient and unsafe. Use message_info instead. [INFO] [stdout] --> src/contract.rs:90:62 [INFO] [stdout] | [INFO] [stdout] 90 | use cosmwasm_std::testing::{mock_dependencies, mock_env, mock_info}; [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::testing::mock_info`: This is inconvenient and unsafe. Use message_info instead. [INFO] [stdout] --> src/contract.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | let info = mock_info("creator", &coins(1000, "earth")); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::testing::mock_info`: This is inconvenient and unsafe. Use message_info instead. [INFO] [stdout] --> src/contract.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | let info = mock_info("creator", &coins(2, "token")); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::testing::mock_info`: This is inconvenient and unsafe. Use message_info instead. [INFO] [stdout] --> src/contract.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | let info = mock_info("anyone", &coins(2, "token")); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::testing::mock_info`: This is inconvenient and unsafe. Use message_info instead. [INFO] [stdout] --> src/contract.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | let info = mock_info("creator", &coins(2, "token")); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::testing::mock_info`: This is inconvenient and unsafe. Use message_info instead. [INFO] [stdout] --> src/contract.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | let unauth_info = mock_info("anyone", &coins(2, "token")); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::testing::mock_info`: This is inconvenient and unsafe. Use message_info instead. [INFO] [stdout] --> src/contract.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | let auth_info = mock_info("creator", &coins(2, "token")); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.86s [INFO] running `Command { std: "docker" "inspect" "b3b073fb403a4dd97f7642713e6c0f5ebb9600a24dfda1bcef856a544949478b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b073fb403a4dd97f7642713e6c0f5ebb9600a24dfda1bcef856a544949478b", kill_on_drop: false }` [INFO] [stdout] b3b073fb403a4dd97f7642713e6c0f5ebb9600a24dfda1bcef856a544949478b