[INFO] cloning repository https://github.com/noislabs/nois [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/noislabs/nois" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoislabs%2Fnois", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoislabs%2Fnois'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 409f9e702e8a2548dfafb90ab8d5f13d361497f1 [INFO] testing noislabs/nois against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoislabs%2Fnois" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/noislabs/nois on toolchain 1871252fc8bb672d40787e67404e6eaae7059369 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/noislabs/nois [INFO] finished tweaking git repo https://github.com/noislabs/nois [INFO] tweaked toml for git repo https://github.com/noislabs/nois written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/noislabs/nois 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signature v1.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcf6aac6d50e493925c7667ec71793f2fe8a22203bb4026c529dc97da43bf753 [INFO] running `Command { std: "docker" "start" "-a" "fcf6aac6d50e493925c7667ec71793f2fe8a22203bb4026c529dc97da43bf753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcf6aac6d50e493925c7667ec71793f2fe8a22203bb4026c529dc97da43bf753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf6aac6d50e493925c7667ec71793f2fe8a22203bb4026c529dc97da43bf753", kill_on_drop: false }` [INFO] [stdout] fcf6aac6d50e493925c7667ec71793f2fe8a22203bb4026c529dc97da43bf753 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 284a6f789cdd6efcc65e7e3b7802e8e7c9fc838cfcb2e2d34b7b9415279edb2f [INFO] running `Command { std: "docker" "start" "-a" "284a6f789cdd6efcc65e7e3b7802e8e7c9fc838cfcb2e2d34b7b9415279edb2f", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling const-oid v0.9.0 [INFO] [stderr] Compiling base64ct v1.5.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling der v0.6.0 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling schemars v0.8.10 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dyn-clone v1.0.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling xxhash-rust v0.8.5 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ff v0.12.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling group v0.12.0 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.4.8 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v1.6.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling rfc6979 v0.3.0 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling ecdsa v0.14.5 [INFO] [stderr] Compiling k256 v0.11.4 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling schemars_derive v0.8.10 [INFO] [stderr] Compiling cosmwasm-schema-derive v1.1.8 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-derive v1.1.8 [INFO] [stderr] Compiling thiserror v1.0.34 [INFO] [stderr] Compiling ed25519-zebra v3.0.0 [INFO] [stderr] Compiling serde-json-wasm v0.4.1 [INFO] [stderr] Compiling cosmwasm-crypto v1.1.8 [INFO] [stderr] Compiling cosmwasm-schema v1.1.8 [INFO] [stderr] Compiling cosmwasm-std v1.1.8 [INFO] [stderr] Compiling nois v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.94s [INFO] running `Command { std: "docker" "inspect" "284a6f789cdd6efcc65e7e3b7802e8e7c9fc838cfcb2e2d34b7b9415279edb2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "284a6f789cdd6efcc65e7e3b7802e8e7c9fc838cfcb2e2d34b7b9415279edb2f", kill_on_drop: false }` [INFO] [stdout] 284a6f789cdd6efcc65e7e3b7802e8e7c9fc838cfcb2e2d34b7b9415279edb2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a48ffef46aa9f5c9682ee295ecb649d01bd54a8e625c6dd6365da7752b6feab [INFO] running `Command { std: "docker" "start" "-a" "6a48ffef46aa9f5c9682ee295ecb649d01bd54a8e625c6dd6365da7752b6feab", kill_on_drop: false }` [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling nois v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "6a48ffef46aa9f5c9682ee295ecb649d01bd54a8e625c6dd6365da7752b6feab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a48ffef46aa9f5c9682ee295ecb649d01bd54a8e625c6dd6365da7752b6feab", kill_on_drop: false }` [INFO] [stdout] 6a48ffef46aa9f5c9682ee295ecb649d01bd54a8e625c6dd6365da7752b6feab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 06acc448cf905710904b651de920e3f9bee57b811f2cf4ee218fc4acb5346a17 [INFO] running `Command { std: "docker" "start" "-a" "06acc448cf905710904b651de920e3f9bee57b811f2cf4ee218fc4acb5346a17", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nois-917cb74dcb429dc9) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test coinflip::tests::coinflip_works ... ok [INFO] [stdout] test coinflip::tests::side_is_heads_and_is_tails_works ... ok [INFO] [stdout] test coinflip::tests::side_implements_display ... ok [INFO] [stdout] test decimal::tests::u128_from_parts_works ... ok [INFO] [stdout] test dice::tests::roll_dice_works ... ok [INFO] [stdout] test encoding::tests::randomness_from_str_works ... ok [INFO] [stdout] test integers::tests::int_in_range_works ... ok [INFO] [stdout] test integers::tests::ints_in_range_works ... ok [INFO] [stdout] test pick::tests::pick_all_performs_full_shuffle_works ... ok [INFO] [stdout] test pick::tests::pick_works ... ok [INFO] [stdout] test proxy::tests::receiver_execute_msg_serializes_nicely ... ok [INFO] [stdout] test select_from_weighted::tests::select_from_weighted_fails_on_element_weight_less_than_1 ... ok [INFO] [stdout] test select_from_weighted::tests::select_from_weighted_fails_on_empty_list ... ok [INFO] [stdout] test select_from_weighted::tests::select_from_weighted_fails_with_total_weight_too_high ... ok [INFO] [stdout] test shuffle::tests::shuffle_works ... ok [INFO] [stdout] test simulator::tests::simulator_works ... ok [INFO] [stdout] test select_from_weighted::tests::select_from_weighted_works ... ok [INFO] [stdout] test sub_randomness::tests::sub_randomness_implements_iterator ... ok [INFO] [stdout] test sub_randomness::tests::sub_randomness_works ... ok [INFO] [stdout] test sub_randomness::tests::sub_randomness_with_key_works ... ok [INFO] [stdout] test integers::tests::int_in_range_panicks_for_empty - should panic ... ok [INFO] [stdout] test pick::tests::pick_panicks_for_n_greater_than_len - should panic ... ok [INFO] [stdout] test decimal::tests::random_decimal_works ... ok [INFO] [stdout] test sub_randomness::tests::coinflip_distribution_is_uniform ... ok [INFO] [stdout] test coinflip::tests::coinflip_distribution_is_uniform ... ok [INFO] [stdout] test shuffle::tests::shuffle_distribution_is_uniform ... ok [INFO] [stdout] test dice::tests::roll_dice_is_uniformly_distributes ... ok [INFO] [stdout] test pick::tests::pick_distribution_is_uniform ... ok [INFO] [stdout] test sub_randomness::tests::pick_distribution_is_uniform ... ok [INFO] [stdout] test simulator::tests::coinflip_distribution_is_uniform ... ok [INFO] [stdout] test select_from_weighted::tests::select_from_weighted_distribution_is_uniform ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.06s [INFO] [stdout] [INFO] [stderr] Doc-tests nois [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/dice.rs - dice::roll_dice (line 20) ... ok [INFO] [stdout] test src/select_from_weighted.rs - select_from_weighted::select_from_weighted (line 18) ... ok [INFO] [stdout] test src/integers.rs - integers::int_in_range (line 20) ... ok [INFO] [stdout] test src/shuffle.rs - shuffle::shuffle (line 48) ... ok [INFO] [stdout] test src/simulator.rs - simulator::randomness_simulator (line 14) ... ok [INFO] [stdout] test src/shuffle.rs - shuffle::shuffle (line 29) ... ok [INFO] [stdout] test src/sub_randomness.rs - sub_randomness::sub_randomness (line 85) ... ok [INFO] [stdout] test src/dice.rs - dice::roll_dice (line 9) ... ok [INFO] [stdout] test src/integers.rs - integers::ints_in_range (line 72) ... ok [INFO] [stdout] test src/sub_randomness.rs - sub_randomness::sub_randomness_with_key (line 34) ... ok [INFO] [stdout] test src/shuffle.rs - shuffle::shuffle (line 14) ... ok [INFO] [stdout] test src/coinflip.rs - coinflip::coinflip (line 37) ... ok [INFO] [stdout] test src/integers.rs - integers::int_in_range (line 31) ... ok [INFO] [stdout] test src/pick.rs - pick::pick (line 14) ... ok [INFO] [stdout] test src/pick.rs - pick::pick (line 28) ... ok [INFO] [stdout] test src/sub_randomness.rs - sub_randomness::sub_randomness (line 69) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.36s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "06acc448cf905710904b651de920e3f9bee57b811f2cf4ee218fc4acb5346a17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06acc448cf905710904b651de920e3f9bee57b811f2cf4ee218fc4acb5346a17", kill_on_drop: false }` [INFO] [stdout] 06acc448cf905710904b651de920e3f9bee57b811f2cf4ee218fc4acb5346a17