[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_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoTerra%2Floterra-staking-contract" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-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-0-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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-json-wasm v0.3.1 [INFO] [stderr] Downloaded terra-cosmwasm v2.2.0 [INFO] [stderr] Downloaded schemars_derive v0.8.3 [INFO] [stderr] Downloaded cosmwasm-derive v0.16.2 [INFO] [stderr] Downloaded serde_derive_internals v0.25.0 [INFO] [stderr] Downloaded cosmwasm-bignumber v2.2.0 [INFO] [stderr] Downloaded cosmwasm-schema v0.16.2 [INFO] [stderr] Downloaded cosmwasm-crypto v0.16.2 [INFO] [stderr] Downloaded cw0 v0.9.1 [INFO] [stderr] Downloaded schemars v0.8.3 [INFO] [stderr] Downloaded crunchy v0.1.6 [INFO] [stderr] Downloaded cw-storage-plus v0.9.1 [INFO] [stderr] Downloaded k256 v0.9.6 [INFO] [stderr] Downloaded cosmwasm-std v0.16.2 [INFO] [stderr] Downloaded cw4-group v0.9.1 [INFO] [stderr] Downloaded crypto-bigint v0.2.10 [INFO] [stderr] Downloaded const-oid v0.6.1 [INFO] [stderr] Downloaded elliptic-curve v0.10.6 [INFO] [stderr] Downloaded bigint v4.4.3 [INFO] [stderr] Downloaded cw2 v0.9.1 [INFO] [stderr] Downloaded ed25519-zebra v2.2.0 [INFO] [stderr] Downloaded der v0.4.3 [INFO] [stderr] Downloaded cw-controllers v0.9.1 [INFO] [stderr] Downloaded cw20 v0.9.0 [INFO] [stderr] Downloaded cw4 v0.9.1 [INFO] [stderr] Downloaded cw20-base v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f89e7b8d1c6d75ae38898b2310915c32381cad3352d5c92b16266237781eebc5 [INFO] running `Command { std: "docker" "start" "-a" "f89e7b8d1c6d75ae38898b2310915c32381cad3352d5c92b16266237781eebc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f89e7b8d1c6d75ae38898b2310915c32381cad3352d5c92b16266237781eebc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f89e7b8d1c6d75ae38898b2310915c32381cad3352d5c92b16266237781eebc5", kill_on_drop: false }` [INFO] [stdout] f89e7b8d1c6d75ae38898b2310915c32381cad3352d5c92b16266237781eebc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e0fdfed6ed5af491338ff14bdf9ff884b6e8d47d4f2f9252899b6f94c0b03803 [INFO] running `Command { std: "docker" "start" "-a" "e0fdfed6ed5af491338ff14bdf9ff884b6e8d47d4f2f9252899b6f94c0b03803", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling const-oid v0.6.1 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling der v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cpufeatures v0.1.4 [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 uint v0.9.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bigint v4.4.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling pkcs8 v0.7.6 [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 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 cw4 v0.9.1 [INFO] [stderr] Compiling cw2 v0.9.1 [INFO] [stderr] Compiling cw-controllers 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 45.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" "e0fdfed6ed5af491338ff14bdf9ff884b6e8d47d4f2f9252899b6f94c0b03803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0fdfed6ed5af491338ff14bdf9ff884b6e8d47d4f2f9252899b6f94c0b03803", kill_on_drop: false }` [INFO] [stdout] e0fdfed6ed5af491338ff14bdf9ff884b6e8d47d4f2f9252899b6f94c0b03803 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f94237b8f7bf04b678ce7fb74f2a71fba5a602e9a274b7c0b4d83fdee649dc90 [INFO] running `Command { std: "docker" "start" "-a" "f94237b8f7bf04b678ce7fb74f2a71fba5a602e9a274b7c0b4d83fdee649dc90", 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 4.68s [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" "f94237b8f7bf04b678ce7fb74f2a71fba5a602e9a274b7c0b4d83fdee649dc90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f94237b8f7bf04b678ce7fb74f2a71fba5a602e9a274b7c0b4d83fdee649dc90", kill_on_drop: false }` [INFO] [stdout] f94237b8f7bf04b678ce7fb74f2a71fba5a602e9a274b7c0b4d83fdee649dc90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3c691b428d3c2bd03277648263c8f8649f66b13b9d607d00b1a989f4ac8fc874 [INFO] running `Command { std: "docker" "start" "-a" "3c691b428d3c2bd03277648263c8f8649f66b13b9d607d00b1a989f4ac8fc874", 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.07s [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-c832acf316729063) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test math::tests::test_decimal_subtraction ... ok [INFO] [stdout] test math::tests::test_decimal_multiplication ... ok [INFO] [stdout] test math::tests::test_decimal_multiplication_in_256 ... ok [INFO] [stdout] test math::tests::test_decimal_sumation ... ok [INFO] [stdout] test math::tests::test_decimal_subtraction_in_256 ... ok [INFO] [stdout] test math::tests::test_decimal_sumation_in_256 ... ok [INFO] [stdout] test testing::tests::tests::increase_balance ... ok [INFO] [stdout] test testing::tests::tests::claim_rewards_with_decimals ... ok [INFO] [stdout] test testing::tests::tests::proper_init ... ok [INFO] [stdout] test testing::tests::tests::update_global_index ... ok [INFO] [stdout] test testing::tests::tests::claim_rewards ... ok [INFO] [stdout] test testing::tests::tests::increase_balance_with_decimals ... ok [INFO] [stdout] test testing::tests::tests::query_holders ... ok [INFO] [stdout] test testing::tests::tests::withdraw_stake ... ok [INFO] [stdout] test user::tests::proper_calculate_rewards ... ok [INFO] [stdout] test user::tests::proper_get_decimals ... ok [INFO] [stdout] test testing::tests::tests::withdraw_stake_cap ... ok [INFO] [stdout] test testing::tests::tests::proper_prev_balance ... ok [INFO] [stdout] test testing::tests::tests::unbond_stake ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests loterra_staking_contract [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" "3c691b428d3c2bd03277648263c8f8649f66b13b9d607d00b1a989f4ac8fc874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c691b428d3c2bd03277648263c8f8649f66b13b9d607d00b1a989f4ac8fc874", kill_on_drop: false }` [INFO] [stdout] 3c691b428d3c2bd03277648263c8f8649f66b13b9d607d00b1a989f4ac8fc874