[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] b5ed0ce97f06e0ee399062088bd107f9b444fee8
[INFO] testing 1925chicken/library-rs against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1925chicken%2Flibrary-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  93% (887/953)
Updating files:  94% (896/953)
Updating files:  95% (906/953)
Updating files:  96% (915/953)
Updating files:  97% (925/953)
Updating files:  98% (934/953)
Updating files:  99% (944/953)
Updating files: 100% (953/953)
Updating files: 100% (953/953), done.
[INFO] validating manifest of git repo https://github.com/1925chicken/library-rs on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-4-tc2/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-4-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proconio v0.3.6
[INFO] [stderr]   Downloaded cli_test_dir v0.1.7
[INFO] [stderr]   Downloaded quote v0.6.12
[INFO] [stderr]   Downloaded num-derive v0.3.0
[INFO] [stderr]   Downloaded proconio-derive v0.1.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7c9993a6db9981d0acd2bff52517f530c18b3a096391e2f6d985cedebcfb83d4
[INFO] running `Command { std: "docker" "start" "-a" "7c9993a6db9981d0acd2bff52517f530c18b3a096391e2f6d985cedebcfb83d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7c9993a6db9981d0acd2bff52517f530c18b3a096391e2f6d985cedebcfb83d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c9993a6db9981d0acd2bff52517f530c18b3a096391e2f6d985cedebcfb83d4", kill_on_drop: false }`
[INFO] [stdout] 7c9993a6db9981d0acd2bff52517f530c18b3a096391e2f6d985cedebcfb83d4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d8c467ab6ede40d5aff32236f49fb4101538050bedd076fbf8641912a5d46164
[INFO] running `Command { std: "docker" "start" "-a" "d8c467ab6ede40d5aff32236f49fb4101538050bedd076fbf8641912a5d46164", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v0.15.39
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling lazy_static v1.3.0
[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-rational v0.2.4
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling alga v0.9.3
[INFO] [stderr]    Compiling num-derive v0.3.0
[INFO] [stderr]    Compiling num v0.2.1
[INFO] [stderr]    Compiling proconio-derive v0.1.5
[INFO] [stderr]    Compiling proconio v0.3.6
[INFO] [stderr]    Compiling libarary v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `where`, or `{`, found `<eof>`
[INFO] [stdout]   --> src/bin/polynomial_factrise.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Zero fpr 
[INFO] [stdout]    |           ^^^ expected one of 7 possible tokens
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libarary` (bin "polynomial_factrise") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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/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[E0601]: `main` function not found in crate `mod_sqrt`
[INFO] [stdout]   --> src/bin/mod_sqrt.rs:77:2
[INFO] [stdout]    |
[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
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libarary` (bin "mod_sqrt") due to 2 previous errors
[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] 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[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] error[E0412]: cannot find type `T` in this scope
[INFO] [stdout]  --> src/bin/polynomial_gcd.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     T: Add<Output = T>
[INFO] [stdout]   |     ^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn polynomial_gcd<T>(a: Vec<T>, b: Vec<T>) -> Vec<T>
[INFO] [stdout]   |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Add` in this scope
[INFO] [stdout]  --> src/bin/polynomial_gcd.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     T: Add<Output = T>
[INFO] [stdout]   |        ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use core::ops::Add;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::ops::Add;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T` in this scope
[INFO] [stdout]  --> src/bin/polynomial_gcd.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 |     T: Add<Output = T>
[INFO] [stdout]   |                     ^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn polynomial_gcd<T>(a: Vec<T>, b: Vec<T>) -> Vec<T>
[INFO] [stdout]   |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Sub` in this scope
[INFO] [stdout]  --> src/bin/polynomial_gcd.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |         + Sub<Output = T>
[INFO] [stdout]   |           ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use core::ops::Sub;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::ops::Sub;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T` in this scope
[INFO] [stdout]  --> src/bin/polynomial_gcd.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 |         + Sub<Output = T>
[INFO] [stdout]   |                        ^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn polynomial_gcd<T>(a: Vec<T>, b: Vec<T>) -> Vec<T>
[INFO] [stdout]   |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Mul` in this scope
[INFO] [stdout]  --> src/bin/polynomial_gcd.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |         + Mul<Output = T>
[INFO] [stdout]   |           ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use core::ops::Mul;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::ops::Mul;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T` in this scope
[INFO] [stdout]  --> src/bin/polynomial_gcd.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 |         + Mul<Output = T>
[INFO] [stdout]   |                        ^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn polynomial_gcd<T>(a: Vec<T>, b: Vec<T>) -> Vec<T>
[INFO] [stdout]   |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Rem` in this scope
[INFO] [stdout]  --> src/bin/polynomial_gcd.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |         + Rem<Output = T>
[INFO] [stdout]   |           ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use core::ops::Rem;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::ops::Rem;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T` in this scope
[INFO] [stdout]  --> src/bin/polynomial_gcd.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 |         + Rem<Output = T>
[INFO] [stdout]   |                        ^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn polynomial_gcd<T>(a: Vec<T>, b: Vec<T>) -> Vec<T>
[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[E0405]: cannot find trait `Zero` in this scope
[INFO] [stdout]  --> src/bin/polynomial_gcd.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |         + Zero
[INFO] [stdout]   |           ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use num::Zero;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use num_traits::Zero;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T` in this scope
[INFO] [stdout]  --> src/bin/polynomial_gcd.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn polynomial_gcd(a: Vec<T>, b: Vec<T>) -> Vec<T>
[INFO] [stdout]   |                          ^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn polynomial_gcd<T>(a: Vec<T>, b: Vec<T>) -> Vec<T>
[INFO] [stdout]   |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T` in this scope
[INFO] [stdout]  --> src/bin/polynomial_gcd.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn polynomial_gcd(a: Vec<T>, b: Vec<T>) -> Vec<T>
[INFO] [stdout]   |                                     ^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn polynomial_gcd<T>(a: Vec<T>, b: Vec<T>) -> Vec<T>
[INFO] [stdout]   |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `T` in this scope
[INFO] [stdout]  --> src/bin/polynomial_gcd.rs:1:48
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn polynomial_gcd(a: Vec<T>, b: Vec<T>) -> Vec<T>
[INFO] [stdout]   |                                                ^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn polynomial_gcd<T>(a: Vec<T>, b: Vec<T>) -> Vec<T>
[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/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[E0405]: cannot find trait `Zero` in this scope
[INFO] [stdout]   --> src/bin/polynomial_gcd.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 |             impl Zero for $t {
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 28 | impl_zero! {u64,usize,i64,i32,u32,isize}
[INFO] [stdout]    | ---------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `impl_zero` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use num::Zero;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use num_traits::Zero;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[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]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[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: 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: consider using `_cnt` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[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] error[E0601]: `main` function not found in crate `Jacobi_symbol`
[INFO] [stdout]   --> src/bin/Jacobi_symbol.rs:42:2
[INFO] [stdout]    |
[INFO] [stdout] 42 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/bin/Jacobi_symbol.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libarary` (bin "polynomial_gcd") due to 15 previous errors
[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] [stderr] error: could not compile `libarary` (bin "main") due to 7 previous errors
[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] 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] [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] 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] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libarary` (bin "Jacobi_symbol") due to 3 previous errors; 1 warning emitted
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libarary` (bin "miller_rabbin_bigint") due to 4 previous errors; 1 warning emitted
[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] [stderr] error: could not compile `libarary` (bin "pollards_rho_bigint") due to 4 previous errors
[INFO] [stdout] warning: constant `INF` is never used
[INFO] [stdout]    --> src/bin/miller_rabin.rs:166:7
[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] warning: function `factrise_map` is never used
[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 `INF` is never used
[INFO] [stdout]    --> src/bin/pollards_rho.rs:355:7
[INFO] [stdout]     |
[INFO] [stdout] 355 | const INF: i64 = 1i64 << 60;
[INFO] [stdout]     |       ^^^
[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] [stderr] error: could not compile `libarary` (bin "mod_sqrt_bigint") due to 2 previous errors; 1 warning emitted
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d8c467ab6ede40d5aff32236f49fb4101538050bedd076fbf8641912a5d46164", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8c467ab6ede40d5aff32236f49fb4101538050bedd076fbf8641912a5d46164", kill_on_drop: false }`
[INFO] [stdout] d8c467ab6ede40d5aff32236f49fb4101538050bedd076fbf8641912a5d46164
