[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] testing shelbyd/rust-poker against 1.47.0 for beta-1.48-1
[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 1.47.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "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" "+1.47.0" "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" "+1.47.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 42578da5cdc41b570d95b6d281ae4712ae6651f751b4eb98072b2858f4bc9796
[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" "42578da5cdc41b570d95b6d281ae4712ae6651f751b4eb98072b2858f4bc9796", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "42578da5cdc41b570d95b6d281ae4712ae6651f751b4eb98072b2858f4bc9796", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42578da5cdc41b570d95b6d281ae4712ae6651f751b4eb98072b2858f4bc9796", kill_on_drop: false }`
[INFO] [stdout] 42578da5cdc41b570d95b6d281ae4712ae6651f751b4eb98072b2858f4bc9796
[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=warn" "-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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] ecb1414a0ff8c0562f613d2bf7120f7eb13bf4b40c365d4d25d6873b045992ca
[INFO] running `Command { std: "docker" "start" "-a" "ecb1414a0ff8c0562f613d2bf7120f7eb13bf4b40c365d4d25d6873b045992ca", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_combinatorics v0.1.0
[INFO] [stderr]    Compiling 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::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: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 <https://github.com/rust-lang/rust/issues/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<Option<Card>> = 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::Card`, found `&card::Card`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `std::vec::Vec<card::Card>`
[INFO] [stdout]                found struct `std::vec::Vec<&card::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::Card`, found `&card::Card`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `std::vec::Vec<card::Card>`
[INFO] [stdout]                found struct `std::vec::Vec<&card::Card>`
[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: 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] [stderr] error: could not compile `poker`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "ecb1414a0ff8c0562f613d2bf7120f7eb13bf4b40c365d4d25d6873b045992ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecb1414a0ff8c0562f613d2bf7120f7eb13bf4b40c365d4d25d6873b045992ca", kill_on_drop: false }`
[INFO] [stdout] ecb1414a0ff8c0562f613d2bf7120f7eb13bf4b40c365d4d25d6873b045992ca
