[INFO] fetching crate fair 0.0.13...
[INFO] checking fair-0.0.13 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate fair 0.0.13 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate fair 0.0.13 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.59
[INFO] [stderr]   Downloaded wasm-bindgen-test-macro v0.2.50
[INFO] [stderr]   Downloaded wasm-bindgen-test v0.2.50
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.59
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.59
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.59
[INFO] [stderr]   Downloaded num-integer v0.1.42
[INFO] [stderr]   Downloaded sha2 v0.8.1
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.59
[INFO] [stderr]   Downloaded num-traits v0.2.11
[INFO] [stderr]   Downloaded js-sys v0.3.36
[INFO] [stderr]   Downloaded bumpalo v3.2.0
[INFO] [stderr]   Downloaded console_error_panic_hook v0.1.6
[INFO] [stderr]   Downloaded web-sys v0.3.36
[INFO] [stderr]   Downloaded syn v1.0.16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c2a7192964493f59547cdfd3924b5795a2466ed1d529b0bab9d3bb61cb8e7d91
[INFO] running `Command { std: "docker" "start" "-a" "c2a7192964493f59547cdfd3924b5795a2466ed1d529b0bab9d3bb61cb8e7d91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c2a7192964493f59547cdfd3924b5795a2466ed1d529b0bab9d3bb61cb8e7d91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2a7192964493f59547cdfd3924b5795a2466ed1d529b0bab9d3bb61cb8e7d91", kill_on_drop: false }`
[INFO] [stdout] c2a7192964493f59547cdfd3924b5795a2466ed1d529b0bab9d3bb61cb8e7d91
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] edd7951e1dac0c21dbf6f7f68c53aee448bcc5eba9140e985bb1b07f89854e96
[INFO] running `Command { std: "docker" "start" "-a" "edd7951e1dac0c21dbf6f7f68c53aee448bcc5eba9140e985bb1b07f89854e96", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.16
[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 typenum v1.11.2
[INFO] [stderr]    Compiling bumpalo v3.2.0
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.59
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]     Checking subtle v1.0.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking futures v0.1.29
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking bencher v0.1.5
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.2.50
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]     Checking sha2 v0.8.1
[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]     Checking serde v1.0.105
[INFO] [stderr]     Checking serde_json v1.0.50
[INFO] [stderr]     Checking console_error_panic_hook v0.1.6
[INFO] [stderr]     Checking js-sys v0.3.36
[INFO] [stderr]     Checking fair v0.0.13 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `hex` is imported redundantly
[INFO] [stdout]   --> src/games/crash.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use hex;
[INFO] [stdout]    |     ^^^ the item `hex` is already defined by prelude
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `num_integer` is imported redundantly
[INFO] [stdout]    --> src/games/plinko.rs:237:5
[INFO] [stdout]     |
[INFO] [stdout] 237 | use num_integer;
[INFO] [stdout]     |     ^^^^^^^^^^^ the item `num_integer` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[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] 
[INFO] [stdout] warning: field `totals` is never read
[INFO] [stdout]   --> src/games/baccarat.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct SimulationResult {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] 46 |     outcome: Outcome,
[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]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fac` is never used
[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 `slot_probability` is never used
[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 `compute_expected_value` is never used
[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: fields `rows` and `risk` are never read
[INFO] [stdout]   --> src/wasm.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct PlinkoOpts {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 43 |     #[serde(default = "default_plinko_rows")]
[INFO] [stdout] 44 |     rows: i32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 45 |     #[serde(default = "default_plinko_risk")]
[INFO] [stdout] 46 |     risk: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `segments` and `risk` are never read
[INFO] [stdout]   --> src/wasm.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct WheelOpts {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 51 |     #[serde(default = "default_wheel_segments")]
[INFO] [stdout] 52 |     segments: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 53 |     #[serde(default = "default_wheel_risk")]
[INFO] [stdout] 54 |     risk: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mines` is never read
[INFO] [stdout]   --> src/wasm.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct MinesOpts {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 63 |     #[serde(default = "default_mines_mines")]
[INFO] [stdout] 64 |     mines: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `round` is never read
[INFO] [stdout]   --> src/wasm.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 72 | struct SlotsOpts {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 73 |     #[serde(default = "default_slots_round")]
[INFO] [stdout] 74 |     round: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simulate` is never used
[INFO] [stdout]   --> src/wasm.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn simulate(
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `hex` is imported redundantly
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hex;
[INFO] [stdout]   |     ^^^ the item `hex` is already defined by prelude
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking wasm-bindgen-futures v0.3.27
[INFO] [stderr]     Checking wasm-bindgen-test v0.2.50
[INFO] [stdout] warning: the item `hex` is imported redundantly
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hex;
[INFO] [stdout]   |     ^^^ the item `hex` is already defined by prelude
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied
[INFO] [stdout]    --> benches/main.rs:9:9
[INFO] [stdout]     |
[INFO] [stdout] 9   |         fair::games::baccarat::simulate(client_seed, server_seed, nonce)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -----------  -----------  ----- unexpected argument of type `{integer}`
[INFO] [stdout]     |                                         |            |
[INFO] [stdout]     |                                         |            unexpected argument of type `&str`
[INFO] [stdout]     |                                         expected `ProvablyFairConfig`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/games/baccarat.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub fn simulate(config: ProvablyFairConfig) -> SimulationResult {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] help: remove the extra arguments
[INFO] [stdout]     |
[INFO] [stdout] 9   -         fair::games::baccarat::simulate(client_seed, server_seed, nonce)
[INFO] [stdout] 9   +         fair::games::baccarat::simulate(/* ProvablyFairConfig */)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fair` (bench "benches") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: the item `hex` is imported redundantly
[INFO] [stdout]   --> src/games/crash.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use hex;
[INFO] [stdout]    |     ^^^ the item `hex` is already defined by prelude
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[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] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rows` and `risk` are never read
[INFO] [stdout]   --> src/wasm.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct PlinkoOpts {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 43 |     #[serde(default = "default_plinko_rows")]
[INFO] [stdout] 44 |     rows: i32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 45 |     #[serde(default = "default_plinko_risk")]
[INFO] [stdout] 46 |     risk: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `segments` and `risk` are never read
[INFO] [stdout]   --> src/wasm.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct WheelOpts {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 51 |     #[serde(default = "default_wheel_segments")]
[INFO] [stdout] 52 |     segments: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 53 |     #[serde(default = "default_wheel_risk")]
[INFO] [stdout] 54 |     risk: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mines` is never read
[INFO] [stdout]   --> src/wasm.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct MinesOpts {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 63 |     #[serde(default = "default_mines_mines")]
[INFO] [stdout] 64 |     mines: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `round` is never read
[INFO] [stdout]   --> src/wasm.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 72 | struct SlotsOpts {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 73 |     #[serde(default = "default_slots_round")]
[INFO] [stdout] 74 |     round: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simulate` is never used
[INFO] [stdout]   --> src/wasm.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn simulate(
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "edd7951e1dac0c21dbf6f7f68c53aee448bcc5eba9140e985bb1b07f89854e96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "edd7951e1dac0c21dbf6f7f68c53aee448bcc5eba9140e985bb1b07f89854e96", kill_on_drop: false }`
[INFO] [stdout] edd7951e1dac0c21dbf6f7f68c53aee448bcc5eba9140e985bb1b07f89854e96
[INFO] checking fair-0.0.13 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate fair 0.0.13 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate fair 0.0.13 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "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-3-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e16197a0cf62ddf04a829a3f3f692601479cc7e5d69d67c4f3faf46ff9f13756
[INFO] running `Command { std: "docker" "start" "-a" "e16197a0cf62ddf04a829a3f3f692601479cc7e5d69d67c4f3faf46ff9f13756", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e16197a0cf62ddf04a829a3f3f692601479cc7e5d69d67c4f3faf46ff9f13756", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e16197a0cf62ddf04a829a3f3f692601479cc7e5d69d67c4f3faf46ff9f13756", kill_on_drop: false }`
[INFO] [stdout] e16197a0cf62ddf04a829a3f3f692601479cc7e5d69d67c4f3faf46ff9f13756
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fed883e495719c8f8e1ade667014670abe535af051d13a6b235bed2f05901bbd
[INFO] running `Command { std: "docker" "start" "-a" "fed883e495719c8f8e1ade667014670abe535af051d13a6b235bed2f05901bbd", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.16
[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 typenum v1.11.2
[INFO] [stderr]    Compiling bumpalo v3.2.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.59
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking subtle v1.0.0
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking futures v0.1.29
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking bencher v0.1.5
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.2.50
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]     Checking sha2 v0.8.1
[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]     Checking serde v1.0.105
[INFO] [stderr]     Checking serde_json v1.0.50
[INFO] [stderr]     Checking console_error_panic_hook v0.1.6
[INFO] [stderr]     Checking js-sys v0.3.36
[INFO] [stderr]     Checking fair v0.0.13 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `hex` is imported redundantly
[INFO] [stdout]   --> src/games/crash.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use hex;
[INFO] [stdout]    |     ^^^ the item `hex` is already defined by prelude
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `num_integer` is imported redundantly
[INFO] [stdout]    --> src/games/plinko.rs:237:5
[INFO] [stdout]     |
[INFO] [stdout] 237 | use num_integer;
[INFO] [stdout]     |     ^^^^^^^^^^^ the item `num_integer` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[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] 
[INFO] [stdout] warning: field `totals` is never read
[INFO] [stdout]   --> src/games/baccarat.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct SimulationResult {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] 46 |     outcome: Outcome,
[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]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fac` is never used
[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 `slot_probability` is never used
[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 `compute_expected_value` is never used
[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: fields `rows` and `risk` are never read
[INFO] [stdout]   --> src/wasm.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct PlinkoOpts {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 43 |     #[serde(default = "default_plinko_rows")]
[INFO] [stdout] 44 |     rows: i32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 45 |     #[serde(default = "default_plinko_risk")]
[INFO] [stdout] 46 |     risk: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `segments` and `risk` are never read
[INFO] [stdout]   --> src/wasm.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct WheelOpts {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 51 |     #[serde(default = "default_wheel_segments")]
[INFO] [stdout] 52 |     segments: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 53 |     #[serde(default = "default_wheel_risk")]
[INFO] [stdout] 54 |     risk: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mines` is never read
[INFO] [stdout]   --> src/wasm.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct MinesOpts {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 63 |     #[serde(default = "default_mines_mines")]
[INFO] [stdout] 64 |     mines: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `round` is never read
[INFO] [stdout]   --> src/wasm.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 72 | struct SlotsOpts {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 73 |     #[serde(default = "default_slots_round")]
[INFO] [stdout] 74 |     round: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simulate` is never used
[INFO] [stdout]   --> src/wasm.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn simulate(
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `hex` is imported redundantly
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hex;
[INFO] [stdout]   |     ^^^ the item `hex` is already defined by prelude
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking wasm-bindgen-futures v0.3.27
[INFO] [stderr]     Checking wasm-bindgen-test v0.2.50
[INFO] [stdout] warning: the item `hex` is imported redundantly
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hex;
[INFO] [stdout]   |     ^^^ the item `hex` is already defined by prelude
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied
[INFO] [stdout]    --> benches/main.rs:9:9
[INFO] [stdout]     |
[INFO] [stdout] 9   |         fair::games::baccarat::simulate(client_seed, server_seed, nonce)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -----------  -----------  ----- unexpected argument of type `{integer}`
[INFO] [stdout]     |                                         |            |
[INFO] [stdout]     |                                         |            unexpected argument of type `&str`
[INFO] [stdout]     |                                         expected `ProvablyFairConfig`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/games/baccarat.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub fn simulate(config: ProvablyFairConfig) -> SimulationResult {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] help: remove the extra arguments
[INFO] [stdout]     |
[INFO] [stdout] 9   -         fair::games::baccarat::simulate(client_seed, server_seed, nonce)
[INFO] [stdout] 9   +         fair::games::baccarat::simulate(/* ProvablyFairConfig */)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fair` (bench "benches") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `hex` is imported redundantly
[INFO] [stdout]   --> src/games/crash.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use hex;
[INFO] [stdout]    |     ^^^ the item `hex` is already defined by prelude
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[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] 
[INFO] [stdout] warning: fields `rows` and `risk` are never read
[INFO] [stdout]   --> src/wasm.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct PlinkoOpts {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 43 |     #[serde(default = "default_plinko_rows")]
[INFO] [stdout] 44 |     rows: i32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 45 |     #[serde(default = "default_plinko_risk")]
[INFO] [stdout] 46 |     risk: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `segments` and `risk` are never read
[INFO] [stdout]   --> src/wasm.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct WheelOpts {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 51 |     #[serde(default = "default_wheel_segments")]
[INFO] [stdout] 52 |     segments: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 53 |     #[serde(default = "default_wheel_risk")]
[INFO] [stdout] 54 |     risk: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mines` is never read
[INFO] [stdout]   --> src/wasm.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct MinesOpts {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 63 |     #[serde(default = "default_mines_mines")]
[INFO] [stdout] 64 |     mines: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `round` is never read
[INFO] [stdout]   --> src/wasm.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 72 | struct SlotsOpts {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 73 |     #[serde(default = "default_slots_round")]
[INFO] [stdout] 74 |     round: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simulate` is never used
[INFO] [stdout]   --> src/wasm.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn simulate(
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "fed883e495719c8f8e1ade667014670abe535af051d13a6b235bed2f05901bbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fed883e495719c8f8e1ade667014670abe535af051d13a6b235bed2f05901bbd", kill_on_drop: false }`
[INFO] [stdout] fed883e495719c8f8e1ade667014670abe535af051d13a6b235bed2f05901bbd
