[INFO] fetching crate encrypto_rust 0.2.0...
[INFO] testing encrypto_rust-0.2.0 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate encrypto_rust 0.2.0 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate encrypto_rust 0.2.0 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 30 packages to latest compatible versions
[INFO] [stderr]       Adding base64 v0.13.1 (available: v0.22.1)
[INFO] [stderr]       Adding rand v0.8.5 (available: v0.9.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bf5bb497349047a90f657b852dc2946af8bff5b22e4726fda3b2382bb01e97b8
[INFO] running `Command { std: "docker" "start" "-a" "bf5bb497349047a90f657b852dc2946af8bff5b22e4726fda3b2382bb01e97b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf5bb497349047a90f657b852dc2946af8bff5b22e4726fda3b2382bb01e97b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf5bb497349047a90f657b852dc2946af8bff5b22e4726fda3b2382bb01e97b8", kill_on_drop: false }`
[INFO] [stdout] bf5bb497349047a90f657b852dc2946af8bff5b22e4726fda3b2382bb01e97b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f0f424fcfb84ad6a8de1d94a736ce78f263661c9798cea550d2893b5f361f629
[INFO] running `Command { std: "docker" "start" "-a" "f0f424fcfb84ad6a8de1d94a736ce78f263661c9798cea550d2893b5f361f629", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num v0.4.3
[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 `dev` profile [unoptimized + debuginfo] target(s) in 2.65s
[INFO] running `Command { std: "docker" "inspect" "f0f424fcfb84ad6a8de1d94a736ce78f263661c9798cea550d2893b5f361f629", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0f424fcfb84ad6a8de1d94a736ce78f263661c9798cea550d2893b5f361f629", kill_on_drop: false }`
[INFO] [stdout] f0f424fcfb84ad6a8de1d94a736ce78f263661c9798cea550d2893b5f361f629
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 05222a51af0a7e8088d4d7dba456f66a1985e16aeed1e35a138b7c4affc215da
[INFO] running `Command { std: "docker" "start" "-a" "05222a51af0a7e8088d4d7dba456f66a1985e16aeed1e35a138b7c4affc215da", kill_on_drop: false }`
[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] [stderr]    Compiling encrypto_rust v0.2.0 (/opt/rustwide/workdir)
[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 `test` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `Command { std: "docker" "inspect" "05222a51af0a7e8088d4d7dba456f66a1985e16aeed1e35a138b7c4affc215da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05222a51af0a7e8088d4d7dba456f66a1985e16aeed1e35a138b7c4affc215da", kill_on_drop: false }`
[INFO] [stdout] 05222a51af0a7e8088d4d7dba456f66a1985e16aeed1e35a138b7c4affc215da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 819f6d51df5d10b7bf190e866958b10e5d95c3fddc3315ce9f41c39055273127
[INFO] running `Command { std: "docker" "start" "-a" "819f6d51df5d10b7bf190e866958b10e5d95c3fddc3315ce9f41c39055273127", kill_on_drop: false }`
[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: 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) generated 9 warnings
[INFO] [stderr] warning: `encrypto_rust` (lib test) generated 6 warnings (5 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/encrypto_rust-0182f0b4f3826942)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test bigint::prime_factor ... ok
[INFO] [stdout] test bigint::generate ... ok
[INFO] [stdout] test bigint::generate_safe_prime ... ok
[INFO] [stdout] test tests::idk ... ok
[INFO] [stderr]    Doc-tests encrypto_rust
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.13s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test src/bigint.rs - bigint::Generator::new_composite (line 81) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Factorization::prime_factor (line 232) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Verification (line 44) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Generator::safe_prime (line 159) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Generator (line 26) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Verification::is_very_smooth_number (line 206) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Factorization (line 61) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Generator::new_uint (line 107) ... FAILED
[INFO] [stdout] test src/bigint.rs - bigint::Generator::new_prime (line 126) ... FAILED
[INFO] [stdout] test src/lib.rs - EncryptoRSA (line 27) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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::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::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::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::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::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 (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_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/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] ---- 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] 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] 
[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.08s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "819f6d51df5d10b7bf190e866958b10e5d95c3fddc3315ce9f41c39055273127", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "819f6d51df5d10b7bf190e866958b10e5d95c3fddc3315ce9f41c39055273127", kill_on_drop: false }`
[INFO] [stdout] 819f6d51df5d10b7bf190e866958b10e5d95c3fddc3315ce9f41c39055273127
