[INFO] cloning repository https://github.com/shelbyd/rust-poker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shelbyd/rust-poker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelbyd%2Frust-poker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelbyd%2Frust-poker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b0e571f680bdc9670e3759634e79d25a8344ee6 [INFO] checking shelbyd/rust-poker against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelbyd%2Frust-poker" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shelbyd/rust-poker on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shelbyd/rust-poker [INFO] finished tweaking git repo https://github.com/shelbyd/rust-poker [INFO] tweaked toml for git repo https://github.com/shelbyd/rust-poker written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/shelbyd/rust-poker already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98e61f6f167166b2e6c6abcb65048eb83aab9c75d2a168b6c677b138bb9ed162 [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" "98e61f6f167166b2e6c6abcb65048eb83aab9c75d2a168b6c677b138bb9ed162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98e61f6f167166b2e6c6abcb65048eb83aab9c75d2a168b6c677b138bb9ed162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98e61f6f167166b2e6c6abcb65048eb83aab9c75d2a168b6c677b138bb9ed162", kill_on_drop: false }` [INFO] [stdout] 98e61f6f167166b2e6c6abcb65048eb83aab9c75d2a168b6c677b138bb9ed162 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdc4c6e164851aef761a1964e18a227fd160703962c36699f30df15cfcf20ea0 [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" "fdc4c6e164851aef761a1964e18a227fd160703962c36699f30df15cfcf20ea0", kill_on_drop: false }` [INFO] [stderr] Checking rust_combinatorics v0.1.0 [INFO] [stderr] Checking poker v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/calculations.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use std::rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::core::num::ToPrimitive` [INFO] [stdout] --> src/calculations.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use self::core::num::ToPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ToPrimitive` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/calculations.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `self::core::f32::consts::SQRT2`, `self::core::f32::consts::FRAC_2_SQRTPI` [INFO] [stdout] --> src/calculations.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | use self::core::f32::consts::{SQRT2, FRAC_2_SQRTPI}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ no `FRAC_2_SQRTPI` in `f32::consts` [INFO] [stdout] | | [INFO] [stdout] | no `SQRT2` in `f32::consts` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 61 | use self::core::f32::consts::{SQRT_2, FRAC_2_SQRTPI}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 61 | use self::core::f32::consts::{SQRT2, FRAC_2_SQRT_PI}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/calculations.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/calculations.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use std::rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::core::num::ToPrimitive` [INFO] [stdout] --> src/calculations.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use self::core::num::ToPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ToPrimitive` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/calculations.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `self::core::f32::consts::SQRT2`, `self::core::f32::consts::FRAC_2_SQRTPI` [INFO] [stdout] --> src/calculations.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | use self::core::f32::consts::{SQRT2, FRAC_2_SQRTPI}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ no `FRAC_2_SQRTPI` in `f32::consts` [INFO] [stdout] | | [INFO] [stdout] | no `SQRT2` in `f32::consts` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 61 | use self::core::f32::consts::{SQRT_2, FRAC_2_SQRTPI}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 61 | use self::core::f32::consts::{SQRT2, FRAC_2_SQRT_PI}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | use std::old_io; [INFO] [stdout] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/calculations.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | FRAC_2_SQRTPI * range(0, 7) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/calculations.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | let product = range(1, n + 1).map(|k| - x.powi(2) / k.to_f32().unwrap()).fold(1.0, |prod, value| prod * value); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/hand.rs:368:7 [INFO] [stdout] | [INFO] [stdout] 368 | #[bench] fn bench_comparing_five_cards(b: &mut Bencher) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/hand.rs:374:7 [INFO] [stdout] | [INFO] [stdout] 374 | #[bench] fn bench_comparing_six_cards(b: &mut Bencher) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/hand.rs:380:7 [INFO] [stdout] | [INFO] [stdout] 380 | #[bench] fn bench_comparing_seven_cards(b: &mut Bencher) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/hand.rs:386:7 [INFO] [stdout] | [INFO] [stdout] 386 | #[bench] fn bench_comparing_eight_cards(b: &mut Bencher) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/hand.rs:392:7 [INFO] [stdout] | [INFO] [stdout] 392 | #[bench] fn bench_comparing_nine_cards(b: &mut Bencher) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/hand.rs:398:7 [INFO] [stdout] | [INFO] [stdout] 398 | #[bench] fn bench_comparing_ten_cards(b: &mut Bencher) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hand::Hand` [INFO] [stdout] --> src/calculations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hand::Hand; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/hand.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/hand.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | use super::test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/hand.rs:368:52 [INFO] [stdout] | [INFO] [stdout] 368 | #[bench] fn bench_comparing_five_cards(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/hand.rs:374:51 [INFO] [stdout] | [INFO] [stdout] 374 | #[bench] fn bench_comparing_six_cards(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/hand.rs:380:53 [INFO] [stdout] | [INFO] [stdout] 380 | #[bench] fn bench_comparing_seven_cards(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/hand.rs:386:53 [INFO] [stdout] | [INFO] [stdout] 386 | #[bench] fn bench_comparing_eight_cards(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/hand.rs:392:52 [INFO] [stdout] | [INFO] [stdout] 392 | #[bench] fn bench_comparing_nine_cards(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/hand.rs:398:51 [INFO] [stdout] | [INFO] [stdout] 398 | #[bench] fn bench_comparing_ten_cards(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/calculations.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let results = range(0, SAMPLES) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/calculations.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | range(0, other_players) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/calculations.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | FRAC_2_SQRTPI * range(0, 7) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/calculations.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | let product = range(1, n + 1).map(|k| - x.powi(2) / k.to_f32().unwrap()).fold(1.0, |prod, value| prod * value); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/hand.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_str` found for reference `&str` in the current scope [INFO] [stdout] --> src/hand.rs:139:42 [INFO] [stdout] | [INFO] [stdout] 139 | let cards: Vec> = s.split_str(" ") [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `split_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_str` found for reference `&str` in the current scope [INFO] [stdout] --> src/hand.rs:139:42 [INFO] [stdout] | [INFO] [stdout] 139 | let cards: Vec> = s.split_str(" ") [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `split_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hand.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | let my_best_hand = self.cards.clone().choose(5).map(|cards| Hand::new(cards)).max(); [INFO] [stdout] | ^^^^^ expected struct `Card`, found `&Card` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec<&Card>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hand.rs:176:87 [INFO] [stdout] | [INFO] [stdout] 176 | let my_best_hand = self.cards.clone().choose(5).map(|cards| Hand::new(cards)).max(); [INFO] [stdout] | ^^^^^ expected struct `Card`, found `&Card` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec<&Card>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hand.rs:177:91 [INFO] [stdout] | [INFO] [stdout] 177 | let other_best_hand = other.cards.clone().choose(5).map(|cards| Hand::new(cards)).max(); [INFO] [stdout] | ^^^^^ expected struct `Card`, found `&Card` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec<&Card>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hand.rs:177:91 [INFO] [stdout] | [INFO] [stdout] 177 | let other_best_hand = other.cards.clone().choose(5).map(|cards| Hand::new(cards)).max(); [INFO] [stdout] | ^^^^^ expected struct `Card`, found `&Card` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec<&Card>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/hand.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | b.iter(|| left_hand == right_hand); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/hand.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | b.iter(|| left_hand == right_hand); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/hand.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | b.iter(|| left_hand == right_hand); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `exp2` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/calculations.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | if change < 1.0 / 16.0.exp2() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `f32` [INFO] [stdout] | [INFO] [stdout] 74 | if change < 1.0 / 16.0_f32.exp2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/hand.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | b.iter(|| left_hand == right_hand); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/hand.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | b.iter(|| left_hand == right_hand); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/hand.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | b.iter(|| left_hand == right_hand); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0658, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `exp2` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/calculations.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | if change < 1.0 / 16.0.exp2() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `f32` [INFO] [stdout] | [INFO] [stdout] 74 | if change < 1.0 / 16.0_f32.exp2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `poker` [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] error: aborting due to 31 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0658, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fdc4c6e164851aef761a1964e18a227fd160703962c36699f30df15cfcf20ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdc4c6e164851aef761a1964e18a227fd160703962c36699f30df15cfcf20ea0", kill_on_drop: false }` [INFO] [stdout] fdc4c6e164851aef761a1964e18a227fd160703962c36699f30df15cfcf20ea0