[INFO] cloning repository https://github.com/gangov/vrf-poker-activity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gangov/vrf-poker-activity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgangov%2Fvrf-poker-activity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgangov%2Fvrf-poker-activity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33bef837895fb670b44bce4d40173caabd0950e4 [INFO] testing gangov/vrf-poker-activity against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgangov%2Fvrf-poker-activity" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gangov/vrf-poker-activity [INFO] finished tweaking git repo https://github.com/gangov/vrf-poker-activity [INFO] tweaked toml for git repo https://github.com/gangov/vrf-poker-activity written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gangov/vrf-poker-activity on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gangov/vrf-poker-activity 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 240de9a7888d320435dfadf97402936561f7db750f397fdd4ee038383b75726a [INFO] running `Command { std: "docker" "start" "-a" "240de9a7888d320435dfadf97402936561f7db750f397fdd4ee038383b75726a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "240de9a7888d320435dfadf97402936561f7db750f397fdd4ee038383b75726a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "240de9a7888d320435dfadf97402936561f7db750f397fdd4ee038383b75726a", kill_on_drop: false }` [INFO] [stdout] 240de9a7888d320435dfadf97402936561f7db750f397fdd4ee038383b75726a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1a5d374c8f19ac74dc759f1b09130f6105a05c022b12f9951ed6b5c5523fe79 [INFO] running `Command { std: "docker" "start" "-a" "e1a5d374c8f19ac74dc759f1b09130f6105a05c022b12f9951ed6b5c5523fe79", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.36.17 [INFO] [stderr] Compiling wasmtime-runtime v6.0.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Compiling sp-std v5.0.0 (https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60a) [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling memfd v0.6.4 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling wasmtime-jit-debug v6.0.2 [INFO] [stderr] Compiling wasmtime-asm-macros v6.0.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v6.0.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling parity-wasm v0.45.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling wasmtime v6.0.2 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling wasmi_core v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling wasmi-validation v0.5.0 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling crypto-mac v0.11.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling wasmi v0.13.2 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling environmental v1.1.4 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling scale-info-derive v2.11.3 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling sp-debug-derive v5.0.0 (https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60a) [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling tiny-bip39 v1.0.0 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling ed25519-zebra v3.1.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling sp-core-hashing v5.0.0 (https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60a) [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling array-bytes v4.2.0 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling secp256k1 v0.24.3 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v6.0.0 (https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60a) [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling parity-scale-codec v3.6.12 [INFO] [stderr] Compiling cranelift-entity v0.93.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling wasmparser v0.100.0 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling ss58-registry v1.47.0 [INFO] [stderr] Compiling scale-info v2.11.3 [INFO] [stderr] Compiling sp-storage v7.0.0 (https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60a) [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling substrate-bip39 v0.4.6 [INFO] [stderr] Compiling sp-externalities v0.13.0 (https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60a) [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling bounded-collections v0.1.9 [INFO] [stderr] Compiling sp-tracing v6.0.0 (https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60a) [INFO] [stderr] Compiling wasmtime-types v6.0.2 [INFO] [stderr] Compiling wasmtime-environ v6.0.2 [INFO] [stderr] Compiling wasmtime-jit v6.0.2 [INFO] [stderr] Compiling sp-wasm-interface v7.0.0 (https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60a) [INFO] [stderr] Compiling sp-runtime-interface v7.0.0 (https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60a) [INFO] [stderr] Compiling sp-core v7.0.0 (https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#ff24c60a) [INFO] [stderr] Compiling vrf-poker-activity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | for mut one in &mut game.players { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DrawCardResult` is never used [INFO] [stdout] --> src/lib.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type DrawCardResult = (VRFInOut, VRFProof, VRFProofBatchable); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Poker` is never constructed [INFO] [stdout] --> src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Poker { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl Poker { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 20 | fn new(players: Vec, input: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Player` is never constructed [INFO] [stdout] --> src/lib.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 37 | impl Player { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 38 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_key_pairs` is never used [INFO] [stdout] --> src/lib.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_key_pairs(number_of_players: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_input` is never used [INFO] [stdout] --> src/lib.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn generate_input(game: &mut Poker) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_card` is never used [INFO] [stdout] --> src/lib.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn draw_card(game: &mut Poker) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_best_player` is never used [INFO] [stdout] --> src/lib.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn find_best_player(all_players: &Vec) -> &Player { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_best_player` is never used [INFO] [stdout] --> src/lib.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn verify_best_player(player: Player, poker_game: Poker) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "e1a5d374c8f19ac74dc759f1b09130f6105a05c022b12f9951ed6b5c5523fe79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1a5d374c8f19ac74dc759f1b09130f6105a05c022b12f9951ed6b5c5523fe79", kill_on_drop: false }` [INFO] [stdout] e1a5d374c8f19ac74dc759f1b09130f6105a05c022b12f9951ed6b5c5523fe79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55b463892e9e0a1cdd8a86de618ec65a86feb7363081e4f8c37dcd0579939232 [INFO] running `Command { std: "docker" "start" "-a" "55b463892e9e0a1cdd8a86de618ec65a86feb7363081e4f8c37dcd0579939232", kill_on_drop: false }` [INFO] [stderr] Compiling vrf-poker-activity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | for mut one in &mut game.players { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DrawCardResult` is never used [INFO] [stdout] --> src/lib.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type DrawCardResult = (VRFInOut, VRFProof, VRFProofBatchable); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Poker` is never constructed [INFO] [stdout] --> src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Poker { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl Poker { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 20 | fn new(players: Vec, input: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Player` is never constructed [INFO] [stdout] --> src/lib.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 37 | impl Player { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 38 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_key_pairs` is never used [INFO] [stdout] --> src/lib.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn generate_key_pairs(number_of_players: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_input` is never used [INFO] [stdout] --> src/lib.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn generate_input(game: &mut Poker) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_card` is never used [INFO] [stdout] --> src/lib.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn draw_card(game: &mut Poker) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_best_player` is never used [INFO] [stdout] --> src/lib.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn find_best_player(all_players: &Vec) -> &Player { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_best_player` is never used [INFO] [stdout] --> src/lib.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn verify_best_player(player: Player, poker_game: Poker) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp_core::crypto::UncheckedInto` [INFO] [stdout] --> src/lib.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | use sp_core::crypto::UncheckedInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | for mut one in &mut game.players { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let mut players = generate_key_pairs(4); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.56s [INFO] running `Command { std: "docker" "inspect" "55b463892e9e0a1cdd8a86de618ec65a86feb7363081e4f8c37dcd0579939232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b463892e9e0a1cdd8a86de618ec65a86feb7363081e4f8c37dcd0579939232", kill_on_drop: false }` [INFO] [stdout] 55b463892e9e0a1cdd8a86de618ec65a86feb7363081e4f8c37dcd0579939232 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c045804f2daecc0531aac6048ab774ce8599dc89f6c1c3dc2bf1fc00b3175683 [INFO] running `Command { std: "docker" "start" "-a" "c045804f2daecc0531aac6048ab774ce8599dc89f6c1c3dc2bf1fc00b3175683", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/lib.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:92:7 [INFO] [stderr] | [INFO] [stderr] 92 | for mut one in &mut game.players { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `DrawCardResult` is never used [INFO] [stderr] --> src/lib.rs:11:6 [INFO] [stderr] | [INFO] [stderr] 11 | type DrawCardResult = (VRFInOut, VRFProof, VRFProofBatchable); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Poker` is never constructed [INFO] [stderr] --> src/lib.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | struct Poker { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/lib.rs:20:6 [INFO] [stderr] | [INFO] [stderr] 19 | impl Poker { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 20 | fn new(players: Vec, input: Option) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Player` is never constructed [INFO] [stderr] --> src/lib.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | struct Player { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/lib.rs:38:6 [INFO] [stderr] | [INFO] [stderr] 37 | impl Player { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 38 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_key_pairs` is never used [INFO] [stderr] --> src/lib.rs:50:4 [INFO] [stderr] | [INFO] [stderr] 50 | fn generate_key_pairs(number_of_players: u8) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_input` is never used [INFO] [stderr] --> src/lib.rs:59:4 [INFO] [stderr] | [INFO] [stderr] 59 | fn generate_input(game: &mut Poker) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `draw_card` is never used [INFO] [stderr] --> src/lib.rs:89:4 [INFO] [stderr] | [INFO] [stderr] 89 | fn draw_card(game: &mut Poker) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_best_player` is never used [INFO] [stderr] --> src/lib.rs:98:4 [INFO] [stderr] | [INFO] [stderr] 98 | fn find_best_player(all_players: &Vec) -> &Player { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `verify_best_player` is never used [INFO] [stderr] --> src/lib.rs:120:4 [INFO] [stderr] | [INFO] [stderr] 120 | fn verify_best_player(player: Player, poker_game: Poker) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sp_core::crypto::UncheckedInto` [INFO] [stderr] --> src/lib.rs:140:7 [INFO] [stderr] | [INFO] [stderr] 140 | use sp_core::crypto::UncheckedInto; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/lib.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:173:9 [INFO] [stderr] | [INFO] [stderr] 173 | let mut players = generate_key_pairs(4); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `vrf-poker-activity` (lib) generated 12 warnings (run `cargo fix --lib -p vrf-poker-activity` to apply 1 suggestion) [INFO] [stderr] warning: `vrf-poker-activity` (lib test) generated 4 warnings (1 duplicate) (run `cargo fix --lib -p vrf-poker-activity --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vrf_poker_activity-2ab6198fb4c561c6) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test::test_verify_best_player_when_invalid ... ignored, fix later [INFO] [stdout] test test::test_generate_key_pairs ... ok [INFO] [stdout] test test::verify_input ... ok [INFO] [stdout] test test::play_poker ... ok [INFO] [stdout] test test::test_find_best_player ... ok [INFO] [stdout] test test::test_draw_card ... ok [INFO] [stdout] test test::test_verify_best_player_when_valid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] Doc-tests vrf_poker_activity [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" "c045804f2daecc0531aac6048ab774ce8599dc89f6c1c3dc2bf1fc00b3175683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c045804f2daecc0531aac6048ab774ce8599dc89f6c1c3dc2bf1fc00b3175683", kill_on_drop: false }` [INFO] [stdout] c045804f2daecc0531aac6048ab774ce8599dc89f6c1c3dc2bf1fc00b3175683