[INFO] cloning repository https://github.com/DKotov29/asymcrypt-lab3
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DKotov29/asymcrypt-lab3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDKotov29%2Fasymcrypt-lab3", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDKotov29%2Fasymcrypt-lab3'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 001fadb06ed33aef015712e8e3cc1280eded7846
[INFO] testing DKotov29/asymcrypt-lab3 against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDKotov29%2Fasymcrypt-lab3" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/DKotov29/asymcrypt-lab3 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/DKotov29/asymcrypt-lab3
[INFO] finished tweaking git repo https://github.com/DKotov29/asymcrypt-lab3
[INFO] tweaked toml for git repo https://github.com/DKotov29/asymcrypt-lab3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/DKotov29/asymcrypt-lab3 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded malachite v0.4.4
[INFO] [stderr]   Downloaded malachite-q v0.4.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ff2958c93ba4af394679e8b1f6d4b08aa015923ea4a6daa031fc3f5840e7b937
[INFO] running `Command { std: "docker" "start" "-a" "ff2958c93ba4af394679e8b1f6d4b08aa015923ea4a6daa031fc3f5840e7b937", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff2958c93ba4af394679e8b1f6d4b08aa015923ea4a6daa031fc3f5840e7b937", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff2958c93ba4af394679e8b1f6d4b08aa015923ea4a6daa031fc3f5840e7b937", kill_on_drop: false }`
[INFO] [stdout] ff2958c93ba4af394679e8b1f6d4b08aa015923ea4a6daa031fc3f5840e7b937
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d8321f9b4ae8f72928ce0a519435d6b3fb72b202c87e42185be0bf1dcf458e21
[INFO] running `Command { std: "docker" "start" "-a" "d8321f9b4ae8f72928ce0a519435d6b3fb72b202c87e42185be0bf1dcf458e21", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling malachite-base v0.4.4
[INFO] [stderr]    Compiling rayon v1.8.0
[INFO] [stderr]    Compiling embed-doc-image v0.1.4
[INFO] [stderr]    Compiling malachite-nz v0.4.4
[INFO] [stderr]    Compiling malachite-q v0.4.4
[INFO] [stderr]    Compiling malachite v0.4.4
[INFO] [stderr]    Compiling asymcrypt-lab3 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Add`, `Div`, `Rem`
[INFO] [stdout]  --> src/cryptosystem.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Div, Mul, Rem};
[INFO] [stdout]   |                ^^^  ^^^       ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rational`
[INFO] [stdout]  --> src/cryptosystem.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use malachite::{Integer, Natural, Rational};
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ModPow`, `Square`
[INFO] [stdout]  --> src/cryptosystem.rs:3:86
[INFO] [stdout]   |
[INFO] [stdout] 3 | use malachite::num::arithmetic::traits::{ExtendedGcd, JacobiSymbol, Mod, ModInverse, ModPow, Pow, Square};
[INFO] [stdout]   |                                                                                      ^^^^^^       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Zero`
[INFO] [stdout]  --> src/cryptosystem.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | use malachite::num::basic::traits::{One, Two, Zero};
[INFO] [stdout]   |                                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `malachite::num::conversion::traits::FromStringBase`
[INFO] [stdout]  --> src/cryptosystem.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use malachite::num::conversion::traits::FromStringBase;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ModInverse`
[INFO] [stdout]  --> src/prime_test.rs:4:52
[INFO] [stdout]   |
[INFO] [stdout] 4 | use malachite::num::arithmetic::traits::{Gcd, Mod, ModInverse, ModPow};
[INFO] [stdout]   |                                                    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | mod prime_test;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ExtendedGcd`, `FloorSqrt`, `ModPow`, `Mod`, `Square`
[INFO] [stdout]   --> src/main.rs:15:42
[INFO] [stdout]    |
[INFO] [stdout] 15 | use malachite::num::arithmetic::traits::{ExtendedGcd, FloorSqrt, Mod, ModPow, Pow, Square};
[INFO] [stdout]    |                                          ^^^^^^^^^^^  ^^^^^^^^^  ^^^  ^^^^^^       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `malachite::num::logic::traits::BitIterable`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use malachite::num::logic::traits::BitIterable;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_bigint::BigUint`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use num_bigint::BigUint;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]   --> src/main.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 | use rand::{random, Rng};
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let (is_it_x) = cryptosystem::decrypt(&b, &y, &p, &q, &c1, &n, c2);
[INFO] [stdout]    |         ^       ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -     let (is_it_x) = cryptosystem::decrypt(&b, &y, &p, &q, &c1, &n, c2);
[INFO] [stdout] 46 +     let is_it_x = cryptosystem::decrypt(&b, &y, &p, &q, &c1, &n, c2);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(int_roundings)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_integer::Integer`
[INFO] [stdout]  --> src/cryptosystem.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use num_integer::Integer as num_Integer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pow`
[INFO] [stdout]  --> src/cryptosystem.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use num_traits::{Num, Pow as num_pow};
[INFO] [stdout]   |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0554`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `asymcrypt-lab3` (bin "asymcrypt-lab3") due to 2 previous errors; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d8321f9b4ae8f72928ce0a519435d6b3fb72b202c87e42185be0bf1dcf458e21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8321f9b4ae8f72928ce0a519435d6b3fb72b202c87e42185be0bf1dcf458e21", kill_on_drop: false }`
[INFO] [stdout] d8321f9b4ae8f72928ce0a519435d6b3fb72b202c87e42185be0bf1dcf458e21
[INFO] testing DKotov29/asymcrypt-lab3 against beta-2023-12-22 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDKotov29%2Fasymcrypt-lab3" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/DKotov29/asymcrypt-lab3 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/DKotov29/asymcrypt-lab3
[INFO] finished tweaking git repo https://github.com/DKotov29/asymcrypt-lab3
[INFO] tweaked toml for git repo https://github.com/DKotov29/asymcrypt-lab3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/DKotov29/asymcrypt-lab3 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" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fab2cf45b9e7cd31f4585a0e47cad669899164687b82ff0e0b331e3ef34a6b74
[INFO] running `Command { std: "docker" "start" "-a" "fab2cf45b9e7cd31f4585a0e47cad669899164687b82ff0e0b331e3ef34a6b74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fab2cf45b9e7cd31f4585a0e47cad669899164687b82ff0e0b331e3ef34a6b74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fab2cf45b9e7cd31f4585a0e47cad669899164687b82ff0e0b331e3ef34a6b74", kill_on_drop: false }`
[INFO] [stdout] fab2cf45b9e7cd31f4585a0e47cad669899164687b82ff0e0b331e3ef34a6b74
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd182b531740b5d50a245d67d125ee5a3482f01b7cb61405a01a1fc12577439f
[INFO] running `Command { std: "docker" "start" "-a" "cd182b531740b5d50a245d67d125ee5a3482f01b7cb61405a01a1fc12577439f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling malachite-base v0.4.4
[INFO] [stderr]    Compiling rayon v1.8.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling embed-doc-image v0.1.4
[INFO] [stderr]    Compiling malachite-nz v0.4.4
[INFO] [stderr]    Compiling malachite-q v0.4.4
[INFO] [stderr]    Compiling malachite v0.4.4
[INFO] [stderr]    Compiling asymcrypt-lab3 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Add`, `Div`, `Rem`
[INFO] [stdout]  --> src/cryptosystem.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Div, Mul, Rem};
[INFO] [stdout]   |                ^^^  ^^^       ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rational`
[INFO] [stdout]  --> src/cryptosystem.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use malachite::{Integer, Natural, Rational};
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ModPow`, `Square`
[INFO] [stdout]  --> src/cryptosystem.rs:3:86
[INFO] [stdout]   |
[INFO] [stdout] 3 | use malachite::num::arithmetic::traits::{ExtendedGcd, JacobiSymbol, Mod, ModInverse, ModPow, Pow, Square};
[INFO] [stdout]   |                                                                                      ^^^^^^       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Zero`
[INFO] [stdout]  --> src/cryptosystem.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | use malachite::num::basic::traits::{One, Two, Zero};
[INFO] [stdout]   |                                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `malachite::num::conversion::traits::FromStringBase`
[INFO] [stdout]  --> src/cryptosystem.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use malachite::num::conversion::traits::FromStringBase;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ModInverse`
[INFO] [stdout]  --> src/prime_test.rs:4:52
[INFO] [stdout]   |
[INFO] [stdout] 4 | use malachite::num::arithmetic::traits::{Gcd, Mod, ModInverse, ModPow};
[INFO] [stdout]   |                                                    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | mod prime_test;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ExtendedGcd`, `FloorSqrt`, `ModPow`, `Mod`, `Square`
[INFO] [stdout]   --> src/main.rs:15:42
[INFO] [stdout]    |
[INFO] [stdout] 15 | use malachite::num::arithmetic::traits::{ExtendedGcd, FloorSqrt, Mod, ModPow, Pow, Square};
[INFO] [stdout]    |                                          ^^^^^^^^^^^  ^^^^^^^^^  ^^^  ^^^^^^       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `malachite::num::logic::traits::BitIterable`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use malachite::num::logic::traits::BitIterable;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_bigint::BigUint`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use num_bigint::BigUint;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]   --> src/main.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 | use rand::{random, Rng};
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let (is_it_x) = cryptosystem::decrypt(&b, &y, &p, &q, &c1, &n, c2);
[INFO] [stdout]    |         ^       ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -     let (is_it_x) = cryptosystem::decrypt(&b, &y, &p, &q, &c1, &n, c2);
[INFO] [stdout] 46 +     let is_it_x = cryptosystem::decrypt(&b, &y, &p, &q, &c1, &n, c2);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(int_roundings)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_integer::Integer`
[INFO] [stdout]  --> src/cryptosystem.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use num_integer::Integer as num_Integer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pow`
[INFO] [stdout]  --> src/cryptosystem.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use num_traits::{Num, Pow as num_pow};
[INFO] [stdout]   |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0554`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `asymcrypt-lab3` (bin "asymcrypt-lab3") due to 2 previous errors; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cd182b531740b5d50a245d67d125ee5a3482f01b7cb61405a01a1fc12577439f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd182b531740b5d50a245d67d125ee5a3482f01b7cb61405a01a1fc12577439f", kill_on_drop: false }`
[INFO] [stdout] cd182b531740b5d50a245d67d125ee5a3482f01b7cb61405a01a1fc12577439f
