[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] e3350a36647a77f4cf41f6ccdd2d401491742bd8 [INFO] testing 1925chicken/library-rs against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1925chicken%2Flibrary-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 93% (878/943) Updating files: 94% (887/943) Updating files: 95% (896/943) Updating files: 96% (906/943) Updating files: 97% (915/943) Updating files: 98% (925/943) Updating files: 99% (934/943) Updating files: 100% (943/943) Updating files: 100% (943/943), done. [INFO] validating manifest of git repo https://github.com/1925chicken/library-rs on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/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-6/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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alga v0.9.3 [INFO] [stderr] Downloaded cli_test_dir v0.1.7 [INFO] [stderr] Downloaded proconio-derive v0.1.5 [INFO] [stderr] Downloaded proconio v0.3.6 [INFO] [stderr] Downloaded num-derive v0.3.0 [INFO] [stderr] Downloaded syn v0.15.39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6809902482205c9a4047a0ce916861ec9dfde2266a11b7813d8887f20660019 [INFO] running `Command { std: "docker" "start" "-a" "f6809902482205c9a4047a0ce916861ec9dfde2266a11b7813d8887f20660019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6809902482205c9a4047a0ce916861ec9dfde2266a11b7813d8887f20660019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6809902482205c9a4047a0ce916861ec9dfde2266a11b7813d8887f20660019", kill_on_drop: false }` [INFO] [stdout] f6809902482205c9a4047a0ce916861ec9dfde2266a11b7813d8887f20660019 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ddaca641711dfbac6370845952bc771e7747a5c3858bfbf52a6b681495f8186 [INFO] running `Command { std: "docker" "start" "-a" "0ddaca641711dfbac6370845952bc771e7747a5c3858bfbf52a6b681495f8186", 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] 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[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/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[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[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[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[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[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] 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] 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] 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] 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: 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] [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 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/miller_rabbin_bigint.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | if n.clone() % 2 == Zero::zero() { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `BigInt: Rem<{integer}>` found in the `num_bigint` crate: [INFO] [stdout] - impl Rem for BigInt; [INFO] [stdout] - impl Rem for BigInt; [INFO] [stdout] - impl Rem for BigInt; [INFO] [stdout] - impl Rem for BigInt; [INFO] [stdout] and 8 more [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[E0283]: type annotations needed [INFO] [stdout] --> src/bin/miller_rabbin_bigint.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | return n.clone() == 2.to_bigint().unwrap(); [INFO] [stdout] | --^^^^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `Option` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToBigInt` found in the `num_bigint` crate: [INFO] [stdout] - impl ToBigInt for i128; [INFO] [stdout] - impl ToBigInt for i16; [INFO] [stdout] - impl ToBigInt for i32; [INFO] [stdout] - impl ToBigInt for i64; [INFO] [stdout] and 8 more [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] 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] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/pollards_rho_bigint.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | if n.clone() % 2 == Zero::zero() { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `num::BigInt: Rem<{integer}>` found in the `num_bigint` crate: [INFO] [stdout] - impl Rem for num::BigInt; [INFO] [stdout] - impl Rem for num::BigInt; [INFO] [stdout] - impl Rem for num::BigInt; [INFO] [stdout] - impl Rem for num::BigInt; [INFO] [stdout] and 8 more [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[E0283]: type annotations needed [INFO] [stdout] --> src/bin/pollards_rho_bigint.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | return n.clone() == 2.to_bigint().unwrap(); [INFO] [stdout] | --^^^^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `Option` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: num_bigint::ToBigInt` found in the `num_bigint` crate: [INFO] [stdout] - impl num_bigint::ToBigInt for i128; [INFO] [stdout] - impl num_bigint::ToBigInt for i16; [INFO] [stdout] - impl num_bigint::ToBigInt for i32; [INFO] [stdout] - impl num_bigint::ToBigInt for i64; [INFO] [stdout] and 8 more [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] 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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [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] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [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 { [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0ddaca641711dfbac6370845952bc771e7747a5c3858bfbf52a6b681495f8186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ddaca641711dfbac6370845952bc771e7747a5c3858bfbf52a6b681495f8186", kill_on_drop: false }` [INFO] [stdout] 0ddaca641711dfbac6370845952bc771e7747a5c3858bfbf52a6b681495f8186