[INFO] cloning repository https://github.com/anphlax/naive-rabin-cryptosystem
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anphlax/naive-rabin-cryptosystem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanphlax%2Fnaive-rabin-cryptosystem", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanphlax%2Fnaive-rabin-cryptosystem'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] def7eaf74cf6cb2f2edf99359dc9c8f26fd58c42
[INFO] testing anphlax/naive-rabin-cryptosystem against 1.90.0 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanphlax%2Fnaive-rabin-cryptosystem" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/anphlax/naive-rabin-cryptosystem
[INFO] finished tweaking git repo https://github.com/anphlax/naive-rabin-cryptosystem
[INFO] tweaked toml for git repo https://github.com/anphlax/naive-rabin-cryptosystem written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/anphlax/naive-rabin-cryptosystem on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/anphlax/naive-rabin-cryptosystem 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.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.6
[INFO] [stderr]   Downloaded num-modular v0.5.1
[INFO] [stderr]   Downloaded env_filter v0.1.2
[INFO] [stderr]   Downloaded env_logger v0.11.5
[INFO] [stderr]   Downloaded foldhash v0.1.3
[INFO] [stderr]   Downloaded num-prime v0.4.4
[INFO] [stderr]   Downloaded libc v0.2.167
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0e5e818f334117c82eccbe4b77bf776fb47a773d69c409558e2ed90bc7fb109a
[INFO] running `Command { std: "docker" "start" "-a" "0e5e818f334117c82eccbe4b77bf776fb47a773d69c409558e2ed90bc7fb109a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e5e818f334117c82eccbe4b77bf776fb47a773d69c409558e2ed90bc7fb109a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e5e818f334117c82eccbe4b77bf776fb47a773d69c409558e2ed90bc7fb109a", kill_on_drop: false }`
[INFO] [stdout] 0e5e818f334117c82eccbe4b77bf776fb47a773d69c409558e2ed90bc7fb109a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fa5ba7eb12a1886ade1f1a5dfa05c2ffa8746388f79b05ef1b79b636b985b50b
[INFO] running `Command { std: "docker" "start" "-a" "fa5ba7eb12a1886ade1f1a5dfa05c2ffa8746388f79b05ef1b79b636b985b50b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling foldhash v0.1.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling env_filter v0.1.2
[INFO] [stderr]    Compiling env_logger v0.11.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-modular v0.5.1
[INFO] [stderr]    Compiling num-prime v0.4.4
[INFO] [stderr]    Compiling naive-rabin-cryptosystem v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/encoding.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/encoding.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use log::{info, warn, error};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/main.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{info, warn};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_bigint::ToBigInt`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num_bigint::ToBigInt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_bigint::ToBigUint`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use num_bigint::ToBigUint;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RandBigInt`
[INFO] [stdout]  --> src/main.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use num_bigint::{BigInt, RandBigInt};
[INFO] [stdout]   |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gcd` is never used
[INFO] [stdout]   --> src/main.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn gcd(a: &BigInt, b: &BigInt) -> BigInt {
[INFO] [stdout]    |    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_SYMBOLS` is never used
[INFO] [stdout]  --> src/encoding.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const DEFAULT_SYMBOLS: &str = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz(.,;:!?)[<+-*/=>]@| ";
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `str2num` is never used
[INFO] [stdout]   --> src/encoding.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn str2num(s: &str, digitstring: &str) -> Option<BigInt> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `num2str` is never used
[INFO] [stdout]   --> src/encoding.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn num2str(n: &BigInt, digitstring: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.09s
[INFO] running `Command { std: "docker" "inspect" "fa5ba7eb12a1886ade1f1a5dfa05c2ffa8746388f79b05ef1b79b636b985b50b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa5ba7eb12a1886ade1f1a5dfa05c2ffa8746388f79b05ef1b79b636b985b50b", kill_on_drop: false }`
[INFO] [stdout] fa5ba7eb12a1886ade1f1a5dfa05c2ffa8746388f79b05ef1b79b636b985b50b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7c2b51e4d41b8a55632fa3b4e15af35bf57c63611970dc8080116b1b1ba0452
[INFO] running `Command { std: "docker" "start" "-a" "c7c2b51e4d41b8a55632fa3b4e15af35bf57c63611970dc8080116b1b1ba0452", kill_on_drop: false }`
[INFO] [stderr]    Compiling naive-rabin-cryptosystem v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/encoding.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/encoding.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use log::{info, warn, error};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/main.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{info, warn};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_bigint::ToBigInt`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num_bigint::ToBigInt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_bigint::ToBigUint`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use num_bigint::ToBigUint;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RandBigInt`
[INFO] [stdout]  --> src/main.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use num_bigint::{BigInt, RandBigInt};
[INFO] [stdout]   |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DEFAULT_SYMBOLS`, `num2str`, and `str2num`
[INFO] [stdout]    --> src/main.rs:131:27
[INFO] [stdout]     |
[INFO] [stdout] 131 |     use crate::encoding::{num2str, str2num, DEFAULT_SYMBOLS};
[INFO] [stdout]     |                           ^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/main.rs:310:16
[INFO] [stdout]     |
[INFO] [stdout] 310 |             if let decoded_text = num2str(candidate, DEFAULT_SYMBOLS) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gcd` is never used
[INFO] [stdout]   --> src/main.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn gcd(a: &BigInt, b: &BigInt) -> BigInt {
[INFO] [stdout]    |    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.86s
[INFO] running `Command { std: "docker" "inspect" "c7c2b51e4d41b8a55632fa3b4e15af35bf57c63611970dc8080116b1b1ba0452", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7c2b51e4d41b8a55632fa3b4e15af35bf57c63611970dc8080116b1b1ba0452", kill_on_drop: false }`
[INFO] [stdout] c7c2b51e4d41b8a55632fa3b4e15af35bf57c63611970dc8080116b1b1ba0452
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7abc6b1aa8fa419527c1a4bd13e47a9470dcca95eb29f2adecb5bc9b41b7756a
[INFO] running `Command { std: "docker" "start" "-a" "7abc6b1aa8fa419527c1a4bd13e47a9470dcca95eb29f2adecb5bc9b41b7756a", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/encoding.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/encoding.rs:8:17
[INFO] [stderr]   |
[INFO] [stderr] 8 | use log::{info, warn, error};
[INFO] [stderr]   |                 ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/main.rs:3:17
[INFO] [stderr]   |
[INFO] [stderr] 3 | use log::{info, warn};
[INFO] [stderr]   |                 ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `num_bigint::ToBigInt`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use num_bigint::ToBigInt;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `num_bigint::ToBigUint`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use num_bigint::ToBigUint;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `RandBigInt`
[INFO] [stderr]  --> src/main.rs:7:26
[INFO] [stderr]   |
[INFO] [stderr] 7 | use num_bigint::{BigInt, RandBigInt};
[INFO] [stderr]   |                          ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `DEFAULT_SYMBOLS`, `num2str`, and `str2num`
[INFO] [stderr]    --> src/main.rs:131:27
[INFO] [stderr]     |
[INFO] [stderr] 131 |     use crate::encoding::{num2str, str2num, DEFAULT_SYMBOLS};
[INFO] [stderr]     |                           ^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: irrefutable `if let` pattern
[INFO] [stderr]    --> src/main.rs:310:16
[INFO] [stderr]     |
[INFO] [stderr] 310 |             if let decoded_text = num2str(candidate, DEFAULT_SYMBOLS) {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stderr]     = help: consider replacing the `if let` with a `let`
[INFO] [stderr]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `gcd` is never used
[INFO] [stderr]   --> src/main.rs:33:4
[INFO] [stderr]    |
[INFO] [stderr] 33 | fn gcd(a: &BigInt, b: &BigInt) -> BigInt {
[INFO] [stderr]    |    ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `naive-rabin-cryptosystem` (bin "naive-rabin-cryptosystem" test) generated 9 warnings (run `cargo fix --bin "naive-rabin-cryptosystem" --tests` to apply 7 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/naive_rabin_cryptosystem-ecba87a9d9a01474)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test encoding::tests::test_num2str_basic ... ok
[INFO] [stdout] test encoding::tests::test_str2num_and_num2str_round_trip ... ok
[INFO] [stdout] test encoding::tests::test_str2num_basic ... ok
[INFO] [stdout] test encoding::tests::test_maximum_value ... ok
[INFO] [stdout] test encoding::tests::num2str_simple ... ok
[INFO] [stdout] test tests::test_decrypt_exercise_message ... FAILED
[INFO] [stdout] test tests::test_encrypt_produces_expected_ciphertext ... ok
[INFO] [stdout] test tests::test_decrypt_candidates ... ok
[INFO] [stdout] test tests::test_compute_candidates ... ok
[INFO] [stdout] test tests::test_encrypt_with_string_encoding ... ok
[INFO] [stdout] test tests::test_encrypt_decrypt_message ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_decrypt_exercise_message stdout ----
[INFO] [stdout] Decrypted candidate: |7)m/vuJYQcjR.bbd13SCBQnP0([>qvIAK:?YBfJfOynd07LO|pfz;OJ6[+]
[INFO] [stdout] Decrypted candidate: 2|[D@owKY+GiZr!J2z]Q?C)0b.P[ry[@G9LCqlfYuo:ZdUujF,uViUfX;m0)L
[INFO] [stdout] Decrypted candidate: -|7)m/vuJYQcjR.bbd13SCBQnP0([>qvIAK:?YBfJfOynd07LO|pfz;OJ6[+]
[INFO] [stdout] Decrypted candidate: 4>3<Dc9o-w)diRUB>v|Xgb9rsVRWVqCTqT(,PX,ZDpX*uQuxwWrqj+80LzypD
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_decrypt_exercise_message' panicked at src/main.rs:284:9:
[INFO] [stdout] None of the decrypted candidates matched the expected plaintext
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a4e684ba02 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x55a4e684ba02 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x55a4e684ba02 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x55a4e684ba02 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x55a4e68716d3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x55a4e68716d3 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x55a4e6848933 - std::io::default_write_fmt::h7b8824096454f323
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x55a4e6848933 - std::io::Write::write_fmt::h4e71294925c334d0
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x55a4e684b852 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x55a4e684cf79 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x55a4e684cdae - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x55a4e677cbe4 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb6bd65493727d71a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x55a4e677cbe4 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x55a4e684d94e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h318e4efb8c1a5689
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x55a4e684d94e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x55a4e684d6e6 - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:699:13
[INFO] [stdout]   16:     0x55a4e684bef9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x55a4e684d3ad - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x55a4e68700a0 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x55a4e6739ce3 - naive_rabin_cryptosystem::tests::test_decrypt_exercise_message::hb24ba31f636aeebd
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:284:9
[INFO] [stdout]   20:     0x55a4e6739837 - naive_rabin_cryptosystem::tests::test_decrypt_exercise_message::{{closure}}::h4827e4c555bfb78f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:243:39
[INFO] [stdout]   21:     0x55a4e6725706 - core::ops::function::FnOnce::call_once::h8fdd7d56911970da
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   22:     0x55a4e678244b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   23:     0x55a4e678244b - test::__rust_begin_short_backtrace::ha52ab26e77157f03
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18
[INFO] [stdout]   24:     0x55a4e6781585 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74
[INFO] [stdout]   25:     0x55a4e6781585 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   26:     0x55a4e6781585 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   27:     0x55a4e6781585 - std::panicking::catch_unwind::h6deb5fe1e91873c9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   28:     0x55a4e6781585 - std::panic::catch_unwind::hea0829b6b565654b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   29:     0x55a4e6781585 - test::run_test_in_process::hdc44dfecea3db21b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27
[INFO] [stdout]   30:     0x55a4e6781585 - test::run_test::{{closure}}::h0364ba59bf23f652
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43
[INFO] [stdout]   31:     0x55a4e6745184 - test::run_test::{{closure}}::h32730b304eec05da
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41
[INFO] [stdout]   32:     0x55a4e6745184 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   33:     0x55a4e6748b5a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   34:     0x55a4e6748b5a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   35:     0x55a4e6748b5a - std::panicking::catch_unwind::do_call::h163fe12cca9901c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   36:     0x55a4e6748b5a - std::panicking::catch_unwind::he81557d0e17cc1bc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   37:     0x55a4e6748b5a - std::panic::catch_unwind::hc2b8e79c20593955
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   38:     0x55a4e6748b5a - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   39:     0x55a4e6748b5a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   40:     0x55a4e68509cf - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5924238c754de3b8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   41:     0x55a4e68509cf - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17
[INFO] [stdout]   42:     0x7d25487a1aa4 - <unknown>
[INFO] [stdout]   43:     0x7d254882ea34 - clone
[INFO] [stdout]   44:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::test_decrypt_exercise_message
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 10 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.48s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin naive-rabin-cryptosystem`
[INFO] running `Command { std: "docker" "inspect" "7abc6b1aa8fa419527c1a4bd13e47a9470dcca95eb29f2adecb5bc9b41b7756a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7abc6b1aa8fa419527c1a4bd13e47a9470dcca95eb29f2adecb5bc9b41b7756a", kill_on_drop: false }`
[INFO] [stdout] 7abc6b1aa8fa419527c1a4bd13e47a9470dcca95eb29f2adecb5bc9b41b7756a
