[INFO] fetching crate fair 0.0.13... [INFO] testing fair-0.0.13 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate fair 0.0.13 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate fair 0.0.13 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fair 0.0.13 [INFO] finished tweaking crates.io crate fair 0.0.13 [INFO] tweaked toml for crates.io crate fair 0.0.13 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate fair 0.0.13 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fed8ac7fff9410d8f8cbe79a33468c8c1b9ea357cea3e41437e6aeefde0f6389 [INFO] running `Command { std: "docker" "start" "-a" "fed8ac7fff9410d8f8cbe79a33468c8c1b9ea357cea3e41437e6aeefde0f6389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fed8ac7fff9410d8f8cbe79a33468c8c1b9ea357cea3e41437e6aeefde0f6389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fed8ac7fff9410d8f8cbe79a33468c8c1b9ea357cea3e41437e6aeefde0f6389", kill_on_drop: false }` [INFO] [stdout] fed8ac7fff9410d8f8cbe79a33468c8c1b9ea357cea3e41437e6aeefde0f6389 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d08a3d290db453ea652b1c689e9e33d7107f0459f3ce0bf5e20641f50a17ca07 [INFO] running `Command { std: "docker" "start" "-a" "d08a3d290db453ea652b1c689e9e33d7107f0459f3ce0bf5e20641f50a17ca07", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.59 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling bumpalo v3.2.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling wasm-bindgen v0.2.59 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.59 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.59 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.59 [INFO] [stderr] Compiling serde_json v1.0.50 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling fair v0.0.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::card::Card` [INFO] [stdout] --> src/games/video_poker.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::card::Card; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rows` [INFO] [stdout] --> src/wasm.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | rows: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `risk` [INFO] [stdout] --> src/wasm.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | risk: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `segments` [INFO] [stdout] --> src/wasm.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | segments: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `risk` [INFO] [stdout] --> src/wasm.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | risk: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mines` [INFO] [stdout] --> src/wasm.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | mines: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `round` [INFO] [stdout] --> src/wasm.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | round: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simulate` [INFO] [stdout] --> src/wasm.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn simulate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `totals` [INFO] [stdout] --> src/games/baccarat.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | totals: SimulationResultTotals, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SimulationResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/games/baccarat.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fac` [INFO] [stdout] --> src/games/plinko.rs:227:4 [INFO] [stdout] | [INFO] [stdout] 227 | fn fac(n: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `slot_probability` [INFO] [stdout] --> src/games/plinko.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn slot_probability(rows: usize, slot_index: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_expected_value` [INFO] [stdout] --> src/games/plinko.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn compute_expected_value(rows: usize, risk: &Risk) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.27s [INFO] running `Command { std: "docker" "inspect" "d08a3d290db453ea652b1c689e9e33d7107f0459f3ce0bf5e20641f50a17ca07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d08a3d290db453ea652b1c689e9e33d7107f0459f3ce0bf5e20641f50a17ca07", kill_on_drop: false }` [INFO] [stdout] d08a3d290db453ea652b1c689e9e33d7107f0459f3ce0bf5e20641f50a17ca07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2ea6b0093572b5c823bf6cbc5a423c17eda212ee4a8909c842175102a5cd9b5 [INFO] running `Command { std: "docker" "start" "-a" "c2ea6b0093572b5c823bf6cbc5a423c17eda212ee4a8909c842175102a5cd9b5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stderr] Compiling js-sys v0.3.36 [INFO] [stdout] warning: unused import: `crate::card::Card` [INFO] [stdout] --> src/games/video_poker.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::card::Card; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rows` [INFO] [stdout] --> src/wasm.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | rows: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `risk` [INFO] [stdout] --> src/wasm.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | risk: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `segments` [INFO] [stdout] --> src/wasm.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | segments: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `risk` [INFO] [stdout] --> src/wasm.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | risk: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mines` [INFO] [stdout] --> src/wasm.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | mines: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `round` [INFO] [stdout] --> src/wasm.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | round: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simulate` [INFO] [stdout] --> src/wasm.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn simulate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `totals` [INFO] [stdout] --> src/games/baccarat.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | totals: SimulationResultTotals, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SimulationResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/games/baccarat.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fac` [INFO] [stdout] --> src/games/plinko.rs:227:4 [INFO] [stdout] | [INFO] [stdout] 227 | fn fac(n: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `slot_probability` [INFO] [stdout] --> src/games/plinko.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn slot_probability(rows: usize, slot_index: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_expected_value` [INFO] [stdout] --> src/games/plinko.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn compute_expected_value(rows: usize, risk: &Risk) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Compiling wasm-bindgen-futures v0.3.27 [INFO] [stderr] Compiling wasm-bindgen-test v0.2.50 [INFO] [stderr] Compiling fair v0.0.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::card::Card` [INFO] [stdout] --> src/games/video_poker.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::card::Card; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rows` [INFO] [stdout] --> src/wasm.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | rows: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `risk` [INFO] [stdout] --> src/wasm.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | risk: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `segments` [INFO] [stdout] --> src/wasm.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | segments: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `risk` [INFO] [stdout] --> src/wasm.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | risk: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mines` [INFO] [stdout] --> src/wasm.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | mines: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `round` [INFO] [stdout] --> src/wasm.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | round: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simulate` [INFO] [stdout] --> src/wasm.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn simulate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.68s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/fair-72cf2b272717f878) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/fair-40f5a405b9204156) [INFO] [stderr] Executable tests/web.rs (/opt/rustwide/target/debug/deps/web-c6f84b1fa999b652) [INFO] running `Command { std: "docker" "inspect" "c2ea6b0093572b5c823bf6cbc5a423c17eda212ee4a8909c842175102a5cd9b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2ea6b0093572b5c823bf6cbc5a423c17eda212ee4a8909c842175102a5cd9b5", kill_on_drop: false }` [INFO] [stdout] c2ea6b0093572b5c823bf6cbc5a423c17eda212ee4a8909c842175102a5cd9b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 48c3b48d4e1331b3244ce22ef5632077e334217db89a47bcff07e0cdc9d81d30 [INFO] running `Command { std: "docker" "start" "-a" "48c3b48d4e1331b3244ce22ef5632077e334217db89a47bcff07e0cdc9d81d30", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::card::Card` [INFO] [stderr] --> src/games/video_poker.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::card::Card; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `rows` [INFO] [stderr] --> src/wasm.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | rows: i32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `risk` [INFO] [stderr] --> src/wasm.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | risk: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `segments` [INFO] [stderr] --> src/wasm.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | segments: i32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `risk` [INFO] [stderr] --> src/wasm.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | risk: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mines` [INFO] [stderr] --> src/wasm.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | mines: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `round` [INFO] [stderr] --> src/wasm.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | round: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `simulate` [INFO] [stderr] --> src/wasm.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn simulate( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `totals` [INFO] [stderr] --> src/games/baccarat.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | totals: SimulationResultTotals, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SimulationResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/games/baccarat.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `fac` [INFO] [stderr] --> src/games/plinko.rs:227:4 [INFO] [stderr] | [INFO] [stderr] 227 | fn fac(n: u32) -> u32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `slot_probability` [INFO] [stderr] --> src/games/plinko.rs:239:4 [INFO] [stderr] | [INFO] [stderr] 239 | fn slot_probability(rows: usize, slot_index: usize) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `compute_expected_value` [INFO] [stderr] --> src/games/plinko.rs:252:4 [INFO] [stderr] | [INFO] [stderr] 252 | fn compute_expected_value(rows: usize, risk: &Risk) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `fair` (lib) generated 12 warnings [INFO] [stderr] warning: `fair` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fair-72cf2b272717f878) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test card::test::index_into_deck ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fair-40f5a405b9204156) [INFO] [stdout] test games::crash::test::test_crash_verify ... ignored [INFO] [stdout] test games::crash::test::test_crash_simulate ... ok [INFO] [stdout] test games::baccarat::test::simulate_four_cards_drawn ... ok [INFO] [stdout] test games::baccarat::test::simulate_five_cards_drawn ... ok [INFO] [stdout] test games::crash::test::test_crash_hash_chain ... ok [INFO] [stdout] test games::blackjack::test::simulate_blackjack ... ok [INFO] [stdout] test games::dice::test::simulate_dice_roll ... ok [INFO] [stdout] test games::crash::test::test_crash_simulate_2 ... ok [INFO] [stdout] test games::hilo::test::simulate_hilo_1 ... ok [INFO] [stdout] test games::plinko::test::test_expected_values ... ok [INFO] [stdout] test games::plinko::test::simulate_plinko_test_payout ... ok [INFO] [stdout] test games::mines::test::simulate_plinko_test ... ok [INFO] [stdout] test games::limbo::test::test_limbo_bug_when_tiny_float ... ok [INFO] [stdout] test games::limbo::test::test_limbo ... ok [INFO] [stdout] test games::hilo::test::simulate_hilo_2 ... ok [INFO] [stdout] test games::diamond_poker::test::simulate_dice_roll ... ok [INFO] [stdout] test games::plinko::test::test_binomial_coefficient ... ok [INFO] [stdout] test games::plinko::test::test_fac ... ok [INFO] [stdout] test games::plinko::test::simulate_plinko_test ... ok [INFO] [stdout] test games::video_poker::test::simulate_video_poker ... ok [INFO] [stdout] test games::plinko::test::test_slot_probability ... ok [INFO] [stdout] test games::keno::test::simulate_plinko_test ... ok [INFO] [stdout] test games::slots::test::simulate_slots ... ok [INFO] [stdout] test games::roulette::test::simulate_roulette ... ok [INFO] [stdout] test games::wheel::test::simulate_wheel_test ... ok [INFO] [stdout] test rng::test::provably_fair_rng_float ... ok [INFO] [stdout] test rng::test::provably_fair_rng ... ok [INFO] [stdout] test rng::test::test_rng_float_starts_with_0 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/web.rs (/opt/rustwide/target/debug/deps/web-c6f84b1fa999b652) [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] [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] [stderr] Doc-tests fair [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/rng.rs - rng::ProvablyFairRNG (line 53) ... ok [INFO] [stdout] test src/games/baccarat.rs - games::baccarat::simulate (line 131) ... ok [INFO] [stdout] test src/games/plinko.rs - games::plinko::simulate (line 83) ... ok [INFO] [stdout] test src/games/dice.rs - games::dice::simulate (line 21) ... ok [INFO] [stdout] test src/rng.rs - rng::ProvablyFairRNG (line 41) ... ok [INFO] [stdout] test src/games/diamond_poker.rs - games::diamond_poker::simulate (line 193) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "48c3b48d4e1331b3244ce22ef5632077e334217db89a47bcff07e0cdc9d81d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48c3b48d4e1331b3244ce22ef5632077e334217db89a47bcff07e0cdc9d81d30", kill_on_drop: false }` [INFO] [stdout] 48c3b48d4e1331b3244ce22ef5632077e334217db89a47bcff07e0cdc9d81d30