[INFO] cloning repository https://github.com/kingpig-dev/lottery_contracts
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kingpig-dev/lottery_contracts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingpig-dev%2Flottery_contracts", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingpig-dev%2Flottery_contracts'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ab5084f95d0d4ff2c248e953a61bdca571341a2a
[INFO] testing kingpig-dev/lottery_contracts against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingpig-dev%2Flottery_contracts" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/kingpig-dev/lottery_contracts
[INFO] finished tweaking git repo https://github.com/kingpig-dev/lottery_contracts
[INFO] tweaked toml for git repo https://github.com/kingpig-dev/lottery_contracts written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kingpig-dev/lottery_contracts on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kingpig-dev/lottery_contracts 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 10 packages to highest compatible versions
[INFO] [stderr]       Adding base64 v0.12.3 (available: v0.23.1)
[INFO] [stderr]       Adding ppv-lite86 v0.2.21
[INFO] [stderr]     Updating proc-macro2 v1.0.39 -> v1.0.107
[INFO] [stderr]     Updating quote v1.0.18 -> v1.0.47
[INFO] [stderr]       Adding rand v0.7.3 (available: v0.10.2)
[INFO] [stderr]       Adding rand_chacha v0.2.2 (available: v0.10.0)
[INFO] [stderr]       Adding rand_hc v0.2.0
[INFO] [stderr]       Adding syn v2.0.119
[INFO] [stderr]       Adding zerocopy v0.8.56
[INFO] [stderr]       Adding zerocopy-derive v0.8.56
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0fce12f488ee0123182c4e52b439ec56e444f8aa99572c4d9c21b43adb0ed933
[INFO] running `Command { std: "docker" "start" "0fce12f488ee0123182c4e52b439ec56e444f8aa99572c4d9c21b43adb0ed933", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0fce12f488ee0123182c4e52b439ec56e444f8aa99572c4d9c21b43adb0ed933", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0fce12f488ee0123182c4e52b439ec56e444f8aa99572c4d9c21b43adb0ed933" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0fce12f488ee0123182c4e52b439ec56e444f8aa99572c4d9c21b43adb0ed933", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0fce12f488ee0123182c4e52b439ec56e444f8aa99572c4d9c21b43adb0ed933" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling zeroize v1.5.5
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling const-oid v0.7.1
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling base64ct v1.5.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling base16ct v0.1.1
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling der v0.5.1
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling schemars v0.8.9
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling dyn-clone v1.0.5
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling forward_ref v1.0.0
[INFO] [stderr]    Compiling zerocopy v0.8.56
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling uint v0.9.3
[INFO] [stderr]    Compiling spki v0.5.4
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling pkcs8 v0.8.0
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling ff v0.11.1
[INFO] [stderr]    Compiling group v0.11.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.11.1
[INFO] [stderr]    Compiling crypto-bigint v0.3.2
[INFO] [stderr]    Compiling sec1 v0.2.1
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling hmac v0.11.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling signature v1.4.0
[INFO] [stderr]    Compiling curve25519-dalek v3.2.0
[INFO] [stderr]    Compiling elliptic-curve v0.11.12
[INFO] [stderr]    Compiling rfc6979 v0.1.0
[INFO] [stderr]    Compiling ecdsa v0.13.4
[INFO] [stderr]    Compiling k256 v0.10.4
[INFO] [stderr]    Compiling serde_derive_internals v0.26.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling cosmwasm-derive v1.0.0
[INFO] [stderr]    Compiling schemars_derive v0.8.9
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling ed25519-zebra v3.0.0
[INFO] [stderr]    Compiling serde-json-wasm v0.4.1
[INFO] [stderr]    Compiling cosmwasm-crypto v1.0.0
[INFO] [stderr]    Compiling cosmwasm-std v1.0.0
[INFO] [stderr]    Compiling cw-storage-plus v0.13.2
[INFO] [stderr]    Compiling cw-utils v0.13.2
[INFO] [stderr]    Compiling cosmwasm-storage v1.0.0
[INFO] [stderr]    Compiling cw20 v0.13.2
[INFO] [stderr]    Compiling cw2 v0.13.2
[INFO] [stderr]    Compiling cw4 v0.13.2
[INFO] [stderr]    Compiling fury v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 34.55s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cosmwasm-std v1.0.0
[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" "0fce12f488ee0123182c4e52b439ec56e444f8aa99572c4d9c21b43adb0ed933", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0fce12f488ee0123182c4e52b439ec56e444f8aa99572c4d9c21b43adb0ed933" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling zeroize v1.5.5
[INFO] [stderr]    Compiling const-oid v0.7.1
[INFO] [stderr]    Compiling base64ct v1.5.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling base16ct v0.1.1
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling dyn-clone v1.0.5
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling der v0.5.1
[INFO] [stderr]    Compiling forward_ref v1.0.0
[INFO] [stderr]    Compiling anyhow v1.0.57
[INFO] [stderr]    Compiling zerocopy v0.8.56
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling uint v0.9.3
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling spki v0.5.4
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling pkcs8 v0.8.0
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling ff v0.11.1
[INFO] [stderr]    Compiling group v0.11.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.11.1
[INFO] [stderr]    Compiling crypto-bigint v0.3.2
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sec1 v0.2.1
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling signature v1.4.0
[INFO] [stderr]    Compiling curve25519-dalek v3.2.0
[INFO] [stderr]    Compiling hmac v0.11.0
[INFO] [stderr]    Compiling prost-derive v0.9.0
[INFO] [stderr]    Compiling rfc6979 v0.1.0
[INFO] [stderr]    Compiling elliptic-curve v0.11.12
[INFO] [stderr]    Compiling ecdsa v0.13.4
[INFO] [stderr]    Compiling prost v0.9.0
[INFO] [stderr]    Compiling k256 v0.10.4
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling ed25519-zebra v3.0.0
[INFO] [stderr]    Compiling serde-json-wasm v0.4.1
[INFO] [stderr]    Compiling cosmwasm-crypto v1.0.0
[INFO] [stderr]    Compiling schemars v0.8.9
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling cosmwasm-std v1.0.0
[INFO] [stderr]    Compiling cosmwasm-schema v1.0.0
[INFO] [stderr]    Compiling cw-storage-plus v0.13.2
[INFO] [stderr]    Compiling cw-utils v0.13.2
[INFO] [stderr]    Compiling cosmwasm-storage v1.0.0
[INFO] [stderr]    Compiling cw20 v0.13.2
[INFO] [stderr]    Compiling cw2 v0.13.2
[INFO] [stderr]    Compiling cw4 v0.13.2
[INFO] [stderr]    Compiling cw-multi-test v0.13.2
[INFO] [stderr]    Compiling fury v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 01s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cosmwasm-std v1.0.0
[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" "0fce12f488ee0123182c4e52b439ec56e444f8aa99572c4d9c21b43adb0ed933", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0fce12f488ee0123182c4e52b439ec56e444f8aa99572c4d9c21b43adb0ed933" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.12s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cosmwasm-std v1.0.0
[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/release/deps/fury-6e3b72ec90a96eda)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test rand::tests::test_rng ... ok
[INFO] [stdout] test contract::tests::join_raffle_round ... ok
[INFO] [stdout] test contract::tests::choose_winners ... FAILED
[INFO] [stdout] test contract::tests::begin_raffle_round ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- contract::tests::choose_winners stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'contract::tests::choose_winners' (1873) panicked at src/contract.rs:505:74:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: RaffleNotEnded
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x57661a2f0d97 - <<std[104cf6e2632825ea]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[7c831bd917ebf35f]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x57661a2a4f8a - core[7c831bd917ebf35f]::fmt::write
[INFO] [stdout]    2:     0x57661a2f034b - <alloc[2fdc3f7464fcf288]::vec::Vec<u8> as core[7c831bd917ebf35f]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x57661a2efe2f - std[104cf6e2632825ea]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x57661a2efa5a - std[104cf6e2632825ea]::panicking::default_hook
[INFO] [stdout]    5:     0x57661a2ef592 - std[104cf6e2632825ea]::panicking::panic_with_hook
[INFO] [stdout]    6:     0x57661a3169b1 - std[104cf6e2632825ea]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    7:     0x57661a316969 - std[104cf6e2632825ea]::sys::backtrace::__rust_end_short_backtrace::<std[104cf6e2632825ea]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    8:     0x57661a316e7c - __rustc[b0d56fa5b193ad05]::rust_begin_unwind
[INFO] [stdout]    9:     0x57661a2a4e1b - core[7c831bd917ebf35f]::panicking::panic_fmt
[INFO] [stdout]   10:     0x57661a2a8301 - core[7c831bd917ebf35f]::result::unwrap_failed
[INFO] [stdout]   11:     0x57661a2a063e - <fury[10562da2aa7b3fc8]::contract::tests::choose_winners::{closure#0} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   12:     0x57661a32f33b - test[73009c9f9aebf890]::__rust_begin_short_backtrace::<core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>, fn() -> core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>>
[INFO] [stdout]   13:     0x57661a32a94f - test[73009c9f9aebf890]::run_test::{closure#0}
[INFO] [stdout]   14:     0x57661a32a3cc - std[104cf6e2632825ea]::sys::backtrace::__rust_begin_short_backtrace::<test[73009c9f9aebf890]::run_test::{closure#1}, ()>
[INFO] [stdout]   15:     0x57661a3472bc - <std[104cf6e2632825ea]::thread::lifecycle::spawn_unchecked<test[73009c9f9aebf890]::run_test::{closure#1}, ()>::{closure#1} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   16:     0x57661a318232 - <std[104cf6e2632825ea]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   17:     0x7910c007307a - <unknown>
[INFO] [stdout]   18:     0x7910c0106534 - clone
[INFO] [stdout]   19:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     contract::tests::choose_winners
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0fce12f488ee0123182c4e52b439ec56e444f8aa99572c4d9c21b43adb0ed933", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fce12f488ee0123182c4e52b439ec56e444f8aa99572c4d9c21b43adb0ed933", kill_on_drop: false }`
[INFO] [stdout] 0fce12f488ee0123182c4e52b439ec56e444f8aa99572c4d9c21b43adb0ed933
