[INFO] cloning repository https://github.com/shelbyd/rust-poker [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelbyd%2Frust-poker'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6b0e571f680bdc9670e3759634e79d25a8344ee6 [INFO] checking shelbyd/rust-poker against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelbyd%2Frust-poker" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shelbyd/rust-poker on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/shelbyd/rust-poker already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 21257f8c411a8d793c59ac403e00c02938fbd3431995724e4c49e3405525bf05 [INFO] running `"docker" "start" "-a" "21257f8c411a8d793c59ac403e00c02938fbd3431995724e4c49e3405525bf05"` [INFO] [stderr] Checking rust_combinatorics v0.1.0 [INFO] [stderr] Checking poker v0.0.1 (/opt/rustwide/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::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[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[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: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stderr] --> src/hand.rs:368:7 [INFO] [stderr] | [INFO] [stderr] 368 | #[bench] fn bench_comparing_five_cards(b: &mut Bencher) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[deny(soft_unstable)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #64266 [INFO] [stderr] [INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stderr] --> src/hand.rs:374:7 [INFO] [stderr] | [INFO] [stderr] 374 | #[bench] fn bench_comparing_six_cards(b: &mut Bencher) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #64266 [INFO] [stderr] [INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stderr] --> src/hand.rs:380:7 [INFO] [stderr] | [INFO] [stderr] 380 | #[bench] fn bench_comparing_seven_cards(b: &mut Bencher) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #64266 [INFO] [stderr] [INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stderr] --> src/hand.rs:386:7 [INFO] [stderr] | [INFO] [stderr] 386 | #[bench] fn bench_comparing_eight_cards(b: &mut Bencher) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #64266 [INFO] [stderr] [INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stderr] --> src/hand.rs:392:7 [INFO] [stderr] | [INFO] [stderr] 392 | #[bench] fn bench_comparing_nine_cards(b: &mut Bencher) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #64266 [INFO] [stderr] [INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stderr] --> src/hand.rs:398:7 [INFO] [stderr] | [INFO] [stderr] 398 | #[bench] fn bench_comparing_ten_cards(b: &mut Bencher) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #64266 [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] 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[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/50297 [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/50297 [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/50297 [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/50297 [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/50297 [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/50297 [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/50297 [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/50297 [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/50297 [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> = s.split_str(" ") [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `split_at` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/hand.rs:176:87 [INFO] [stderr] | [INFO] [stderr] 176 | let my_best_hand = self.cards.clone().choose(5).map(|cards| Hand::new(cards)).max(); [INFO] [stderr] | ^^^^^ expected struct `card::Card`, found &card::Card [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::vec::Vec` [INFO] [stderr] found type `std::vec::Vec<&card::Card>` [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> = s.split_str(" ") [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `split_at` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/hand.rs:177:91 [INFO] [stderr] | [INFO] [stderr] 177 | let other_best_hand = other.cards.clone().choose(5).map(|cards| Hand::new(cards)).max(); [INFO] [stderr] | ^^^^^ expected struct `card::Card`, found &card::Card [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::vec::Vec` [INFO] [stderr] found type `std::vec::Vec<&card::Card>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `exp2` found for type `{float}` in the current scope [INFO] [stderr] --> src/calculations.rs:74:32 [INFO] [stderr] | [INFO] [stderr] 74 | if change < 1.0 / 16.0.exp2() { [INFO] [stderr] | ^^^^ method not found in `{float}` [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `poker`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/hand.rs:176:87 [INFO] [stderr] | [INFO] [stderr] 176 | let my_best_hand = self.cards.clone().choose(5).map(|cards| Hand::new(cards)).max(); [INFO] [stderr] | ^^^^^ expected struct `card::Card`, found &card::Card [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::vec::Vec` [INFO] [stderr] found type `std::vec::Vec<&card::Card>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/hand.rs:177:91 [INFO] [stderr] | [INFO] [stderr] 177 | let other_best_hand = other.cards.clone().choose(5).map(|cards| Hand::new(cards)).max(); [INFO] [stderr] | ^^^^^ expected struct `card::Card`, found &card::Card [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::vec::Vec` [INFO] [stderr] found type `std::vec::Vec<&card::Card>` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/hand.rs:371:5 [INFO] [stderr] | [INFO] [stderr] 371 | b.iter(|| left_hand == right_hand); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/50297 [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:377:5 [INFO] [stderr] | [INFO] [stderr] 377 | b.iter(|| left_hand == right_hand); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/50297 [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:383:5 [INFO] [stderr] | [INFO] [stderr] 383 | b.iter(|| left_hand == right_hand); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/50297 [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:389:5 [INFO] [stderr] | [INFO] [stderr] 389 | b.iter(|| left_hand == right_hand); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/50297 [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:395:5 [INFO] [stderr] | [INFO] [stderr] 395 | b.iter(|| left_hand == right_hand); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/50297 [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:401:5 [INFO] [stderr] | [INFO] [stderr] 401 | b.iter(|| left_hand == right_hand); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/50297 [INFO] [stderr] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `exp2` found for type `{float}` in the current scope [INFO] [stderr] --> src/calculations.rs:74:32 [INFO] [stderr] | [INFO] [stderr] 74 | if change < 1.0 / 16.0.exp2() { [INFO] [stderr] | ^^^^ method not found in `{float}` [INFO] [stderr] [INFO] [stderr] error: aborting due to 31 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `poker`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "21257f8c411a8d793c59ac403e00c02938fbd3431995724e4c49e3405525bf05"` [INFO] running `"docker" "rm" "-f" "21257f8c411a8d793c59ac403e00c02938fbd3431995724e4c49e3405525bf05"` [INFO] [stdout] 21257f8c411a8d793c59ac403e00c02938fbd3431995724e4c49e3405525bf05