[INFO] cloning repository https://github.com/jeffgran/krs
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeffgran/krs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeffgran%2Fkrs"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeffgran%2Fkrs'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 235d2893c6a7343795c29da9934a38a2433c985f
[INFO] testing jeffgran/krs against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeffgran%2Fkrs" "/workspace/builds/worker-6-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jeffgran/krs
[INFO] finished tweaking git repo https://github.com/jeffgran/krs
[INFO] tweaked toml for git repo https://github.com/jeffgran/krs written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jeffgran/krs on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/jeffgran/krs already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 1468952da05394f9604232d5d2aa86c7d73efdf75a135fc4903791d76be6477d
[INFO] running `"docker" "start" "1468952da05394f9604232d5d2aa86c7d73efdf75a135fc4903791d76be6477d"`
[INFO] running `"docker" "inspect" "1468952da05394f9604232d5d2aa86c7d73efdf75a135fc4903791d76be6477d"`
[INFO] running `"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" "1468952da05394f9604232d5d2aa86c7d73efdf75a135fc4903791d76be6477d" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "1468952da05394f9604232d5d2aa86c7d73efdf75a135fc4903791d76be6477d"`
[INFO] running `"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" "1468952da05394f9604232d5d2aa86c7d73efdf75a135fc4903791d76be6477d" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling proc-macro2 v0.4.20
[INFO] [stderr]    Compiling cc v1.0.25
[INFO] [stderr]    Compiling arrayvec v0.4.7
[INFO] [stderr]    Compiling failure_derive v0.1.3
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling rustc-demangle v0.1.9
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling humantime v1.1.1
[INFO] [stderr]    Compiling log v0.4.5
[INFO] [stderr]    Compiling lazy_static v1.1.0
[INFO] [stderr]    Compiling memchr v2.1.0
[INFO] [stderr]    Compiling num_cpus v1.8.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling serde v1.0.80
[INFO] [stderr]    Compiling rayon v1.0.2
[INFO] [stderr]    Compiling quote v0.6.8
[INFO] [stderr]    Compiling termcolor v1.0.4
[INFO] [stderr]    Compiling aho-corasick v0.6.8
[INFO] [stderr]    Compiling syn v0.15.13
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling backtrace-sys v0.1.24
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]    Compiling rand_core v0.3.0
[INFO] [stderr]    Compiling either v1.5.0
[INFO] [stderr]    Compiling regex v1.0.5
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling rand_core v0.2.2
[INFO] [stderr]    Compiling rand v0.5.5
[INFO] [stderr]    Compiling env_logger v0.5.13
[INFO] [stderr]    Compiling synstructure v0.10.0
[INFO] [stderr]    Compiling structopt-derive v0.2.12
[INFO] [stderr]    Compiling serde_derive v1.0.80
[INFO] [stderr]    Compiling backtrace v0.3.9
[INFO] [stderr]    Compiling failure v0.1.3
[INFO] [stderr]    Compiling structopt v0.2.12
[INFO] [stderr]    Compiling clap-verbosity-flag v0.1.0
[INFO] [stderr]    Compiling quicli v0.3.1
[INFO] [stderr]    Compiling krs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `FIRST_15_PRIMES` is never used
[INFO] [stdout]   --> src/commands/mod.rs:95:7
[INFO] [stdout]    |
[INFO] [stdout] 95 | const FIRST_15_PRIMES: [i64; 15] = [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47];
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_probable_prime_miller_rabin` is never used
[INFO] [stdout]   --> src/commands/mod.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn is_probable_prime_miller_rabin(num: i64) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rsa_decrypt` is never used
[INFO] [stdout]    --> src/commands/mod.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub fn rsa_decrypt(ciphertext: i64, d: u32, n: i64) -> i64 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 37.86s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rand_core v0.3.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7`
[INFO] running `"docker" "inspect" "1468952da05394f9604232d5d2aa86c7d73efdf75a135fc4903791d76be6477d"`
[INFO] running `"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" "1468952da05394f9604232d5d2aa86c7d73efdf75a135fc4903791d76be6477d" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling krs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `rsa_decrypt` is never used
[INFO] [stdout]    --> src/commands/mod.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub fn rsa_decrypt(ciphertext: i64, d: u32, n: i64) -> i64 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.73s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rand_core v0.3.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7`
[INFO] running `"docker" "inspect" "1468952da05394f9604232d5d2aa86c7d73efdf75a135fc4903791d76be6477d"`
[INFO] running `"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" "1468952da05394f9604232d5d2aa86c7d73efdf75a135fc4903791d76be6477d" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: function `rsa_decrypt` is never used
[INFO] [stderr]    --> src/commands/mod.rs:126:8
[INFO] [stderr]     |
[INFO] [stderr] 126 | pub fn rsa_decrypt(ciphertext: i64, d: u32, n: i64) -> i64 {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `krs` (bin "krs" test) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.10s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rand_core v0.3.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/krs/cc2130912acf7cc9/out/krs-cc2130912acf7cc9)
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test commands::tests::gcd1 ... ok
[INFO] [stdout] test commands::tests::exponent_1 ... ok
[INFO] [stdout] test commands::tests::gcd2 ... ok
[INFO] [stdout] test commands::tests::gcd_3 ... ok
[INFO] [stdout] test commands::tests::div_0 ... ok
[INFO] [stdout] test commands::tests::huge_number ... ok
[INFO] [stdout] test commands::tests::is_prime_naive_trial_division_test ... ok
[INFO] [stdout] test commands::tests::big_exponent ... ok
[INFO] [stdout] test commands::tests::miller_rabin_test ... FAILED
[INFO] [stdout] test commands::tests::test_mult_inverse ... ok
[INFO] [stdout] test commands::tests::test_rsa_encrypt ... ok
[INFO] [stdout] test commands::tests::exponent_0 ... ok
[INFO] [stdout] test commands::tests::fermat_test ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- commands::tests::miller_rabin_test stdout ----
[INFO] [stdout] [190]
[INFO] [stdout] 2 ^ 190 % 191 = 1
[INFO] [stdout] 3 ^ 190 % 191 = 1
[INFO] [stdout] 5 ^ 190 % 191 = 1
[INFO] [stdout] 7 ^ 190 % 191 = 1
[INFO] [stdout] 11 ^ 190 % 191 = 1
[INFO] [stdout] 13 ^ 190 % 191 = 1
[INFO] [stdout] 17 ^ 190 % 191 = 1
[INFO] [stdout] 19 ^ 190 % 191 = 1
[INFO] [stdout] 23 ^ 190 % 191 = 1
[INFO] [stdout] 29 ^ 190 % 191 = 1
[INFO] [stdout] 31 ^ 190 % 191 = 1
[INFO] [stdout] 37 ^ 190 % 191 = 1
[INFO] [stdout] 41 ^ 190 % 191 = 1
[INFO] [stdout] 43 ^ 190 % 191 = 1
[INFO] [stdout] 47 ^ 190 % 191 = 1
[INFO] [stdout] [126, 252, 504, 1008]
[INFO] [stdout] 2 ^ 126 % 1009 = 540
[INFO] [stdout] 
[INFO] [stdout] thread 'commands::tests::miller_rabin_test' (828) panicked at src/commands/mod.rs:215:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: false
[INFO] [stdout]  right: true
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x561f918aafa1 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x561f918bf33a - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stdout]    2:     0x561f918af3ec - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x561f91887b86 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x561f918a34f9 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stdout]    5:     0x561f9183c460 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x561f918a36b2 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x561f91887c32 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x561f91880599 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x561f9188883d - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stdout]   10:     0x561f918c004c - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stdout]   11:     0x561f918bff43 - core[5c14b8d5a259cc4e]::panicking::assert_failed_inner
[INFO] [stdout]   12:     0x561f9182d9ab - core[5c14b8d5a259cc4e]::panicking::assert_failed::<bool, bool>
[INFO] [stdout]   13:     0x561f9182ea92 - <krs[6b028069b1da1657]::commands::tests::miller_rabin_test::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   14:     0x561f9182f2cb - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stdout]   15:     0x561f9183ca85 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stdout]   16:     0x561f91835ed4 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stdout]   17:     0x561f9183fa12 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   18:     0x561f918aa83f - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   19:     0x735ed7ae8dfa - <unknown>
[INFO] [stdout]   20:     0x735ed7b7c3d4 - clone
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     commands::tests::miller_rabin_test
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 12 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin krs`
[INFO] running `"docker" "inspect" "1468952da05394f9604232d5d2aa86c7d73efdf75a135fc4903791d76be6477d"`
[INFO] running `"docker" "rm" "-f" "1468952da05394f9604232d5d2aa86c7d73efdf75a135fc4903791d76be6477d"`
[INFO] [stdout] 1468952da05394f9604232d5d2aa86c7d73efdf75a135fc4903791d76be6477d
