[INFO] cloning repository https://github.com/Akari202/rsa
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Akari202/rsa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkari202%2Frsa", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkari202%2Frsa'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3277a169756ee3dd849ea0e5411caa0579cee51d
[INFO] testing Akari202/rsa against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkari202%2Frsa" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Akari202/rsa
[INFO] finished tweaking git repo https://github.com/Akari202/rsa
[INFO] tweaked toml for git repo https://github.com/Akari202/rsa written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Akari202/rsa on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Akari202/rsa 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 90c0cc78baf076da42cf02fdb2445b26cf548d73ee4aacbf608dba56ec0e4656
[INFO] running `Command { std: "docker" "start" "-a" "90c0cc78baf076da42cf02fdb2445b26cf548d73ee4aacbf608dba56ec0e4656", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "90c0cc78baf076da42cf02fdb2445b26cf548d73ee4aacbf608dba56ec0e4656", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90c0cc78baf076da42cf02fdb2445b26cf548d73ee4aacbf608dba56ec0e4656", kill_on_drop: false }`
[INFO] [stdout] 90c0cc78baf076da42cf02fdb2445b26cf548d73ee4aacbf608dba56ec0e4656
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 776e281dbbc165acb05bc9269357cb7e4400b02cb7b8d1a6c66b980940ef2bed
[INFO] running `Command { std: "docker" "start" "-a" "776e281dbbc165acb05bc9269357cb7e4400b02cb7b8d1a6c66b980940ef2bed", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling log v0.4.25
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling clap_builder v4.5.29
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling env_logger v0.11.6
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling clap_derive v4.5.28
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling clap v4.5.29
[INFO] [stderr]    Compiling clap-verbosity-flag v3.0.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling rsa v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::future::join`
[INFO] [stdout]  --> src/rsa.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::future::join;
[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: `Read`
[INFO] [stdout]  --> src/rsa.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{BufRead, Read, Write};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BitAnd`
[INFO] [stdout]  --> src/rsa.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::{BitAnd, Sub};
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/rsa.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use log::{debug, error, info, trace};
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::builder::TypedValueParser`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use clap::builder::TypedValueParser;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::Parser`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use clap::Parser;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cli::Cli`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::cli::Cli;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/rsa.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{BufRead, Read, Write};
[INFO] [stdout]   |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Key` is never constructed
[INFO] [stdout]   --> src/rsa.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Key {
[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 `KeySet` is never constructed
[INFO] [stdout]   --> src/rsa.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct KeySet {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/rsa.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Key {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 31 |     pub fn new(exponent: BigUint, modulus: BigUint, salt_bits: u32) -> Key {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn encrypt(&self, rng: &mut ThreadRng, input: u8) -> BigUint {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn decrypt(&self, input: &BigUint) -> Result<u8, Box<dyn Error>> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn save_to_file(&self, mut file: File) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn load_public_key(name: &str) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn load_private_key(name: &str) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     fn load_key(name: &str) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `save_keys`, and `get_key_root` are never used
[INFO] [stdout]    --> src/rsa.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl KeySet {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 102 |     pub fn new(salt_bits: u32, bit_length: u64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn save_keys(&self, name: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn get_key_root() -> Result<PathBuf, Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `modular_pow` is never used
[INFO] [stdout]  --> src/math.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn modular_pow(base: &BigUint, exponent: &BigUint, modulus: &BigUint) -> BigUint {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `modular_inverse` is never used
[INFO] [stdout]   --> src/math.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn modular_inverse(e: &BigUint, phi: &BigUint) -> BigUint {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_prime` is never used
[INFO] [stdout]   --> src/math.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub fn new_prime(bit_length: u64) -> BigUint {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_prime` is never used
[INFO] [stdout]   --> src/math.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn is_prime(candidate: &BigUint) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `divide_small_primes` is never used
[INFO] [stdout]   --> src/math.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn divide_small_primes(number: &BigUint) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fermat` is never used
[INFO] [stdout]    --> src/math.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn fermat(rng: &mut ThreadRng, candidate: &BigUint) -> bool {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `miller_rabin` is never used
[INFO] [stdout]    --> src/math.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn miller_rabin(rng: &mut ThreadRng, candidate: &BigUint, limit: usize) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rewrite` is never used
[INFO] [stdout]    --> src/math.rs:145:4
[INFO] [stdout]     |
[INFO] [stdout] 145 | fn rewrite(n: &BigUint) -> (BigUint,BigUint) {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `SMALL_PRIMES` is never used
[INFO] [stdout]  --> src/math/constants.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub static SMALL_PRIMES: [u32; 2048] = [
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MILLER_RABIN_ROUNDS` is never used
[INFO] [stdout]    --> src/math/constants.rs:141:11
[INFO] [stdout]     |
[INFO] [stdout] 141 | pub const MILLER_RABIN_ROUNDS: usize = 8;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `execute` is never used
[INFO] [stdout]   --> src/cli.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl Commands {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 64 |     pub fn execute(&self) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.15s
[INFO] running `Command { std: "docker" "inspect" "776e281dbbc165acb05bc9269357cb7e4400b02cb7b8d1a6c66b980940ef2bed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "776e281dbbc165acb05bc9269357cb7e4400b02cb7b8d1a6c66b980940ef2bed", kill_on_drop: false }`
[INFO] [stdout] 776e281dbbc165acb05bc9269357cb7e4400b02cb7b8d1a6c66b980940ef2bed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fe8e039ce632d61c8d1b44b72c9c1d13ed8d02a706753af7154ef22198dbfef3
[INFO] running `Command { std: "docker" "start" "-a" "fe8e039ce632d61c8d1b44b72c9c1d13ed8d02a706753af7154ef22198dbfef3", kill_on_drop: false }`
[INFO] [stderr]    Compiling rsa v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::future::join`
[INFO] [stdout]  --> src/rsa.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::future::join;
[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: `Read`
[INFO] [stdout]  --> src/rsa.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{BufRead, Read, Write};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BitAnd`
[INFO] [stdout]  --> src/rsa.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::{BitAnd, Sub};
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/rsa.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use log::{debug, error, info, trace};
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::builder::TypedValueParser`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use clap::builder::TypedValueParser;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::Parser`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use clap::Parser;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cli::Cli`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::cli::Cli;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/rsa.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{BufRead, Read, Write};
[INFO] [stdout]   |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `phi`, `primes`, and `bit_length` are never read
[INFO] [stdout]   --> src/rsa.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct KeySet {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     phi: BigUint,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 26 |     primes: (BigUint, BigUint),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 27 |     bit_length: u64
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KeySet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `execute` is never used
[INFO] [stdout]   --> src/cli.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl Commands {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 64 |     pub fn execute(&self) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.46s
[INFO] running `Command { std: "docker" "inspect" "fe8e039ce632d61c8d1b44b72c9c1d13ed8d02a706753af7154ef22198dbfef3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe8e039ce632d61c8d1b44b72c9c1d13ed8d02a706753af7154ef22198dbfef3", kill_on_drop: false }`
[INFO] [stdout] fe8e039ce632d61c8d1b44b72c9c1d13ed8d02a706753af7154ef22198dbfef3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9b4e4147df9dc9ee3d9ea64dcaef3b9f2ca507824621a6b14a2b19caaaf0e6b5
[INFO] running `Command { std: "docker" "start" "-a" "9b4e4147df9dc9ee3d9ea64dcaef3b9f2ca507824621a6b14a2b19caaaf0e6b5", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::future::join`
[INFO] [stderr]  --> src/rsa.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::future::join;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Read`
[INFO] [stderr]  --> src/rsa.rs:5:24
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::io::{BufRead, Read, Write};
[INFO] [stderr]   |                        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `BitAnd`
[INFO] [stderr]  --> src/rsa.rs:7:16
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::ops::{BitAnd, Sub};
[INFO] [stderr]   |                ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `debug`
[INFO] [stderr]  --> src/rsa.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | use log::{debug, error, info, trace};
[INFO] [stderr]   |           ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `clap::builder::TypedValueParser`
[INFO] [stderr]   --> src/main.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use clap::builder::TypedValueParser;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `clap::Parser`
[INFO] [stderr]   --> src/main.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use clap::Parser;
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::cli::Cli`
[INFO] [stderr]   --> src/main.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use crate::cli::Cli;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `BufRead`
[INFO] [stderr]  --> src/rsa.rs:5:15
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::io::{BufRead, Read, Write};
[INFO] [stderr]   |               ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `phi`, `primes`, and `bit_length` are never read
[INFO] [stderr]   --> src/rsa.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub struct KeySet {
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 25 |     phi: BigUint,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 26 |     primes: (BigUint, BigUint),
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 27 |     bit_length: u64
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `KeySet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `execute` is never used
[INFO] [stderr]   --> src/cli.rs:64:12
[INFO] [stderr]    |
[INFO] [stderr] 63 | impl Commands {
[INFO] [stderr]    | ------------- method in this implementation
[INFO] [stderr] 64 |     pub fn execute(&self) -> Result<(), Box<dyn Error>> {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rsa` (bin "rsa" test) generated 10 warnings (run `cargo fix --bin "rsa" -p rsa --tests` to apply 7 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rsa-aed5aee46f892ff7)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::test_key_loading ... ok
[INFO] [stdout] test tests::test_rsa ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.14s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9b4e4147df9dc9ee3d9ea64dcaef3b9f2ca507824621a6b14a2b19caaaf0e6b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b4e4147df9dc9ee3d9ea64dcaef3b9f2ca507824621a6b14a2b19caaaf0e6b5", kill_on_drop: false }`
[INFO] [stdout] 9b4e4147df9dc9ee3d9ea64dcaef3b9f2ca507824621a6b14a2b19caaaf0e6b5
