[INFO] updating cached repository shelbyd/rust-poker
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/shelbyd/rust-poker
[INFO] [stderr] * branch HEAD -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/shelbyd/rust-poker" "work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/shelbyd/rust-poker"`
[INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/shelbyd/rust-poker'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/shelbyd/rust-poker" "work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/shelbyd/rust-poker"`
[INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/shelbyd/rust-poker'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 6b0e571f680bdc9670e3759634e79d25a8344ee6
[INFO] sha for GitHub repo shelbyd/rust-poker: 6b0e571f680bdc9670e3759634e79d25a8344ee6
[INFO] validating manifest of shelbyd/rust-poker on toolchain master#e305df1846a6d985315917ae0c81b74af8b4e641
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of shelbyd/rust-poker on toolchain try#99a7498759a22b5684caf798a98b7e90ad9d2443
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing shelbyd/rust-poker
[INFO] finished frobbing shelbyd/rust-poker
[INFO] frobbed toml for shelbyd/rust-poker written to work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/shelbyd/rust-poker/Cargo.toml
[INFO] started frobbing shelbyd/rust-poker
[INFO] finished frobbing shelbyd/rust-poker
[INFO] frobbed toml for shelbyd/rust-poker written to work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/shelbyd/rust-poker/Cargo.toml
[INFO] crate shelbyd/rust-poker already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/shelbyd/rust-poker/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] checking shelbyd/rust-poker against master#e305df1846a6d985315917ae0c81b74af8b4e641 for pr-60039-1
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-60039-1/worker-6/master#e305df1846a6d985315917ae0c81b74af8b4e641:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/shelbyd/rust-poker:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] 0463d80144993434a4e7664d4ab4a9ae8b19df689b6085793c886cec147c0282
[INFO] running `"docker" "start" "-a" "0463d80144993434a4e7664d4ab4a9ae8b19df689b6085793c886cec147c0282"`
[INFO] [stderr] Checking rust_combinatorics v0.1.0
[INFO] [stderr] Checking poker v0.0.1 (/opt/crater/workdir)
[INFO] [stderr] error[E0432]: unresolved import `std::rand`
[INFO] [stderr] --> src/calculations.rs:12:10
[INFO] [stderr] |
[INFO] [stderr] 12 | use std::rand::{thread_rng, Rng};
[INFO] [stderr] | ^^^^ could not find `rand` in `std`
[INFO] [stderr]
[INFO] [stderr] error[E0432]: unresolved import `self::core::num::ToPrimitive`
[INFO] [stderr] --> src/calculations.rs:15:5
[INFO] [stderr] |
[INFO] [stderr] 15 | use self::core::num::ToPrimitive;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ToPrimitive` in `num`
[INFO] [stderr]
[INFO] [stderr] error[E0432]: unresolved import `std::num::Float`
[INFO] [stderr] --> src/calculations.rs:53:5
[INFO] [stderr] |
[INFO] [stderr] 53 | use std::num::Float;
[INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Float` in `num`
[INFO] [stderr]
[INFO] [stderr] error[E0432]: unresolved imports `self::core::f32::consts::SQRT2`, `self::core::f32::consts::FRAC_2_SQRTPI`
[INFO] [stderr] --> src/calculations.rs:61:31
[INFO] [stderr] |
[INFO] [stderr] 61 | use self::core::f32::consts::{SQRT2, FRAC_2_SQRTPI};
[INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ no `FRAC_2_SQRTPI` in `f32::consts`
[INFO] [stderr] | |
[INFO] [stderr] | no `SQRT2` in `f32::consts`
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr] |
[INFO] [stderr] 61 | use self::core::f32::consts::{SQRT_2, FRAC_2_SQRTPI};
[INFO] [stderr] | ^^^^^^
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr] |
[INFO] [stderr] 61 | use self::core::f32::consts::{SQRT2, FRAC_2_SQRT_PI};
[INFO] [stderr] | ^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0432]: unresolved import `std::old_io`
[INFO] [stderr] --> src/main.rs:21:9
[INFO] [stderr] |
[INFO] [stderr] 21 | use std::old_io;
[INFO] [stderr] | ^^^^^^^^^^^ no `old_io` in the root
[INFO] [stderr]
[INFO] [stderr] error[E0432]: unresolved import `std::rand`
[INFO] [stderr] --> src/calculations.rs:12:10
[INFO] [stderr] |
[INFO] [stderr] 12 | use std::rand::{thread_rng, Rng};
[INFO] [stderr] | ^^^^ could not find `rand` in `std`
[INFO] [stderr]
[INFO] [stderr] error[E0432]: unresolved import `self::core::num::ToPrimitive`
[INFO] [stderr] --> src/calculations.rs:15:5
[INFO] [stderr] |
[INFO] [stderr] 15 | use self::core::num::ToPrimitive;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ToPrimitive` in `num`
[INFO] [stderr]
[INFO] [stderr] error[E0432]: unresolved import `std::num::Float`
[INFO] [stderr] --> src/calculations.rs:53:5
[INFO] [stderr] |
[INFO] [stderr] 53 | use std::num::Float;
[INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Float` in `num`
[INFO] [stderr]
[INFO] [stderr] error[E0432]: unresolved imports `self::core::f32::consts::SQRT2`, `self::core::f32::consts::FRAC_2_SQRTPI`
[INFO] [stderr] --> src/calculations.rs:61:31
[INFO] [stderr] |
[INFO] [stderr] 61 | use self::core::f32::consts::{SQRT2, FRAC_2_SQRTPI};
[INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ no `FRAC_2_SQRTPI` in `f32::consts`
[INFO] [stderr] | |
[INFO] [stderr] | no `SQRT2` in `f32::consts`
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr] |
[INFO] [stderr] 61 | use self::core::f32::consts::{SQRT_2, FRAC_2_SQRTPI};
[INFO] [stderr] | ^^^^^^
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr] |
[INFO] [stderr] 61 | use self::core::f32::consts::{SQRT2, FRAC_2_SQRT_PI};
[INFO] [stderr] | ^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0432]: unresolved import `std::num::Float`
[INFO] [stderr] --> src/calculations.rs:97:9
[INFO] [stderr] |
[INFO] [stderr] 97 | use std::num::Float;
[INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Float` in `num`
[INFO] [stderr]
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr] --> src/calculations.rs:27:19
[INFO] [stderr] |
[INFO] [stderr] 27 | let results = range(0, SAMPLES)
[INFO] [stderr] | ^^^^^ not found in this scope
[INFO] [stderr]
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr] --> src/calculations.rs:34:23
[INFO] [stderr] |
[INFO] [stderr] 34 | range(0, other_players)
[INFO] [stderr] | ^^^^^ not found in this scope
[INFO] [stderr]
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr] --> src/calculations.rs:86:21
[INFO] [stderr] |
[INFO] [stderr] 86 | FRAC_2_SQRTPI * range(0, 7)
[INFO] [stderr] | ^^^^^ not found in this scope
[INFO] [stderr]
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr] --> src/calculations.rs:88:27
[INFO] [stderr] |
[INFO] [stderr] 88 | let product = range(1, n + 1).map(|k| - x.powi(2) / k.to_f32().unwrap()).fold(1.0, |prod, value| prod * value);
[INFO] [stderr] | ^^^^^ not found in this scope
[INFO] [stderr]
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr] --> src/calculations.rs:86:21
[INFO] [stderr] |
[INFO] [stderr] 86 | FRAC_2_SQRTPI * range(0, 7)
[INFO] [stderr] | ^^^^^ not found in this scope
[INFO] [stderr]
[INFO] [stderr] error[E0425]: cannot find function `range` in this scope
[INFO] [stderr] --> src/calculations.rs:88:27
[INFO] [stderr] |
[INFO] [stderr] 88 | let product = range(1, n + 1).map(|k| - x.powi(2) / k.to_f32().unwrap()).fold(1.0, |prod, value| prod * value);
[INFO] [stderr] | ^^^^^ not found in this scope
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `Rng`
[INFO] [stderr] --> src/calculations.rs:12:29
[INFO] [stderr] |
[INFO] [stderr] 12 | use std::rand::{thread_rng, Rng};
[INFO] [stderr] | ^^^
[INFO] [stderr] |
[INFO] [stderr] = note: #[warn(unused_imports)] on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `self::core::num::ToPrimitive`
[INFO] [stderr] --> src/calculations.rs:15:5
[INFO] [stderr] |
[INFO] [stderr] 15 | use self::core::num::ToPrimitive;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `std::num::Float`
[INFO] [stderr] --> src/calculations.rs:53:5
[INFO] [stderr] |
[INFO] [stderr] 53 | use std::num::Float;
[INFO] [stderr] | ^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `hand::Hand`
[INFO] [stderr] --> src/calculations.rs:1:5
[INFO] [stderr] |
[INFO] [stderr] 1 | use hand::Hand;
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: #[warn(unused_imports)] on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused imports: `Rng`, `thread_rng`
[INFO] [stderr] --> src/calculations.rs:12:17
[INFO] [stderr] |
[INFO] [stderr] 12 | use std::rand::{thread_rng, Rng};
[INFO] [stderr] | ^^^^^^^^^^ ^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `self::core::num::ToPrimitive`
[INFO] [stderr] --> src/calculations.rs:15:5
[INFO] [stderr] |
[INFO] [stderr] 15 | use self::core::num::ToPrimitive;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `std::num::Float`
[INFO] [stderr] --> src/calculations.rs:53:5
[INFO] [stderr] |
[INFO] [stderr] 53 | use std::num::Float;
[INFO] [stderr] | ^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `std::num::Float`
[INFO] [stderr] --> src/calculations.rs:97:9
[INFO] [stderr] |
[INFO] [stderr] 97 | use std::num::Float;
[INFO] [stderr] | ^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr] --> src/hand.rs:1:1
[INFO] [stderr] |
[INFO] [stderr] 1 | extern crate test;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812
[INFO] [stderr] = help: add #![feature(test)] to the crate attributes to enable
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr] --> src/hand.rs:1:1
[INFO] [stderr] |
[INFO] [stderr] 1 | extern crate test;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812
[INFO] [stderr] = help: add #![feature(test)] to the crate attributes to enable
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr] --> src/hand.rs:366:9
[INFO] [stderr] |
[INFO] [stderr] 366 | use super::test::Bencher;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812
[INFO] [stderr] = help: add #![feature(test)] to the crate attributes to enable
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr] --> src/hand.rs:368:52
[INFO] [stderr] |
[INFO] [stderr] 368 | #[bench] fn bench_comparing_five_cards(b: &mut Bencher) {
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812
[INFO] [stderr] = help: add #![feature(test)] to the crate attributes to enable
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr] --> src/hand.rs:374:51
[INFO] [stderr] |
[INFO] [stderr] 374 | #[bench] fn bench_comparing_six_cards(b: &mut Bencher) {
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812
[INFO] [stderr] = help: add #![feature(test)] to the crate attributes to enable
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr] --> src/hand.rs:380:53
[INFO] [stderr] |
[INFO] [stderr] 380 | #[bench] fn bench_comparing_seven_cards(b: &mut Bencher) {
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812
[INFO] [stderr] = help: add #![feature(test)] to the crate attributes to enable
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr] --> src/hand.rs:386:53
[INFO] [stderr] |
[INFO] [stderr] 386 | #[bench] fn bench_comparing_eight_cards(b: &mut Bencher) {
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812
[INFO] [stderr] = help: add #![feature(test)] to the crate attributes to enable
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr] --> src/hand.rs:392:52
[INFO] [stderr] |
[INFO] [stderr] 392 | #[bench] fn bench_comparing_nine_cards(b: &mut Bencher) {
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812
[INFO] [stderr] = help: add #![feature(test)] to the crate attributes to enable
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr] --> src/hand.rs:398:51
[INFO] [stderr] |
[INFO] [stderr] 398 | #[bench] fn bench_comparing_ten_cards(b: &mut Bencher) {
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812
[INFO] [stderr] = help: add #![feature(test)] to the crate attributes to enable
[INFO] [stderr]
[INFO] [stderr] error[E0599]: no method named `split_str` found for type `&str` in the current scope
[INFO] [stderr] --> src/hand.rs:139:42
[INFO] [stderr] |
[INFO] [stderr] 139 | let cards: Vec