[INFO] cloning repository https://github.com/aprowe/equity-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aprowe/equity-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faprowe%2Fequity-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faprowe%2Fequity-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 481a9d0d48d7fd651c1afa667cd3ce210b3ac30d [INFO] testing aprowe/equity-cli against 1.100.0-beta.1 for beta-1.100-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faprowe%2Fequity-cli" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aprowe/equity-cli [INFO] finished tweaking git repo https://github.com/aprowe/equity-cli [INFO] tweaked toml for git repo https://github.com/aprowe/equity-cli written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aprowe/equity-cli on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aprowe/equity-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a48b1ff319bd13f4df8631e9e6ebf53c940c007a110f4077c3aea03091136f75 [INFO] running `Command { std: "docker" "start" "a48b1ff319bd13f4df8631e9e6ebf53c940c007a110f4077c3aea03091136f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a48b1ff319bd13f4df8631e9e6ebf53c940c007a110f4077c3aea03091136f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a48b1ff319bd13f4df8631e9e6ebf53c940c007a110f4077c3aea03091136f75" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a48b1ff319bd13f4df8631e9e6ebf53c940c007a110f4077c3aea03091136f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a48b1ff319bd13f4df8631e9e6ebf53c940c007a110f4077c3aea03091136f75" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling equity-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.74s [INFO] running `Command { std: "docker" "inspect" "a48b1ff319bd13f4df8631e9e6ebf53c940c007a110f4077c3aea03091136f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a48b1ff319bd13f4df8631e9e6ebf53c940c007a110f4077c3aea03091136f75" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling equity-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "a48b1ff319bd13f4df8631e9e6ebf53c940c007a110f4077c3aea03091136f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a48b1ff319bd13f4df8631e9e6ebf53c940c007a110f4077c3aea03091136f75" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/equity-cli/2f49a283b3ace1ab/out/equity_cli-2f49a283b3ace1ab) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test poker_utils::test::test_get_combinations ... ok [INFO] [stdout] test poker_utils::test::test_hand_order ... ok [INFO] [stdout] test poker_utils::test::test_get_best_hand ... FAILED [INFO] [stdout] test test::test_aces_vs_kings ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- poker_utils::test::test_get_best_hand stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'poker_utils::test::test_get_best_hand' (387) panicked at src/poker_utils.rs:119:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: HighCard(A, Q, 7, 3, 2) [INFO] [stdout] right: HighCard(A, Q, 9, 8, 7) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e0da2b0c71 - std[617be2ca0a6fd877]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x55e0da2b0c71 - std[617be2ca0a6fd877]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x55e0da2b0c71 - std[617be2ca0a6fd877]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x55e0da2b0c71 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x55e0da2c62ea - ::fmt [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x55e0da2c62ea - core[a373ad73a504971]::fmt::write [INFO] [stdout] 6: 0x55e0da2b4e8c - core[a373ad73a504971]::io::write::default_write_fmt::> [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/io/write.rs:402:11 [INFO] [stdout] 7: 0x55e0da2b4e8c - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/io/write.rs:335:13 [INFO] [stdout] 8: 0x55e0da28d0d6 - ::print [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x55e0da28d0d6 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:289:27 [INFO] [stdout] 10: 0x55e0da2a9309 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:313:9 [INFO] [stdout] 11: 0x55e0da21f910 - core[a373ad73a504971]::ops::function::Fn<(&'a std[617be2ca0a6fd877]::panic::PanicHookInfo<'b>,), Output = ()> + core[a373ad73a504971]::marker::Sync + core[a373ad73a504971]::marker::Send> as core[a373ad73a504971]::ops::function::Fn<(&std[617be2ca0a6fd877]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/alloc/src/boxed.rs:2328:9 [INFO] [stdout] 12: 0x55e0da21f910 - test[aada8e7e76ba119b]::test_main_inner::{closure#0} [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x55e0da2a94c2 - core[a373ad73a504971]::ops::function::Fn<(&'a std[617be2ca0a6fd877]::panic::PanicHookInfo<'b>,), Output = ()> + core[a373ad73a504971]::marker::Sync + core[a373ad73a504971]::marker::Send> as core[a373ad73a504971]::ops::function::Fn<(&std[617be2ca0a6fd877]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/alloc/src/boxed.rs:2328:9 [INFO] [stdout] 14: 0x55e0da2a94c2 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:819:13 [INFO] [stdout] 15: 0x55e0da28d182 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:685:13 [INFO] [stdout] 16: 0x55e0da285e99 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x55e0da28dd8d - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:676:5 [INFO] [stdout] 18: 0x55e0da2c6a9c - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x55e0da2c6933 - core[a373ad73a504971]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/panicking.rs:452:17 [INFO] [stdout] 20: 0x55e0da1fa7cf - core[a373ad73a504971]::panicking::assert_failed:: [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/panicking.rs:407:5 [INFO] [stdout] 21: 0x55e0da2103c1 - equity_cli[5e6c39c73fe49fbe]::poker_utils::test::test_get_best_hand [INFO] [stdout] at /opt/rustwide/workdir/src/poker_utils.rs:119:9 [INFO] [stdout] 22: 0x55e0da20f4d7 - equity_cli[5e6c39c73fe49fbe]::poker_utils::test::test_get_best_hand::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/poker_utils.rs:117:28 [INFO] [stdout] 23: 0x55e0da202aa6 - >::call_once [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x55e0da212d5b - core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String> as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x55e0da212d5b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/test/src/lib.rs:701:18 [INFO] [stdout] 26: 0x55e0da21ff35 - test[aada8e7e76ba119b]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/test/src/lib.rs:724:74 [INFO] [stdout] 27: 0x55e0da21ff35 - as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x55e0da21ff35 - std[617be2ca0a6fd877]::panicking::catch_unwind::do_call::, core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:573:43 [INFO] [stdout] 29: 0x55e0da21ff35 - std[617be2ca0a6fd877]::panicking::catch_unwind::, core[a373ad73a504971]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:541:19 [INFO] [stdout] 30: 0x55e0da21ff35 - std[617be2ca0a6fd877]::panic::catch_unwind::, core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x55e0da21ff35 - test[aada8e7e76ba119b]::run_test_in_process [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/test/src/lib.rs:724:27 [INFO] [stdout] 32: 0x55e0da21ff35 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/test/src/lib.rs:645:43 [INFO] [stdout] 33: 0x55e0da219824 - test[aada8e7e76ba119b]::run_test::{closure#1} [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/test/src/lib.rs:675:41 [INFO] [stdout] 34: 0x55e0da219824 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x55e0da222fc2 - std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 36: 0x55e0da222fc2 - ::{closure#1}::{closure#0}> as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x55e0da222fc2 - std[617be2ca0a6fd877]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:573:43 [INFO] [stdout] 38: 0x55e0da222fc2 - std[617be2ca0a6fd877]::panicking::catch_unwind::<(), core[a373ad73a504971]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:541:19 [INFO] [stdout] 39: 0x55e0da222fc2 - std[617be2ca0a6fd877]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x55e0da222fc2 - std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 41: 0x55e0da222fc2 - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x55e0da2b04cf - + core[a373ad73a504971]::marker::Send> as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/alloc/src/boxed.rs:2314:9 [INFO] [stdout] 43: 0x55e0da2b04cf - ::new::thread_start [INFO] [stdout] at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/sys/thread/unix.rs:127:17 [INFO] [stdout] 44: 0x701a10449dfa - [INFO] [stdout] 45: 0x701a104dd3d4 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] poker_utils::test::test_get_best_hand [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.93s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin equity-cli` [INFO] running `Command { std: "docker" "inspect" "a48b1ff319bd13f4df8631e9e6ebf53c940c007a110f4077c3aea03091136f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a48b1ff319bd13f4df8631e9e6ebf53c940c007a110f4077c3aea03091136f75", kill_on_drop: false }` [INFO] [stdout] a48b1ff319bd13f4df8631e9e6ebf53c940c007a110f4077c3aea03091136f75