[INFO] cloning repository https://github.com/1925chicken/library-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1925chicken/library-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1925chicken%2Flibrary-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1925chicken%2Flibrary-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ae5caa22d285628a6824201d85453c8b5c12fd1f
[INFO] checking 1925chicken/library-rs against 1.55.0 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1925chicken%2Flibrary-rs" "/workspace/builds/worker-105/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-105/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  44% (416/942)
Updating files:  45% (424/942)
Updating files:  46% (434/942)
Updating files:  47% (443/942)
Updating files:  48% (453/942)
Updating files:  49% (462/942)
Updating files:  50% (471/942)
Updating files:  51% (481/942)
Updating files:  52% (490/942)
Updating files:  53% (500/942)
Updating files:  54% (509/942)
Updating files:  55% (519/942)
Updating files:  56% (528/942)
Updating files:  57% (537/942)
Updating files:  58% (547/942)
Updating files:  59% (556/942)
Updating files:  60% (566/942)
Updating files:  61% (575/942)
Updating files:  62% (585/942)
Updating files:  63% (594/942)
Updating files:  64% (603/942)
Updating files:  65% (613/942)
Updating files:  66% (622/942)
Updating files:  67% (632/942)
Updating files:  68% (641/942)
Updating files:  69% (650/942)
Updating files:  70% (660/942)
Updating files:  71% (669/942)
Updating files:  72% (679/942)
Updating files:  73% (688/942)
Updating files:  74% (698/942)
Updating files:  75% (707/942)
Updating files:  76% (716/942)
Updating files:  77% (726/942)
Updating files:  78% (735/942)
Updating files:  79% (745/942)
Updating files:  80% (754/942)
Updating files:  81% (764/942)
Updating files:  82% (773/942)
Updating files:  83% (782/942)
Updating files:  84% (792/942)
Updating files:  85% (801/942)
Updating files:  86% (811/942)
Updating files:  87% (820/942)
Updating files:  88% (829/942)
Updating files:  89% (839/942)
Updating files:  90% (848/942)
Updating files:  91% (858/942)
Updating files:  92% (867/942)
Updating files:  92% (876/942)
Updating files:  93% (877/942)
Updating files:  94% (886/942)
Updating files:  95% (895/942)
Updating files:  96% (905/942)
Updating files:  97% (914/942)
Updating files:  98% (924/942)
Updating files:  99% (933/942)
Updating files: 100% (942/942)
Updating files: 100% (942/942), done.
[INFO] validating manifest of git repo https://github.com/1925chicken/library-rs on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-105/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/1925chicken/library-rs
[INFO] finished tweaking git repo https://github.com/1925chicken/library-rs
[INFO] tweaked toml for git repo https://github.com/1925chicken/library-rs written to /workspace/builds/worker-105/source/Cargo.toml
[INFO] crate git repo https://github.com/1925chicken/library-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cli_test_dir v0.1.7
[INFO] [stderr]   Downloaded num-derive v0.3.0
[INFO] [stderr]   Downloaded proconio v0.3.6
[INFO] [stderr]   Downloaded proconio-derive v0.1.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 465a385603984c83c5931ea24c8041fde4d171c397e6878d6853d0ce8ec7bc31
[INFO] running `Command { std: "docker" "start" "-a" "465a385603984c83c5931ea24c8041fde4d171c397e6878d6853d0ce8ec7bc31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "465a385603984c83c5931ea24c8041fde4d171c397e6878d6853d0ce8ec7bc31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "465a385603984c83c5931ea24c8041fde4d171c397e6878d6853d0ce8ec7bc31", kill_on_drop: false }`
[INFO] [stdout] 465a385603984c83c5931ea24c8041fde4d171c397e6878d6853d0ce8ec7bc31
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64f8a87c130cf823cf517c2d83dc213d4a189570f6f5955e4d13fc6053370b6e
[INFO] running `Command { std: "docker" "start" "-a" "64f8a87c130cf823cf517c2d83dc213d4a189570f6f5955e4d13fc6053370b6e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling syn v0.15.39
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]     Checking cli_test_dir v0.1.7
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking alga v0.9.3
[INFO] [stderr]    Compiling num-derive v0.3.0
[INFO] [stderr]    Compiling proconio-derive v0.1.5
[INFO] [stderr]     Checking num v0.2.1
[INFO] [stderr]     Checking proconio v0.3.6
[INFO] [stderr]     Checking libarary v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/bin/pollards_rho_bigint.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]   --> src/main.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |             (\$(\$ty:tt,)*) => {
[INFO] [stdout]    |              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/bin/Jacobi_symbol.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]   --> src/main.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |             (\$(\$ty:tt,)*) => {
[INFO] [stdout]    |                 ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]   --> src/main.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |                     \$(
[INFO] [stdout]    |                     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]   --> src/main.rs:65:28
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     pub fn \$ty (&mut self) -> \$ty {
[INFO] [stdout]    |                            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]   --> src/main.rs:65:48
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     pub fn \$ty (&mut self) -> \$ty {
[INFO] [stdout]    |                                                ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]   --> src/main.rs:66:37
[INFO] [stdout]    |
[INFO] [stdout] 66 |                         self.read::<\$ty>()
[INFO] [stdout]    |                                     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]    --> src/bin/pollards_rho_bigint.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |             a = rand::thread_rng()
[INFO] [stdout]     |                 ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]    --> src/bin/pollards_rho_bigint.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |             a = rand::thread_rng().gen_range(1, k).to_bigint().unwrap();
[INFO] [stdout]     |                 ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `mod_sqrt`
[INFO] [stdout]  --> src/bin/mod_sqrt.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn mod_sqrt(a: i128, p: i128) -> i128 {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num::ToPrimitive`
[INFO] [stdout]  --> src/bin/Jacobi_symbol.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num::ToPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `calc`
[INFO] [stdout]   --> src/bin/mod_sqrt.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn calc(_h: i128, p: i128, mut b: i128, cnt: u32) -> i128 {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `mod_inversion`
[INFO] [stdout]   --> src/bin/mod_sqrt.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn mod_inversion(_a: i128, p: i128) -> i128 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `quadratic_residue`
[INFO] [stdout]   --> src/bin/mod_sqrt.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn quadratic_residue(a: i128, p: i128) -> i8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `modpow`
[INFO] [stdout]   --> src/bin/mod_sqrt.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn modpow(_n: i128, _t: i128, modulo: i128) -> i128 {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `Jacobi_symbol`
[INFO] [stdout]   --> src/bin/Jacobi_symbol.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / #[allow(unused_imports)]
[INFO] [stdout] 2  | | use num::integer::*;
[INFO] [stdout] 3  | | use num::ToPrimitive;
[INFO] [stdout] 4  | | use num_bigint::*;
[INFO] [stdout] ...  |
[INFO] [stdout] 41 | |     ans
[INFO] [stdout] 42 | | }
[INFO] [stdout]    | |_^ consider adding a `main` function to `src/bin/Jacobi_symbol.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/bin/pollards_rho_bigint.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/bin/mod_sqrt_bigint.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num::ToPrimitive`
[INFO] [stdout]  --> src/bin/mod_sqrt_bigint.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num::ToPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]    --> src/bin/pollards_rho_bigint.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |             a = rand::thread_rng()
[INFO] [stdout]     |                 ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]    --> src/bin/pollards_rho_bigint.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |             a = rand::thread_rng().gen_range(1, k).to_bigint().unwrap();
[INFO] [stdout]     |                 ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libarary` due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `INF`
[INFO] [stdout]    --> src/bin/miller_rabin.rs:166:1
[INFO] [stdout]     |
[INFO] [stdout] 166 | const INF: u64 = 1u64 << 60;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]   --> src/main.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |             (\$(\$ty:tt,)*) => {
[INFO] [stdout]    |              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]   --> src/main.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |             (\$(\$ty:tt,)*) => {
[INFO] [stdout]    |                 ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]   --> src/main.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |                     \$(
[INFO] [stdout]    |                     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]   --> src/main.rs:65:28
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     pub fn \$ty (&mut self) -> \$ty {
[INFO] [stdout]    |                            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]   --> src/main.rs:65:48
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     pub fn \$ty (&mut self) -> \$ty {
[INFO] [stdout]    |                                                ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]   --> src/main.rs:66:37
[INFO] [stdout]    |
[INFO] [stdout] 66 |                         self.read::<\$ty>()
[INFO] [stdout]    |                                     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/bin/mod_sqrt_bigint.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num::ToPrimitive`
[INFO] [stdout]  --> src/bin/mod_sqrt_bigint.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num::ToPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/bin/Jacobi_symbol.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num::ToPrimitive`
[INFO] [stdout]  --> src/bin/Jacobi_symbol.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num::ToPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `INF`
[INFO] [stdout]    --> src/bin/miller_rabin.rs:166:1
[INFO] [stdout]     |
[INFO] [stdout] 166 | const INF: u64 = 1u64 << 60;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/bin/miller_rabbin_bigint.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/bin/miller_rabbin_bigint.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `mod_sqrt`
[INFO] [stdout]   --> src/bin/mod_sqrt.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / fn mod_sqrt(a: i128, p: i128) -> i128 {
[INFO] [stdout] 2  | |     if quadratic_residue(a, p) == -1 {
[INFO] [stdout] 3  | |         println!("no answer");
[INFO] [stdout] 4  | |         std::process::exit(0)
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | |     ret
[INFO] [stdout] 77 | | }
[INFO] [stdout]    | |_^ consider adding a `main` function to `src/bin/mod_sqrt.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/bin/miller_rabbin_bigint.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |             a = rand::thread_rng()
[INFO] [stdout]    |                 ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/bin/miller_rabbin_bigint.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |             a = rand::thread_rng().gen_range(1, k).to_bigint().unwrap();
[INFO] [stdout]    |                 ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BigUint`, `ToBigUint`
[INFO] [stdout]  --> src/bin/miller_rabbin_bigint.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_bigint::{BigInt, BigUint, ToBigInt, ToBigUint};
[INFO] [stdout]   |                          ^^^^^^^            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/bin/miller_rabbin_bigint.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |             a = rand::thread_rng()
[INFO] [stdout]    |                 ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/bin/miller_rabbin_bigint.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |             a = rand::thread_rng().gen_range(1, k).to_bigint().unwrap();
[INFO] [stdout]    |                 ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BigUint`, `ToBigUint`
[INFO] [stdout]  --> src/bin/miller_rabbin_bigint.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_bigint::{BigInt, BigUint, ToBigInt, ToBigUint};
[INFO] [stdout]   |                          ^^^^^^^            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `g` is never read
[INFO] [stdout]   --> src/bin/pollards_rho.rs:50:35
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let (mut x, mut r, mut q, mut g, mut ys, mut m) = (1, 1, 1, 1, 1, 1);
[INFO] [stdout]    |                                   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ys` is never read
[INFO] [stdout]   --> src/bin/pollards_rho.rs:50:42
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let (mut x, mut r, mut q, mut g, mut ys, mut m) = (1, 1, 1, 1, 1, 1);
[INFO] [stdout]    |                                          ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]   --> src/bin/pollards_rho.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let mut cnt = 0;
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]    = note: consider using `_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cnt` is never read
[INFO] [stdout]   --> src/bin/pollards_rho.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 cnt = 0;
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `g` is never read
[INFO] [stdout]   --> src/bin/pollards_rho.rs:50:35
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let (mut x, mut r, mut q, mut g, mut ys, mut m) = (1, 1, 1, 1, 1, 1);
[INFO] [stdout]    |                                   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ys` is never read
[INFO] [stdout]   --> src/bin/pollards_rho.rs:50:42
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let (mut x, mut r, mut q, mut g, mut ys, mut m) = (1, 1, 1, 1, 1, 1);
[INFO] [stdout]    |                                          ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]   --> src/bin/pollards_rho.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let mut cnt = 0;
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]    = note: consider using `_cnt` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cnt` is never read
[INFO] [stdout]   --> src/bin/pollards_rho.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 cnt = 0;
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/pollards_rho.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let (mut x, mut r, mut q, mut g, mut ys, mut m) = (1, 1, 1, 1, 1, 1);
[INFO] [stdout]    |          ----^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/pollards_rho.rs:50:46
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let (mut x, mut r, mut q, mut g, mut ys, mut m) = (1, 1, 1, 1, 1, 1);
[INFO] [stdout]    |                                              ----^
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/pollards_rho.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let mut x = y;
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/pollards_rho.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |             let mut lim = std::cmp::min(m, r - k);
[INFO] [stdout]    |                 ----^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/pollards_rho.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let (mut x, mut r, mut q, mut g, mut ys, mut m) = (1, 1, 1, 1, 1, 1);
[INFO] [stdout]    |          ----^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/pollards_rho.rs:50:46
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let (mut x, mut r, mut q, mut g, mut ys, mut m) = (1, 1, 1, 1, 1, 1);
[INFO] [stdout]    |                                              ----^
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/pollards_rho.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let mut x = y;
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/pollards_rho.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |             let mut lim = std::cmp::min(m, r - k);
[INFO] [stdout]    |                 ----^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/pollards_rho.rs:269:9
[INFO] [stdout]     |
[INFO] [stdout] 269 |     let mut n = read.i64();
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/pollards_rho.rs:269:9
[INFO] [stdout]     |
[INFO] [stdout] 269 |     let mut n = read.i64();
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `factrise_map`
[INFO] [stdout]   --> src/bin/pollards_rho.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn factrise_map(n: i128) -> std::collections::HashMap<i128, i32> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `INF`
[INFO] [stdout]    --> src/bin/pollards_rho.rs:355:1
[INFO] [stdout]     |
[INFO] [stdout] 355 | const INF: i64 = 1i64 << 60;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `factrise_map`
[INFO] [stdout]   --> src/bin/pollards_rho.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn factrise_map(n: i128) -> std::collections::HashMap<i128, i32> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `INF`
[INFO] [stdout]    --> src/bin/pollards_rho.rs:355:1
[INFO] [stdout]     |
[INFO] [stdout] 355 | const INF: i64 = 1i64 << 60;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "64f8a87c130cf823cf517c2d83dc213d4a189570f6f5955e4d13fc6053370b6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64f8a87c130cf823cf517c2d83dc213d4a189570f6f5955e4d13fc6053370b6e", kill_on_drop: false }`
[INFO] [stdout] 64f8a87c130cf823cf517c2d83dc213d4a189570f6f5955e4d13fc6053370b6e
