[INFO] fetching crate encrypto_rust 0.2.0...
[INFO] testing encrypto_rust-0.2.0 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate encrypto_rust 0.2.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate encrypto_rust 0.2.0
[INFO] finished tweaking crates.io crate encrypto_rust 0.2.0
[INFO] tweaked toml for crates.io crate encrypto_rust 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate encrypto_rust 0.2.0 on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] running `"cargo" "+1.101.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 31 packages to highest compatible versions
[INFO] [stderr]       Adding base64 v0.13.1 (available: v0.23.1)
[INFO] [stderr]       Adding num-bigint v0.4.8 (available: v0.5.1)
[INFO] [stderr]       Adding rand v0.8.8 (available: v0.10.4)
[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-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7f9f422119dded21caf0f127f48715777e9a7f0c3001fa35f1ac9a5dbbd10ead
[INFO] running `"docker" "start" "7f9f422119dded21caf0f127f48715777e9a7f0c3001fa35f1ac9a5dbbd10ead"`
[INFO] running `"docker" "inspect" "7f9f422119dded21caf0f127f48715777e9a7f0c3001fa35f1ac9a5dbbd10ead"`
[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" "7f9f422119dded21caf0f127f48715777e9a7f0c3001fa35f1ac9a5dbbd10ead" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "7f9f422119dded21caf0f127f48715777e9a7f0c3001fa35f1ac9a5dbbd10ead"`
[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" "7f9f422119dded21caf0f127f48715777e9a7f0c3001fa35f1ac9a5dbbd10ead" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling libc v0.2.191
[INFO] [stderr]    Compiling unicode-ident v1.0.27
[INFO] [stderr]    Compiling zerocopy v0.8.64
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling cfg-if v1.0.5
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling itoa v1.0.19
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v3.0.10
[INFO] [stderr]    Compiling num-integer v0.1.47
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling num-iter v0.1.46
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.8
[INFO] [stderr]    Compiling num-bigint v0.4.8
[INFO] [stderr]    Compiling encrypto_rust v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated method `num::Integer::divides`: Please use is_multiple_of instead
[INFO] [stdout]    --> src/bigint.rs:265:21
[INFO] [stdout]     |
[INFO] [stdout] 265 |             while n.divides(&BigUint::from(i)) {
[INFO] [stdout]     |                     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Verification` is never constructed
[INFO] [stdout]   --> src/bigint.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct Verification;
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Factorization` is never constructed
[INFO] [stdout]   --> src/bigint.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct Factorization;
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new_composite`, `new_uint`, and `safe_prime` are never used
[INFO] [stdout]    --> src/bigint.rs:92:12
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl Generator {
[INFO] [stdout]     | -------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn new_composite(n: usize) -> BigUint {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn new_uint(n: usize) -> BigUint {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn safe_prime(n: usize) -> BigUint {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_prime`, `is_composite`, `is_safe_prime`, and `is_very_smooth_number` are never used
[INFO] [stdout]    --> src/bigint.rs:185:12
[INFO] [stdout]     |
[INFO] [stdout] 184 | impl Verification {
[INFO] [stdout]     | ----------------- associated functions in this implementation
[INFO] [stdout] 185 |     pub fn is_prime(n: &BigUint) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     pub fn is_composite(n: &BigUint) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn is_safe_prime(n: &BigUint) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub fn is_very_smooth_number(m: &BigUint, n: f64, c: u32) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `prime_factor` is never used
[INFO] [stdout]    --> src/bigint.rs:247:12
[INFO] [stdout]     |
[INFO] [stdout] 226 | impl Factorization {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub fn prime_factor(mut n: BigUint) -> Option<BigUint> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_safe_prime_add` is never used
[INFO] [stdout]    --> src/bigint.rs:449:4
[INFO] [stdout]     |
[INFO] [stdout] 449 | fn is_safe_prime_add(number: &BigUint) -> bool {    
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_safe_prime` is never used
[INFO] [stdout]    --> src/bigint.rs:468:4
[INFO] [stdout]     |
[INFO] [stdout] 468 | fn is_safe_prime(number: &BigUint) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vsn` is never used
[INFO] [stdout]    --> src/bigint.rs:483:4
[INFO] [stdout]     |
[INFO] [stdout] 483 | fn vsn(m: &BigUint,n: f64, c: u32) -> bool {
[INFO] [stdout]     |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 20.93s
[INFO] running `"docker" "inspect" "7f9f422119dded21caf0f127f48715777e9a7f0c3001fa35f1ac9a5dbbd10ead"`
[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" "7f9f422119dded21caf0f127f48715777e9a7f0c3001fa35f1ac9a5dbbd10ead" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling encrypto_rust v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated method `num::Integer::divides`: Please use is_multiple_of instead
[INFO] [stdout]    --> src/bigint.rs:265:21
[INFO] [stdout]     |
[INFO] [stdout] 265 |             while n.divides(&BigUint::from(i)) {
[INFO] [stdout]     |                     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Verification` is never constructed
[INFO] [stdout]   --> src/bigint.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct Verification;
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Factorization` is never constructed
[INFO] [stdout]   --> src/bigint.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct Factorization;
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new_composite`, `new_uint`, and `safe_prime` are never used
[INFO] [stdout]    --> src/bigint.rs:92:12
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl Generator {
[INFO] [stdout]     | -------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn new_composite(n: usize) -> BigUint {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn new_uint(n: usize) -> BigUint {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn safe_prime(n: usize) -> BigUint {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_prime`, `is_composite`, `is_safe_prime`, and `is_very_smooth_number` are never used
[INFO] [stdout]    --> src/bigint.rs:185:12
[INFO] [stdout]     |
[INFO] [stdout] 184 | impl Verification {
[INFO] [stdout]     | ----------------- associated functions in this implementation
[INFO] [stdout] 185 |     pub fn is_prime(n: &BigUint) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     pub fn is_composite(n: &BigUint) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn is_safe_prime(n: &BigUint) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub fn is_very_smooth_number(m: &BigUint, n: f64, c: u32) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `prime_factor` is never used
[INFO] [stdout]    --> src/bigint.rs:247:12
[INFO] [stdout]     |
[INFO] [stdout] 226 | impl Factorization {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub fn prime_factor(mut n: BigUint) -> Option<BigUint> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_safe_prime_add` is never used
[INFO] [stdout]    --> src/bigint.rs:449:4
[INFO] [stdout]     |
[INFO] [stdout] 449 | fn is_safe_prime_add(number: &BigUint) -> bool {    
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_safe_prime` is never used
[INFO] [stdout]    --> src/bigint.rs:468:4
[INFO] [stdout]     |
[INFO] [stdout] 468 | fn is_safe_prime(number: &BigUint) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vsn` is never used
[INFO] [stdout]    --> src/bigint.rs:483:4
[INFO] [stdout]     |
[INFO] [stdout] 483 | fn vsn(m: &BigUint,n: f64, c: u32) -> bool {
[INFO] [stdout]     |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `num::Integer::divides`: Please use is_multiple_of instead
[INFO] [stdout]    --> src/bigint.rs:265:21
[INFO] [stdout]     |
[INFO] [stdout] 265 |             while n.divides(&BigUint::from(i)) {
[INFO] [stdout]     |                     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Verification` is never constructed
[INFO] [stdout]   --> src/bigint.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct Verification;
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_composite` is never used
[INFO] [stdout]   --> src/bigint.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 78 | impl Generator {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn new_composite(n: usize) -> BigUint {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_prime`, `is_composite`, `is_safe_prime`, and `is_very_smooth_number` are never used
[INFO] [stdout]    --> src/bigint.rs:185:12
[INFO] [stdout]     |
[INFO] [stdout] 184 | impl Verification {
[INFO] [stdout]     | ----------------- associated functions in this implementation
[INFO] [stdout] 185 |     pub fn is_prime(n: &BigUint) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     pub fn is_composite(n: &BigUint) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn is_safe_prime(n: &BigUint) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub fn is_very_smooth_number(m: &BigUint, n: f64, c: u32) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_safe_prime_add` is never used
[INFO] [stdout]    --> src/bigint.rs:449:4
[INFO] [stdout]     |
[INFO] [stdout] 449 | fn is_safe_prime_add(number: &BigUint) -> bool {    
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vsn` is never used
[INFO] [stdout]    --> src/bigint.rs:483:4
[INFO] [stdout]     |
[INFO] [stdout] 483 | fn vsn(m: &BigUint,n: f64, c: u32) -> bool {
[INFO] [stdout]     |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.08s
[INFO] running `"docker" "inspect" "7f9f422119dded21caf0f127f48715777e9a7f0c3001fa35f1ac9a5dbbd10ead"`
[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" "7f9f422119dded21caf0f127f48715777e9a7f0c3001fa35f1ac9a5dbbd10ead" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: use of deprecated method `num::Integer::divides`: Please use is_multiple_of instead
[INFO] [stderr]    --> src/bigint.rs:265:21
[INFO] [stderr]     |
[INFO] [stderr] 265 |             while n.divides(&BigUint::from(i)) {
[INFO] [stderr]     |                     ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Verification` is never constructed
[INFO] [stderr]   --> src/bigint.rs:58:12
[INFO] [stderr]    |
[INFO] [stderr] 58 | pub struct Verification;
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Factorization` is never constructed
[INFO] [stderr]   --> src/bigint.rs:76:12
[INFO] [stderr]    |
[INFO] [stderr] 76 | pub struct Factorization;
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `new_composite`, `new_uint`, and `safe_prime` are never used
[INFO] [stderr]    --> src/bigint.rs:92:12
[INFO] [stderr]     |
[INFO] [stderr]  78 | impl Generator {
[INFO] [stderr]     | -------------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  92 |     pub fn new_composite(n: usize) -> BigUint {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 118 |     pub fn new_uint(n: usize) -> BigUint {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 167 |     pub fn safe_prime(n: usize) -> BigUint {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `is_prime`, `is_composite`, `is_safe_prime`, and `is_very_smooth_number` are never used
[INFO] [stderr]    --> src/bigint.rs:185:12
[INFO] [stderr]     |
[INFO] [stderr] 184 | impl Verification {
[INFO] [stderr]     | ----------------- associated functions in this implementation
[INFO] [stderr] 185 |     pub fn is_prime(n: &BigUint) -> bool {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 188 |     pub fn is_composite(n: &BigUint) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 201 |     pub fn is_safe_prime(n: &BigUint) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 221 |     pub fn is_very_smooth_number(m: &BigUint, n: f64, c: u32) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `prime_factor` is never used
[INFO] [stderr]    --> src/bigint.rs:247:12
[INFO] [stderr]     |
[INFO] [stderr] 226 | impl Factorization {
[INFO] [stderr]     | ------------------ associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 247 |     pub fn prime_factor(mut n: BigUint) -> Option<BigUint> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_safe_prime_add` is never used
[INFO] [stderr]    --> src/bigint.rs:449:4
[INFO] [stderr]     |
[INFO] [stderr] 449 | fn is_safe_prime_add(number: &BigUint) -> bool {    
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_safe_prime` is never used
[INFO] [stderr]    --> src/bigint.rs:468:4
[INFO] [stderr]     |
[INFO] [stderr] 468 | fn is_safe_prime(number: &BigUint) -> bool {
[INFO] [stderr]     |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `vsn` is never used
[INFO] [stderr]    --> src/bigint.rs:483:4
[INFO] [stderr]     |
[INFO] [stderr] 483 | fn vsn(m: &BigUint,n: f64, c: u32) -> bool {
[INFO] [stderr]     |    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `encrypto_rust` (lib) generated 9 warnings
[INFO] [stderr] warning: associated function `new_composite` is never used
[INFO] [stderr]   --> src/bigint.rs:92:12
[INFO] [stderr]    |
[INFO] [stderr] 78 | impl Generator {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 92 |     pub fn new_composite(n: usize) -> BigUint {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `encrypto_rust` (lib test) generated 6 warnings (5 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/encrypto_rust/ab311e30d8c0369d/out/encrypto_rust-ab311e30d8c0369d)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test bigint::prime_factor ... ok
[INFO] [stdout] test bigint::generate_safe_prime ... ok
[INFO] [stdout] test bigint::generate ... ok
[INFO] [stdout] test tests::idk ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests encrypto_rust
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test src/bigint.rs - bigint::Verification (line 44) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Generator (line 26) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Factorization (line 61) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Generator::new_composite (line 81) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Generator::safe_prime (line 159) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Verification::is_very_smooth_number (line 206) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Factorization::prime_factor (line 232) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Generator::new_uint (line 107) ... FAILED
[INFO] [stdout] test src/lib.rs - EncryptoRSA (line 27) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Generator::new_prime (line 126) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/bigint.rs - bigint::Verification (line 44) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `num_primes`
[INFO] [stdout]   --> src/bigint.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | use num_primes::{Generator,Verification};
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `num_primes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `num_primes`, use `cargo add num_primes` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bigint.rs - bigint::Generator (line 26) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `num_primes`
[INFO] [stdout]   --> src/bigint.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use num_primes::{Generator,Verification};
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `num_primes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `num_primes`, use `cargo add num_primes` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bigint.rs - bigint::Factorization (line 61) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `num_primes`
[INFO] [stdout]   --> src/bigint.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | use num_primes::{Generator,Factorization};
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `num_primes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `num_primes`, use `cargo add num_primes` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bigint.rs - bigint::Generator::new_composite (line 81) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `num_primes`
[INFO] [stdout]   --> src/bigint.rs:82:5
[INFO] [stdout]    |
[INFO] [stdout] 82 | use num_primes::Generator;
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `num_primes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `num_primes`, use `cargo add num_primes` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bigint.rs - bigint::Generator::safe_prime (line 159) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `num_primes`
[INFO] [stdout]    --> src/bigint.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 160 | use num_primes::Generator;
[INFO] [stdout]     |     ^^^^^^^^^^ use of unresolved module or unlinked crate `num_primes`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `num_primes`, use `cargo add num_primes` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bigint.rs - bigint::Verification::is_very_smooth_number (line 206) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `num_primes`
[INFO] [stdout]    --> src/bigint.rs:209:5
[INFO] [stdout]     |
[INFO] [stdout] 209 | use num_primes::Verification;
[INFO] [stdout]     |     ^^^^^^^^^^ use of unresolved module or unlinked crate `num_primes`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `num_primes`, use `cargo add num_primes` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bigint.rs - bigint::Factorization::prime_factor (line 232) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `num_primes`
[INFO] [stdout]    --> src/bigint.rs:233:5
[INFO] [stdout]     |
[INFO] [stdout] 233 | use num_primes::{Generator,Factorization};
[INFO] [stdout]     |     ^^^^^^^^^^ use of unresolved module or unlinked crate `num_primes`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `num_primes`, use `cargo add num_primes` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bigint.rs - bigint::Generator::new_uint (line 107) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `num_primes`
[INFO] [stdout]    --> src/bigint.rs:108:5
[INFO] [stdout]     |
[INFO] [stdout] 108 | use num_primes::Generator;
[INFO] [stdout]     |     ^^^^^^^^^^ use of unresolved module or unlinked crate `num_primes`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `num_primes`, use `cargo add num_primes` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - EncryptoRSA (line 27) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `e` in this scope
[INFO] [stdout]   --> src/lib.rs:35:15
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let enc = e.encrypt_from_string(msg.clone(), public_key.clone()); // returns encrypted msg as base64 string
[INFO] [stdout]    |               ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `bytes` in this scope
[INFO] [stdout]   --> src/lib.rs:40:58
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let enc_from_bytes = EncryptoRSA::encrypt_from_bytes(bytes, public_key); // returns encrypted bytes as base64 string
[INFO] [stdout]    |                                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> src/lib.rs:40:26
[INFO] [stdout]     |
[INFO] [stdout]  40 |     let enc_from_bytes = EncryptoRSA::encrypt_from_bytes(bytes, public_key); // returns encrypted bytes as base64 string
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ---------- argument #2 of type `&[u8]` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout]  65 | impl EncryptoRSA {
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn encrypt_from_bytes(&self, bytes: &[u8], pub_key: PublicKey) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout]  40 |     let enc_from_bytes = EncryptoRSA::encrypt_from_bytes(bytes, /* &[u8] */, public_key); // returns encrypted bytes as base64 string
[INFO] [stdout]     |                                                                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bigint.rs - bigint::Generator::new_prime (line 126) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `num_primes`
[INFO] [stdout]    --> src/bigint.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 127 | use num_primes::Generator;
[INFO] [stdout]     |     ^^^^^^^^^^ use of unresolved module or unlinked crate `num_primes`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `num_primes`, use `cargo add num_primes` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/bigint.rs - bigint::Factorization (line 61)
[INFO] [stdout]     src/bigint.rs - bigint::Factorization::prime_factor (line 232)
[INFO] [stdout]     src/bigint.rs - bigint::Generator (line 26)
[INFO] [stdout]     src/bigint.rs - bigint::Generator::new_composite (line 81)
[INFO] [stdout]     src/bigint.rs - bigint::Generator::new_prime (line 126)
[INFO] [stdout]     src/bigint.rs - bigint::Generator::new_uint (line 107)
[INFO] [stdout]     src/bigint.rs - bigint::Generator::safe_prime (line 159)
[INFO] [stdout]     src/bigint.rs - bigint::Verification (line 44)
[INFO] [stdout]     src/bigint.rs - bigint::Verification::is_very_smooth_number (line 206)
[INFO] [stdout]     src/lib.rs - EncryptoRSA (line 27)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `"docker" "inspect" "7f9f422119dded21caf0f127f48715777e9a7f0c3001fa35f1ac9a5dbbd10ead"`
[INFO] running `"docker" "rm" "-f" "7f9f422119dded21caf0f127f48715777e9a7f0c3001fa35f1ac9a5dbbd10ead"`
[INFO] [stdout] 7f9f422119dded21caf0f127f48715777e9a7f0c3001fa35f1ac9a5dbbd10ead
