[INFO] cloning repository https://github.com/parsasarfarazi/crypto-toolbox
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/parsasarfarazi/crypto-toolbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparsasarfarazi%2Fcrypto-toolbox", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparsasarfarazi%2Fcrypto-toolbox'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5a908c735b720aff8558c90c6141d158cb8a5cc8
[INFO] testing parsasarfarazi/crypto-toolbox against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparsasarfarazi%2Fcrypto-toolbox" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/parsasarfarazi/crypto-toolbox
[INFO] finished tweaking git repo https://github.com/parsasarfarazi/crypto-toolbox
[INFO] tweaked toml for git repo https://github.com/parsasarfarazi/crypto-toolbox written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/parsasarfarazi/crypto-toolbox on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/parsasarfarazi/crypto-toolbox 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.26
[INFO] [stderr]   Downloaded crypto-bigint v0.6.1
[INFO] [stderr]   Downloaded zerocopy v0.8.26
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 818265e864ebbf5bf866faf8a6dba10774ac491ee6913eed62cb62881c1e12d5
[INFO] running `Command { std: "docker" "start" "-a" "818265e864ebbf5bf866faf8a6dba10774ac491ee6913eed62cb62881c1e12d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "818265e864ebbf5bf866faf8a6dba10774ac491ee6913eed62cb62881c1e12d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "818265e864ebbf5bf866faf8a6dba10774ac491ee6913eed62cb62881c1e12d5", kill_on_drop: false }`
[INFO] [stdout] 818265e864ebbf5bf866faf8a6dba10774ac491ee6913eed62cb62881c1e12d5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 390b86c0b0dffdb2d61f619976b49c2c183fd66f04ca5da863a66a8054d4376e
[INFO] running `Command { std: "docker" "start" "-a" "390b86c0b0dffdb2d61f619976b49c2c183fd66f04ca5da863a66a8054d4376e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling crypto-bigint v0.6.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling crypto-toolbox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `U16384` and `U2048`
[INFO] [stdout]  --> src/utils.rs:1:43
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crypto_bigint::{self, Integer, U1024, U2048, U16384, Zero};
[INFO] [stdout]   |                                           ^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Random` and `rand_core::OsRng`
[INFO] [stdout]  --> src/rsa.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crypto_bigint::{self, Random, U2048, rand_core::OsRng};
[INFO] [stdout]   |                           ^^^^^^         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::rsa`
[INFO] [stdout]   --> src/rsa.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use crate::rsa;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plaintext`
[INFO] [stdout]   --> src/rsa.rs:13:27
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn encrypt(&self, plaintext: Pint) -> Pint {
[INFO] [stdout]    |                           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plaintext`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ciphertext`
[INFO] [stdout]   --> src/rsa.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn decrypt(&self, ciphertext: Pint) -> Pint {
[INFO] [stdout]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `PubKey` is more private than the item `generate_keys`
[INFO] [stdout]  --> src/rsa.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn generate_keys() -> (PubKey, PrivKey) {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `generate_keys` is reachable at visibility `pub`
[INFO] [stdout]   |
[INFO] [stdout] note: but type `PubKey` is only usable at visibility `pub(self)`
[INFO] [stdout]  --> src/rsa.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct PubKey {
[INFO] [stdout]   | ^^^^^^^^^^^^^
[INFO] [stdout]   = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `PrivKey` is more private than the item `generate_keys`
[INFO] [stdout]   --> src/rsa.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub fn generate_keys() -> (PubKey, PrivKey) {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `generate_keys` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `PrivKey` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/rsa.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct PrivKey {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `public_key` is never read
[INFO] [stdout]  --> src/rsa.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct PubKey {
[INFO] [stdout]   |        ------ field in this struct
[INFO] [stdout] 9 |     public_key: Pint,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `encrypt` is never used
[INFO] [stdout]   --> src/rsa.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl PubKey {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 13 |     pub fn encrypt(&self, plaintext: Pint) -> Pint {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `private_key` is never read
[INFO] [stdout]   --> src/rsa.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct PrivKey {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 19 |     private_key: Pint,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `decrypt` is never used
[INFO] [stdout]   --> src/rsa.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl PrivKey {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 22 |     pub fn decrypt(&self, ciphertext: Pint) -> Pint {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.65s
[INFO] running `Command { std: "docker" "inspect" "390b86c0b0dffdb2d61f619976b49c2c183fd66f04ca5da863a66a8054d4376e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "390b86c0b0dffdb2d61f619976b49c2c183fd66f04ca5da863a66a8054d4376e", kill_on_drop: false }`
[INFO] [stdout] 390b86c0b0dffdb2d61f619976b49c2c183fd66f04ca5da863a66a8054d4376e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b40d2ba9405401fc8a833a77b353b518becc7e772926a388be2479262bedea41
[INFO] running `Command { std: "docker" "start" "-a" "b40d2ba9405401fc8a833a77b353b518becc7e772926a388be2479262bedea41", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `U16384` and `U2048`
[INFO] [stdout]  --> src/utils.rs:1:43
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crypto_bigint::{self, Integer, U1024, U2048, U16384, Zero};
[INFO] [stdout]   |                                           ^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Random` and `rand_core::OsRng`
[INFO] [stdout]  --> src/rsa.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crypto_bigint::{self, Random, U2048, rand_core::OsRng};
[INFO] [stdout]   |                           ^^^^^^         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::rsa`
[INFO] [stdout]   --> src/rsa.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use crate::rsa;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plaintext`
[INFO] [stdout]   --> src/rsa.rs:13:27
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn encrypt(&self, plaintext: Pint) -> Pint {
[INFO] [stdout]    |                           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plaintext`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ciphertext`
[INFO] [stdout]   --> src/rsa.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn decrypt(&self, ciphertext: Pint) -> Pint {
[INFO] [stdout]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `PubKey` is more private than the item `generate_keys`
[INFO] [stdout]  --> src/rsa.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn generate_keys() -> (PubKey, PrivKey) {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `generate_keys` is reachable at visibility `pub`
[INFO] [stdout]   |
[INFO] [stdout] note: but type `PubKey` is only usable at visibility `pub(self)`
[INFO] [stdout]  --> src/rsa.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct PubKey {
[INFO] [stdout]   | ^^^^^^^^^^^^^
[INFO] [stdout]   = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `PrivKey` is more private than the item `generate_keys`
[INFO] [stdout]   --> src/rsa.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub fn generate_keys() -> (PubKey, PrivKey) {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `generate_keys` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `PrivKey` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/rsa.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct PrivKey {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `public_key` is never read
[INFO] [stdout]  --> src/rsa.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct PubKey {
[INFO] [stdout]   |        ------ field in this struct
[INFO] [stdout] 9 |     public_key: Pint,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `encrypt` is never used
[INFO] [stdout]   --> src/rsa.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl PubKey {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 13 |     pub fn encrypt(&self, plaintext: Pint) -> Pint {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `private_key` is never read
[INFO] [stdout]   --> src/rsa.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct PrivKey {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 19 |     private_key: Pint,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling crypto-toolbox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `decrypt` is never used
[INFO] [stdout]   --> src/rsa.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl PrivKey {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 22 |     pub fn decrypt(&self, ciphertext: Pint) -> Pint {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `U16384` and `U2048`
[INFO] [stdout]  --> src/utils.rs:1:43
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crypto_bigint::{self, Integer, U1024, U2048, U16384, Zero};
[INFO] [stdout]   |                                           ^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crypto_bigint::rand_core::OsRng`
[INFO] [stdout]    --> src/utils.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |     use crypto_bigint::rand_core::OsRng;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Limb`, `Random`, `U1024`, and `Uint`
[INFO] [stdout]    --> src/utils.rs:216:31
[INFO] [stdout]     |
[INFO] [stdout] 216 |     use crypto_bigint::{self, Limb, NonZero, Random, U1024, U2048, Uint};
[INFO] [stdout]     |                               ^^^^           ^^^^^^  ^^^^^         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Random` and `rand_core::OsRng`
[INFO] [stdout]  --> src/rsa.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crypto_bigint::{self, Random, U2048, rand_core::OsRng};
[INFO] [stdout]   |                           ^^^^^^         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::rsa`
[INFO] [stdout]   --> src/rsa.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use crate::rsa;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plaintext`
[INFO] [stdout]   --> src/rsa.rs:13:27
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn encrypt(&self, plaintext: Pint) -> Pint {
[INFO] [stdout]    |                           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plaintext`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ciphertext`
[INFO] [stdout]   --> src/rsa.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn decrypt(&self, ciphertext: Pint) -> Pint {
[INFO] [stdout]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `PubKey` is more private than the item `generate_keys`
[INFO] [stdout]  --> src/rsa.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn generate_keys() -> (PubKey, PrivKey) {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `generate_keys` is reachable at visibility `pub`
[INFO] [stdout]   |
[INFO] [stdout] note: but type `PubKey` is only usable at visibility `pub(self)`
[INFO] [stdout]  --> src/rsa.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct PubKey {
[INFO] [stdout]   | ^^^^^^^^^^^^^
[INFO] [stdout]   = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `PrivKey` is more private than the item `generate_keys`
[INFO] [stdout]   --> src/rsa.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub fn generate_keys() -> (PubKey, PrivKey) {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `generate_keys` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `PrivKey` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/rsa.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct PrivKey {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `public_key` is never read
[INFO] [stdout]  --> src/rsa.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct PubKey {
[INFO] [stdout]   |        ------ field in this struct
[INFO] [stdout] 9 |     public_key: Pint,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `encrypt` is never used
[INFO] [stdout]   --> src/rsa.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl PubKey {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 13 |     pub fn encrypt(&self, plaintext: Pint) -> Pint {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `private_key` is never read
[INFO] [stdout]   --> src/rsa.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct PrivKey {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 19 |     private_key: Pint,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `decrypt` is never used
[INFO] [stdout]   --> src/rsa.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl PrivKey {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 22 |     pub fn decrypt(&self, ciphertext: Pint) -> Pint {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s
[INFO] running `Command { std: "docker" "inspect" "b40d2ba9405401fc8a833a77b353b518becc7e772926a388be2479262bedea41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b40d2ba9405401fc8a833a77b353b518becc7e772926a388be2479262bedea41", kill_on_drop: false }`
[INFO] [stdout] b40d2ba9405401fc8a833a77b353b518becc7e772926a388be2479262bedea41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 83202ee4acd5acc25fe6874e853978c0ffd8bcf309392adf60789b1b37d7ef8d
[INFO] running `Command { std: "docker" "start" "-a" "83202ee4acd5acc25fe6874e853978c0ffd8bcf309392adf60789b1b37d7ef8d", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `U16384` and `U2048`
[INFO] [stderr]  --> src/utils.rs:1:43
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crypto_bigint::{self, Integer, U1024, U2048, U16384, Zero};
[INFO] [stderr]   |                                           ^^^^^  ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Random` and `rand_core::OsRng`
[INFO] [stderr]  --> src/rsa.rs:1:27
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crypto_bigint::{self, Random, U2048, rand_core::OsRng};
[INFO] [stderr]   |                           ^^^^^^         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::rsa`
[INFO] [stderr]   --> src/rsa.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 28 |     use crate::rsa;
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `plaintext`
[INFO] [stderr]   --> src/rsa.rs:13:27
[INFO] [stderr]    |
[INFO] [stderr] 13 |     pub fn encrypt(&self, plaintext: Pint) -> Pint {
[INFO] [stderr]    |                           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plaintext`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ciphertext`
[INFO] [stderr]   --> src/rsa.rs:22:27
[INFO] [stderr]    |
[INFO] [stderr] 22 |     pub fn decrypt(&self, ciphertext: Pint) -> Pint {
[INFO] [stderr]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext`
[INFO] [stderr] 
[INFO] [stderr] warning: type `PubKey` is more private than the item `generate_keys`
[INFO] [stderr]  --> src/rsa.rs:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn generate_keys() -> (PubKey, PrivKey) {
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `generate_keys` is reachable at visibility `pub`
[INFO] [stderr]   |
[INFO] [stderr] note: but type `PubKey` is only usable at visibility `pub(self)`
[INFO] [stderr]  --> src/rsa.rs:8:1
[INFO] [stderr]   |
[INFO] [stderr] 8 | struct PubKey {
[INFO] [stderr]   | ^^^^^^^^^^^^^
[INFO] [stderr]   = note: `#[warn(private_interfaces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `PrivKey` is more private than the item `generate_keys`
[INFO] [stderr]   --> src/rsa.rs:4:1
[INFO] [stderr]    |
[INFO] [stderr]  4 | pub fn generate_keys() -> (PubKey, PrivKey) {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `generate_keys` is reachable at visibility `pub`
[INFO] [stderr]    |
[INFO] [stderr] note: but type `PrivKey` is only usable at visibility `pub(self)`
[INFO] [stderr]   --> src/rsa.rs:18:1
[INFO] [stderr]    |
[INFO] [stderr] 18 | struct PrivKey {
[INFO] [stderr]    | ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `public_key` is never read
[INFO] [stderr]  --> src/rsa.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | struct PubKey {
[INFO] [stderr]   |        ------ field in this struct
[INFO] [stderr] 9 |     public_key: Pint,
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `encrypt` is never used
[INFO] [stderr]   --> src/rsa.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl PubKey {
[INFO] [stderr]    | ----------- method in this implementation
[INFO] [stderr] 13 |     pub fn encrypt(&self, plaintext: Pint) -> Pint {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `private_key` is never read
[INFO] [stderr]   --> src/rsa.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | struct PrivKey {
[INFO] [stderr]    |        ------- field in this struct
[INFO] [stderr] 19 |     private_key: Pint,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `decrypt` is never used
[INFO] [stderr]   --> src/rsa.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 21 | impl PrivKey {
[INFO] [stderr]    | ------------ method in this implementation
[INFO] [stderr] 22 |     pub fn decrypt(&self, ciphertext: Pint) -> Pint {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crypto_bigint::rand_core::OsRng`
[INFO] [stderr]    --> src/utils.rs:215:9
[INFO] [stderr]     |
[INFO] [stderr] 215 |     use crypto_bigint::rand_core::OsRng;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Limb`, `Random`, `U1024`, and `Uint`
[INFO] [stderr]    --> src/utils.rs:216:31
[INFO] [stderr]     |
[INFO] [stderr] 216 |     use crypto_bigint::{self, Limb, NonZero, Random, U1024, U2048, Uint};
[INFO] [stderr]     |                               ^^^^           ^^^^^^  ^^^^^         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `crypto-toolbox` (lib) generated 11 warnings (run `cargo fix --lib -p crypto-toolbox` to apply 5 suggestions)
[INFO] [stderr] warning: `crypto-toolbox` (lib test) generated 13 warnings (11 duplicates) (run `cargo fix --lib -p crypto-toolbox --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/crypto_toolbox-f14043e437061342)
[INFO] [stdout] running 8 tests
[INFO] [stdout] test utils::test::test_inverse_verification ... ok
[INFO] [stdout] test utils::test::test_mod_pow ... ok
[INFO] [stdout] test utils::test::test_get_binary_digits ... ok
[INFO] [stdout] test utils::test::test_crypto_bigint ... ok
[INFO] [stdout] test utils::test::test_gcd ... ok
[INFO] [stdout] test utils::test::test_mod_inv ... FAILED
[INFO] [stdout] test utils::test::test_mod_inv_fermat ... FAILED
[INFO] [stdout] test utils::test::test_extended_gcd ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- utils::test::test_mod_inv stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'utils::test::test_mod_inv' (29) panicked at src/utils.rs:316:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: None
[INFO] [stdout]  right: Some(7)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5745654f6632 - std::backtrace_rs::backtrace::libunwind::trace::h786de35fecf3582f
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5745654f6632 - std::backtrace_rs::backtrace::trace_unsynchronized::h4a7da1a2a64387f1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5745654f6632 - std::sys::backtrace::_print_fmt::h6bd7d500070c788c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5745654f6632 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d82c1afff976903
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x574565506c0f - core::fmt::rt::Argument::fmt::hc4ce6d643d397690
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x574565506c0f - core::fmt::write::hb1e7ca88b6a3936e
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x5745654c3fd3 - std::io::default_write_fmt::haffd49d96f1984a8
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5745654c3fd3 - std::io::Write::write_fmt::h027871c57cf57c01
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5745654cfea2 - std::sys::backtrace::BacktraceLock::print::ha2430613ee79d059
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5745654d497f - std::panicking::default_hook::{{closure}}::hdbd2db9e5c303cf6
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5745654d4811 - std::panicking::default_hook::hed93c70cba5fdcf0
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x57456545516e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd0ee8b569efc6a07
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x57456545516e - test::test_main_with_exit_callback::{{closure}}::hf10864b576ecd15d
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5745654d4f8f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3a55ca34534c0d00
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x5745654d4f8f - std::panicking::panic_with_hook::h3862d766c2cec19b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5745654d4dea - std::panicking::panic_handler::{{closure}}::hb95eb402b5e28ee1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x5745654cffd9 - std::sys::backtrace::__rust_end_short_backtrace::hf73a26dc1835d85a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5745654b88cd - __rustc[6ed5915ee467787]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x57456550e730 - core::panicking::panic_fmt::h3454303eb8e6f7cd
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x57456550e533 - core::panicking::assert_failed_inner::hdcc703ae7c807131
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:444:17
[INFO] [stdout]   20:     0x574565433a64 - core::panicking::assert_failed::hc3230402bf9a1146
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:399:5
[INFO] [stdout]   21:     0x57456542c232 - crypto_toolbox::utils::test::test_mod_inv::hb62db30f18ecc11f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/utils.rs:316:9
[INFO] [stdout]   22:     0x57456542c2e7 - crypto_toolbox::utils::test::test_mod_inv::{{closure}}::h278cf0fbace9ceff
[INFO] [stdout]                                at /opt/rustwide/workdir/src/utils.rs:303:22
[INFO] [stdout]   23:     0x574565433086 - core::ops::function::FnOnce::call_once::h949dd63ae04cf8ca
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x574565454f4b - core::ops::function::FnOnce::call_once::ha729ee35d2fab541
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x574565454f4b - test::__rust_begin_short_backtrace::ha40f4db8207e1111
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x574565468fcd - test::run_test_in_process::{{closure}}::hc1b77cda5d44f0f3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x574565468fcd - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h1dbea1de64785521
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x574565468fcd - std::panicking::catch_unwind::do_call::hd5febe9affd5a1b3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   29:     0x574565468fcd - std::panicking::catch_unwind::h51ea89627559b6f4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   30:     0x574565468fcd - std::panic::catch_unwind::hb8b8c2367cae3d66
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x574565468fcd - test::run_test_in_process::ha5b55801407ea100
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x574565468fcd - test::run_test::{{closure}}::h0b9d4072b527abf5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5745654424e4 - test::run_test::{{closure}}::hb1056b5731205822
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5745654424e4 - std::sys::backtrace::__rust_begin_short_backtrace::hb61ff5a34023c7ef
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x574565445e1a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb0a83c0e8b353cff
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   36:     0x574565445e1a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb4f32cb008535298
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x574565445e1a - std::panicking::catch_unwind::do_call::h16d110e4fc35789a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   38:     0x574565445e1a - std::panicking::catch_unwind::hea9118f355699c4b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   39:     0x574565445e1a - std::panic::catch_unwind::hf4b3c2a06d3f42f5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x574565445e1a - std::thread::Builder::spawn_unchecked_::{{closure}}::h3f4cb733a52d53d5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   41:     0x574565445e1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4052f0967b37caeb
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5745654cb3df - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7ec433abd3f148b4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   43:     0x5745654cb3df - std::sys::thread::unix::Thread::new::thread_start::he514622d3d7ba65c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   44:     0x78b772a79aa4 - <unknown>
[INFO] [stdout]   45:     0x78b772b06a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- utils::test::test_mod_inv_fermat stdout ----
[INFO] [stdout] binary_expansion is : [0, 1, 0, 1]
[INFO] [stdout] inter_numebrs is : [3, 9, 4, 5]
[INFO] [stdout] binary_expansion is : [1, 0, 0, 1]
[INFO] [stdout] inter_numebrs is : [3, 9, 4, 5]
[INFO] [stdout] binary_expansion is : [0, 1, 1, 0, 1]
[INFO] [stdout] inter_numebrs is : [7, 3, 9, 12, 6]
[INFO] [stdout] binary_expansion is : [1, 0, 1, 0, 1]
[INFO] [stdout] inter_numebrs is : [7, 3, 9, 12, 6]
[INFO] [stdout] 
[INFO] [stdout] thread 'utils::test::test_mod_inv_fermat' (30) panicked at src/utils.rs:299:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: None
[INFO] [stdout]  right: Some(1)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5745654f6632 - std::backtrace_rs::backtrace::libunwind::trace::h786de35fecf3582f
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5745654f6632 - std::backtrace_rs::backtrace::trace_unsynchronized::h4a7da1a2a64387f1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5745654f6632 - std::sys::backtrace::_print_fmt::h6bd7d500070c788c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5745654f6632 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d82c1afff976903
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x574565506c0f - core::fmt::rt::Argument::fmt::hc4ce6d643d397690
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x574565506c0f - core::fmt::write::hb1e7ca88b6a3936e
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x5745654c3fd3 - std::io::default_write_fmt::haffd49d96f1984a8
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5745654c3fd3 - std::io::Write::write_fmt::h027871c57cf57c01
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5745654cfea2 - std::sys::backtrace::BacktraceLock::print::ha2430613ee79d059
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5745654d497f - std::panicking::default_hook::{{closure}}::hdbd2db9e5c303cf6
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5745654d4811 - std::panicking::default_hook::hed93c70cba5fdcf0
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x57456545516e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd0ee8b569efc6a07
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x57456545516e - test::test_main_with_exit_callback::{{closure}}::hf10864b576ecd15d
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5745654d4f8f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3a55ca34534c0d00
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x5745654d4f8f - std::panicking::panic_with_hook::h3862d766c2cec19b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5745654d4dea - std::panicking::panic_handler::{{closure}}::hb95eb402b5e28ee1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x5745654cffd9 - std::sys::backtrace::__rust_end_short_backtrace::hf73a26dc1835d85a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5745654b88cd - __rustc[6ed5915ee467787]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x57456550e730 - core::panicking::panic_fmt::h3454303eb8e6f7cd
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x57456550e533 - core::panicking::assert_failed_inner::hdcc703ae7c807131
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:444:17
[INFO] [stdout]   20:     0x574565433a25 - core::panicking::assert_failed::h44264cdb715500c9
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:399:5
[INFO] [stdout]   21:     0x57456542cf01 - crypto_toolbox::utils::test::test_mod_inv_fermat::ha696c8ad1743c331
[INFO] [stdout]                                at /opt/rustwide/workdir/src/utils.rs:299:9
[INFO] [stdout]   22:     0x57456542cf27 - crypto_toolbox::utils::test::test_mod_inv_fermat::{{closure}}::hddd9cecc125c7695
[INFO] [stdout]                                at /opt/rustwide/workdir/src/utils.rs:289:29
[INFO] [stdout]   23:     0x574565433186 - core::ops::function::FnOnce::call_once::hbcce7c442910e3f6
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x574565454f4b - core::ops::function::FnOnce::call_once::ha729ee35d2fab541
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x574565454f4b - test::__rust_begin_short_backtrace::ha40f4db8207e1111
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x574565468fcd - test::run_test_in_process::{{closure}}::hc1b77cda5d44f0f3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x574565468fcd - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h1dbea1de64785521
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x574565468fcd - std::panicking::catch_unwind::do_call::hd5febe9affd5a1b3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   29:     0x574565468fcd - std::panicking::catch_unwind::h51ea89627559b6f4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   30:     0x574565468fcd - std::panic::catch_unwind::hb8b8c2367cae3d66
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x574565468fcd - test::run_test_in_process::ha5b55801407ea100
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x574565468fcd - test::run_test::{{closure}}::h0b9d4072b527abf5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5745654424e4 - test::run_test::{{closure}}::hb1056b5731205822
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5745654424e4 - std::sys::backtrace::__rust_begin_short_backtrace::hb61ff5a34023c7ef
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x574565445e1a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb0a83c0e8b353cff
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   36:     0x574565445e1a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb4f32cb008535298
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x574565445e1a - std::panicking::catch_unwind::do_call::h16d110e4fc35789a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   38:     0x574565445e1a - std::panicking::catch_unwind::hea9118f355699c4b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   39:     0x574565445e1a - std::panic::catch_unwind::hf4b3c2a06d3f42f5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x574565445e1a - std::thread::Builder::spawn_unchecked_::{{closure}}::h3f4cb733a52d53d5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   41:     0x574565445e1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4052f0967b37caeb
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5745654cb3df - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7ec433abd3f148b4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   43:     0x5745654cb3df - std::sys::thread::unix::Thread::new::thread_start::he514622d3d7ba65c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   44:     0x78b772a79aa4 - <unknown>
[INFO] [stdout]   45:     0x78b772b06a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     utils::test::test_mod_inv
[INFO] [stdout]     utils::test::test_mod_inv_fermat
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "83202ee4acd5acc25fe6874e853978c0ffd8bcf309392adf60789b1b37d7ef8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83202ee4acd5acc25fe6874e853978c0ffd8bcf309392adf60789b1b37d7ef8d", kill_on_drop: false }`
[INFO] [stdout] 83202ee4acd5acc25fe6874e853978c0ffd8bcf309392adf60789b1b37d7ef8d
