[INFO] cloning repository https://github.com/LoTerra/loterra-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/LoTerra/loterra-staking-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoTerra%2Floterra-staking-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoTerra%2Floterra-staking-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef8e3ce0455d02787a06ff2c7e440d218bebb2b8 [INFO] testing LoTerra/loterra-staking-contract against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoTerra%2Floterra-staking-contract" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/LoTerra/loterra-staking-contract [INFO] finished tweaking git repo https://github.com/LoTerra/loterra-staking-contract [INFO] tweaked toml for git repo https://github.com/LoTerra/loterra-staking-contract written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LoTerra/loterra-staking-contract on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LoTerra/loterra-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crypto-bigint v0.2.10 [INFO] [stderr] Downloaded const-oid v0.6.1 [INFO] [stderr] Downloaded crunchy v0.1.6 [INFO] [stderr] Downloaded cosmwasm-bignumber v2.2.0 [INFO] [stderr] Downloaded cw-controllers v0.9.1 [INFO] [stderr] Downloaded cw2 v0.9.1 [INFO] [stderr] Downloaded cosmwasm-schema v0.16.2 [INFO] [stderr] Downloaded bigint v4.4.3 [INFO] [stderr] Downloaded cw20 v0.9.0 [INFO] [stderr] Downloaded cw20-base v0.9.0 [INFO] [stderr] Downloaded cw-storage-plus v0.9.1 [INFO] [stderr] Downloaded subtle v2.4.0 [INFO] [stderr] Downloaded cpufeatures v0.1.4 [INFO] [stderr] Downloaded terra-cosmwasm v2.2.0 [INFO] [stderr] Downloaded syn v1.0.70 [INFO] [stderr] Downloaded cw0 v0.9.1 [INFO] [stderr] Downloaded cw4-group v0.9.1 [INFO] [stderr] Downloaded curve25519-dalek v3.1.0 [INFO] [stderr] Downloaded der v0.4.3 [INFO] [stderr] Downloaded cw4 v0.9.1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83ed4300e4c516e77a9dc28420bc64564b6626e4b01606ea942155c02c5df40c [INFO] running `Command { std: "docker" "start" "-a" "83ed4300e4c516e77a9dc28420bc64564b6626e4b01606ea942155c02c5df40c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83ed4300e4c516e77a9dc28420bc64564b6626e4b01606ea942155c02c5df40c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83ed4300e4c516e77a9dc28420bc64564b6626e4b01606ea942155c02c5df40c", kill_on_drop: false }` [INFO] [stdout] 83ed4300e4c516e77a9dc28420bc64564b6626e4b01606ea942155c02c5df40c [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8cdaac2232459f19a35e317c36811bbe547e23cb347ff8d64b0ded1922d8447b [INFO] running `Command { std: "docker" "start" "-a" "8cdaac2232459f19a35e317c36811bbe547e23cb347ff8d64b0ded1922d8447b", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling const-oid v0.6.1 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling der v0.4.3 [INFO] [stderr] Compiling bigint v4.4.3 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.2.10 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling elliptic-curve v0.10.6 [INFO] [stderr] Compiling ecdsa v0.12.4 [INFO] [stderr] Compiling k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling cosmwasm-derive v0.16.2 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling serde-json-wasm v0.3.1 [INFO] [stderr] Compiling cosmwasm-crypto v0.16.2 [INFO] [stderr] Compiling cosmwasm-std v0.16.2 [INFO] [stderr] Compiling cw-storage-plus v0.9.1 [INFO] [stderr] Compiling cw0 v0.9.1 [INFO] [stderr] Compiling cosmwasm-bignumber v2.2.0 [INFO] [stderr] Compiling terra-cosmwasm v2.2.0 [INFO] [stderr] Compiling cw20 v0.9.0 [INFO] [stderr] Compiling cw-controllers v0.9.1 [INFO] [stderr] Compiling cw4 v0.9.1 [INFO] [stderr] Compiling cw2 v0.9.1 [INFO] [stderr] Compiling cw4-group v0.9.1 [INFO] [stderr] Compiling loterra-staking-contract v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.87s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "8cdaac2232459f19a35e317c36811bbe547e23cb347ff8d64b0ded1922d8447b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cdaac2232459f19a35e317c36811bbe547e23cb347ff8d64b0ded1922d8447b", kill_on_drop: false }` [INFO] [stdout] 8cdaac2232459f19a35e317c36811bbe547e23cb347ff8d64b0ded1922d8447b [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 58f36cd75f1d091dd719217a93e42bb8935650990087552836e1bfa876171269 [INFO] running `Command { std: "docker" "start" "-a" "58f36cd75f1d091dd719217a93e42bb8935650990087552836e1bfa876171269", kill_on_drop: false }` [INFO] [stderr] Compiling cosmwasm-schema v0.16.2 [INFO] [stderr] Compiling cw20-base v0.9.0 [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling loterra-staking-contract v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.97s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "58f36cd75f1d091dd719217a93e42bb8935650990087552836e1bfa876171269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f36cd75f1d091dd719217a93e42bb8935650990087552836e1bfa876171269", kill_on_drop: false }` [INFO] [stdout] 58f36cd75f1d091dd719217a93e42bb8935650990087552836e1bfa876171269 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4ce9b0e6c0f80adcc3c5d94357a574b045a01ebdc695bb3e90abef3c9bb61885 [INFO] running `Command { std: "docker" "start" "-a" "4ce9b0e6c0f80adcc3c5d94357a574b045a01ebdc695bb3e90abef3c9bb61885", kill_on_drop: false }` [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: `loterra-staking-contract` (lib) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/loterra_staking_contract-b4cb1577d39c2276) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test math::tests::test_decimal_multiplication ... ok [INFO] [stdout] test math::tests::test_decimal_sumation ... ok [INFO] [stdout] test math::tests::test_decimal_subtraction ... ok [INFO] [stdout] test math::tests::test_decimal_subtraction_in_256 ... ok [INFO] [stdout] test math::tests::test_decimal_multiplication_in_256 ... ok [INFO] [stdout] test math::tests::test_decimal_sumation_in_256 ... ok [INFO] [stdout] test testing::tests::tests::proper_init ... ok [INFO] [stdout] test testing::tests::tests::unbond_stake ... ok [INFO] [stdout] test testing::tests::tests::claim_rewards ... ok [INFO] [stdout] test testing::tests::tests::withdraw_stake ... ok [INFO] [stdout] test user::tests::proper_calculate_rewards ... ok [INFO] [stdout] test testing::tests::tests::update_global_index ... ok [INFO] [stdout] test testing::tests::tests::claim_rewards_with_decimals ... ok [INFO] [stdout] test testing::tests::tests::query_holders ... ok [INFO] [stdout] test testing::tests::tests::withdraw_stake_cap ... ok [INFO] [stdout] test testing::tests::tests::increase_balance ... ok [INFO] [stdout] test user::tests::proper_get_decimals ... ok [INFO] [stdout] test testing::tests::tests::proper_prev_balance ... ok [INFO] [stdout] test testing::tests::tests::increase_balance_with_decimals ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4ce9b0e6c0f80adcc3c5d94357a574b045a01ebdc695bb3e90abef3c9bb61885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ce9b0e6c0f80adcc3c5d94357a574b045a01ebdc695bb3e90abef3c9bb61885", kill_on_drop: false }` [INFO] [stdout] 4ce9b0e6c0f80adcc3c5d94357a574b045a01ebdc695bb3e90abef3c9bb61885