[INFO] fetching crate fair 0.0.13... [INFO] checking fair-0.0.13 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate fair 0.0.13 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate fair 0.0.13 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-0/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d057f146bf5ba8385b9bb7612065b93d4a5278a1c5af67bb5950abc17b621f9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5d057f146bf5ba8385b9bb7612065b93d4a5278a1c5af67bb5950abc17b621f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d057f146bf5ba8385b9bb7612065b93d4a5278a1c5af67bb5950abc17b621f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d057f146bf5ba8385b9bb7612065b93d4a5278a1c5af67bb5950abc17b621f9", kill_on_drop: false }` [INFO] [stdout] 5d057f146bf5ba8385b9bb7612065b93d4a5278a1c5af67bb5950abc17b621f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cbafcdbee66612f3d9df37e52da4d43cf9022b9136d50ce7eb5fa607a84541e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0cbafcdbee66612f3d9df37e52da4d43cf9022b9136d50ce7eb5fa607a84541e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.59 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.2.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.59 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling bitflags v1.2.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 futures v0.1.29 [INFO] [stderr] Checking hex v0.4.2 [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 log v0.4.8 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Checking 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] 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: 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: 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] = note: `#[warn(dead_code)]` on by default [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: 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] [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: 11 warnings 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] 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------- ----------- ----- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: build failed [INFO] running `Command { std: "docker" "inspect" "0cbafcdbee66612f3d9df37e52da4d43cf9022b9136d50ce7eb5fa607a84541e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cbafcdbee66612f3d9df37e52da4d43cf9022b9136d50ce7eb5fa607a84541e", kill_on_drop: false }` [INFO] [stdout] 0cbafcdbee66612f3d9df37e52da4d43cf9022b9136d50ce7eb5fa607a84541e