[INFO] updating cached repository https://github.com/CyclotomicFields/cyclotomic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/CyclotomicFields/cyclotomic [INFO] [stderr] ad9f246..b821000 master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b82100053a06e94d01df7bdca2caf10b16d898b1 [INFO] checking CyclotomicFields/cyclotomic against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCyclotomicFields%2Fcyclotomic" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CyclotomicFields/cyclotomic on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CyclotomicFields/cyclotomic [INFO] finished tweaking git repo https://github.com/CyclotomicFields/cyclotomic [INFO] tweaked toml for git repo https://github.com/CyclotomicFields/cyclotomic written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/CyclotomicFields/cyclotomic already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31a02a6ce65830f19c48baa9c27e51fa752b54adbdf3e8c6197b80417809266f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "31a02a6ce65830f19c48baa9c27e51fa752b54adbdf3e8c6197b80417809266f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31a02a6ce65830f19c48baa9c27e51fa752b54adbdf3e8c6197b80417809266f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31a02a6ce65830f19c48baa9c27e51fa752b54adbdf3e8c6197b80417809266f", kill_on_drop: false }` [INFO] [stdout] 31a02a6ce65830f19c48baa9c27e51fa752b54adbdf3e8c6197b80417809266f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a36544f2e38e978136ec2e97667ad668ebb9395f9cdcd17cf8424cc691c46e44 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a36544f2e38e978136ec2e97667ad668ebb9395f9cdcd17cf8424cc691c46e44", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking combinations v0.1.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling antic v0.1.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking divisors v0.2.1 [INFO] [stderr] Compiling quickcheck_macros v0.9.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Checking clap v3.0.0-beta.1 [INFO] [stderr] Checking cyclotomic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BigInt`, `BigRational`, `Signed`, `ToPrimitive` [INFO] [stdout] --> src/divisors/euclid.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use self::num::{BigInt, BigRational, Integer, One, Signed, ToPrimitive, Zero}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigInt` [INFO] [stdout] --> src/divisors/library_divisors.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use self::num::{BigInt, ToPrimitive, Zero}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Z` [INFO] [stdout] --> src/polynomial/substitute.rs:4:52 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::polynomial::polynomial::{Polynomial, Q, Z}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::BigInt` [INFO] [stdout] --> src/prime_factors/recursive_prime_factorize.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use num::BigInt; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::fields::*` [INFO] [stdout] --> src/fields/sparse/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::fields::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `SubAssign` [INFO] [stdout] --> src/fields/dense/mod.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | use std::ops::{AddAssign, Mul, SubAssign}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::fields::*` [INFO] [stdout] --> src/fields/dense/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::fields::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigInt`, `BigRational`, `Signed`, `ToPrimitive` [INFO] [stdout] --> src/divisors/euclid.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use self::num::{BigInt, BigRational, Integer, One, Signed, ToPrimitive, Zero}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/polynomial/construct.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/polynomial/negate.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/prime_counter/legendre.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/prime_counter/lehmer.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/prime_counter/meissel.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/primes/primes.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `SubAssign` [INFO] [stdout] --> src/fields/dense/mod.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | use std::ops::{AddAssign, Mul, SubAssign}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Div` [INFO] [stdout] --> src/divisors/euclid.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Div, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sub` [INFO] [stdout] --> src/divisors/euclid.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Div, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Neg` [INFO] [stdout] --> src/polynomial/subtract.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{AddAssign, Neg, Sub, SubAssign}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::fields::MultiplicativeGroupElement` [INFO] [stdout] --> src/fields/sparse/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::fields::MultiplicativeGroupElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/fields/sparse/mod.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | use std::ops::{AddAssign, Mul, SubAssign}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::fields::MultiplicativeGroupElement` [INFO] [stdout] --> src/fields/dense/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::fields::MultiplicativeGroupElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/fields/dense/mod.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | use std::ops::{AddAssign, Mul, SubAssign}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `coeffs` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/fields/sparse/add.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 18 | match coeffs.get(&exp).clone() { [INFO] [stdout] | ------ immutable borrow occurs here [INFO] [stdout] 19 | Some(existing_coeff) => coeffs.insert(exp, coeff + existing_coeff), [INFO] [stdout] | ^^^^^^ -------------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `z.coeffs` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/fields/sparse/basis.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 76 | match z.coeffs.get(&(gcd * exp)) { [INFO] [stdout] | -------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 79 | z.coeffs.insert(exp, coeff.clone()); [INFO] [stdout] | ^^^^^^^^ ----- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Q` [INFO] [stdout] --> src/coprime_counter/hybrid_coprime_counter.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type Q = num::rational::BigRational; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/coprime_counter/hybrid_coprime_counter.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(prime_factorizer: PF) -> HybridCoprimeCounter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/coprime_counter/hybrid_coprime_counter.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn default() -> HybridCoprimeCounter> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Z` [INFO] [stdout] --> src/divisors/euclid.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | type Z = num::bigint::BigInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Euclid` [INFO] [stdout] --> src/divisors/euclid.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Euclid {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/divisors/euclid.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new() -> Euclid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extended_euclidean_augmented_matrix_result_rows` [INFO] [stdout] --> src/divisors/euclid.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn extended_euclidean_augmented_matrix_result_rows(&self, m: &Z, n: &Z) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gcd` [INFO] [stdout] --> src/divisors/euclid.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn gcd(&self, m: &Z, n: &Z) -> Z { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiplicative_inverse_mod_n` [INFO] [stdout] --> src/divisors/euclid.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn multiplicative_inverse_mod_n(&self, i: &Z, n: &Z) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiplicative_inverse_mod_polynomial` [INFO] [stdout] --> src/divisors/euclid.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn multiplicative_inverse_mod_polynomial( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/divisors/library_divisors.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> LibraryDivisors { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_small_fractions` [INFO] [stdout] --> src/polynomial/construct.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn from_small_fractions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_irreducible_over_q` [INFO] [stdout] --> src/polynomial/is_irreducible.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn is_irreducible_over_q( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_irreducible_by_eisenstein_criterion` [INFO] [stdout] --> src/polynomial/is_irreducible.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn is_irreducible_by_eisenstein_criterion( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `convert_to_integer_coefficients` [INFO] [stdout] --> src/polynomial/is_irreducible.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn convert_to_integer_coefficients(&self) -> Polynomial { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_integer_coefficients` [INFO] [stdout] --> src/polynomial/is_irreducible.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | fn try_integer_coefficients(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul_mut_naive` [INFO] [stdout] --> src/polynomial/multiply.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn mul_mut_naive(&mut self, rhs: &Self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul_mut_fft` [INFO] [stdout] --> src/polynomial/multiply.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn mul_mut_fft(&mut self, _rhs: &Self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `constant_term_coefficient` [INFO] [stdout] --> src/polynomial/polynomial.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn constant_term_coefficient(&self) -> &Q { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_monic` [INFO] [stdout] --> src/polynomial/polynomial.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn is_monic(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `substitute` [INFO] [stdout] --> src/polynomial/substitute.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn substitute(&self, t: Q) -> Q { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/prime_counter/legendre.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(primes: &Primes) -> Legendre { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `legendre_sum_phi` [INFO] [stdout] --> src/prime_counter/legendre.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn legendre_sum_phi(&self, x: R, a: ZPlus) -> Z { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/prime_counter/lehmer.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(primes: &Primes) -> Lehmer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/prime_counter/meissel.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(primes: &Primes) -> Meissel { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/prime_factors/recursive_prime_factorize.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(divisors_strategy: D) -> RecursivePrimeFactorize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/prime_factors/recursive_prime_factorize.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn default() -> RecursivePrimeFactorize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `ZPlus` [INFO] [stdout] --> src/primes/prime_table.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | type ZPlus = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PrimeTableReader` [INFO] [stdout] --> src/primes/prime_table.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PrimeTableReader<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/primes/prime_table.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(directory_path: &Path) -> PrimeTableReader { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_million_from_file` [INFO] [stdout] --> src/primes/prime_table.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn first_million_from_file() -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_million_primes` [INFO] [stdout] --> src/primes/prime_table.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn first_million_primes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_primes_from_table` [INFO] [stdout] --> src/primes/prime_table.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn read_primes_from_table(primes_txt_content: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_primes_from_csv` [INFO] [stdout] --> src/primes/prime_table.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn read_primes_from_csv(primes_csv_content: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `R` [INFO] [stdout] --> src/primes/primes.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | type R = f64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Z` [INFO] [stdout] --> src/primes/primes.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | type Z = i64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_n` [INFO] [stdout] --> src/primes/primes.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn first_n(&self, n: ZPlus) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pi_range` [INFO] [stdout] --> src/primes/primes.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn pi_range(&self, lower_bound: ZPlus, upper_bound: ZPlus) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_same_coeff` [INFO] [stdout] --> src/fields/sparse/mod.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_same_coeff(z: &Number) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_same_coeff` [INFO] [stdout] --> src/fields/dense/mod.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn get_same_coeff(z: &Number) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `order` [INFO] [stdout] --> src/fields/structure/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | order: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `basis` [INFO] [stdout] --> src/fields/structure/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | basis: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `factors` [INFO] [stdout] --> src/fields/structure/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | factors: Vec<(i64, i64)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Matrix` [INFO] [stdout] --> src/linear_algebra/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Matrix(Vec>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assert_compatible` [INFO] [stdout] --> src/linear_algebra/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert_compatible(mA: &Self, mB: &Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul` [INFO] [stdout] --> src/linear_algebra/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn mul(mA: &mut Self, mB: &mut Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Vector` [INFO] [stdout] --> src/linear_algebra/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct Vector(Vec); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot_product` [INFO] [stdout] --> src/linear_algebra/mod.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn dot_product(&self, other: &mut Self) -> T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/fields/sparse/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/fields/dense/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/fields/dense/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mA` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert_compatible(mA: &Self, mB: &Self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `m_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mB` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert_compatible(mA: &Self, mB: &Self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `m_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let A = &mA.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let B = &mB.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mA` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | fn mul(mA: &mut Self, mB: &mut Self) -> Self { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `m_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mB` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | fn mul(mA: &mut Self, mB: &mut Self) -> Self { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `m_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let A = &mut mA.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let B = &mut mB.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let N = A.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let M = B.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let L = B[0].len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 78 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Div` [INFO] [stdout] --> src/divisors/euclid.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Div, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sub` [INFO] [stdout] --> src/divisors/euclid.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Div, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Neg` [INFO] [stdout] --> src/polynomial/subtract.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{AddAssign, Neg, Sub, SubAssign}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/fields/sparse/mod.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | use std::ops::{AddAssign, Mul, SubAssign}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/fields/dense/mod.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | use std::ops::{AddAssign, Mul, SubAssign}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'clap::build::arg::Arg::<'help>::help': Please use `about` method instead [INFO] [stdout] --> src/bin/cyclobench.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | #[clap(short, long, help = "file to output GAP benchmark code to")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'clap::build::arg::Arg::<'help>::help': Please use `about` method instead [INFO] [stdout] --> src/bin/cyclobench.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | help = "cyclotomic or antic" [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'clap::build::arg::Arg::<'help>::help': Please use `about` method instead [INFO] [stdout] --> src/bin/cyclobench.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | help = "maximum absolute value of integer to use as numerator or denominator in rationals" [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'clap::build::arg::Arg::<'help>::help': Please use `about` method instead [INFO] [stdout] --> src/bin/cyclobench.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | #[clap(long, help = "use static test data")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'clap::build::arg::Arg::<'help>::help': Please use `about` method instead [INFO] [stdout] --> src/bin/cyclobench.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | #[clap(short, long, help = "file to output GAP benchmark code to")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'clap::build::arg::Arg::<'help>::help': Please use `about` method instead [INFO] [stdout] --> src/bin/cyclobench.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | help = "cyclotomic or antic" [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'clap::build::arg::Arg::<'help>::help': Please use `about` method instead [INFO] [stdout] --> src/bin/cyclobench.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | help = "maximum absolute value of integer to use as numerator or denominator in rationals" [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'clap::build::arg::Arg::<'help>::help': Please use `about` method instead [INFO] [stdout] --> src/bin/cyclobench.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | #[clap(long, help = "use static test data")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_maximum_integer` [INFO] [stdout] --> src/bin/cyclobench.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | q_maximum_integer: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/cyclobench.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | / write!( [INFO] [stdout] 94 | | &mut file, [INFO] [stdout] 95 | | "nop({} * {} + {} * {} + {} * {});\n", [INFO] [stdout] 96 | | print_gap(x), [INFO] [stdout] ... | [INFO] [stdout] 101 | | print_gap(c), [INFO] [stdout] 102 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `q_maximum_integer` [INFO] [stdout] --> src/bin/cyclobench.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | q_maximum_integer: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/cyclobench.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | / write!( [INFO] [stdout] 94 | | &mut file, [INFO] [stdout] 95 | | "nop({} * {} + {} * {} + {} * {});\n", [INFO] [stdout] 96 | | print_gap(x), [INFO] [stdout] ... | [INFO] [stdout] 101 | | print_gap(c), [INFO] [stdout] 102 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `coeffs` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/fields/sparse/add.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 18 | match coeffs.get(&exp).clone() { [INFO] [stdout] | ------ immutable borrow occurs here [INFO] [stdout] 19 | Some(existing_coeff) => coeffs.insert(exp, coeff + existing_coeff), [INFO] [stdout] | ^^^^^^ -------------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `z.coeffs` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/fields/sparse/basis.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 76 | match z.coeffs.get(&(gcd * exp)) { [INFO] [stdout] | -------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 79 | z.coeffs.insert(exp, coeff.clone()); [INFO] [stdout] | ^^^^^^^^ ----- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Q` [INFO] [stdout] --> src/coprime_counter/hybrid_coprime_counter.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type Q = num::rational::BigRational; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul_mut_naive` [INFO] [stdout] --> src/polynomial/multiply.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn mul_mut_naive(&mut self, rhs: &Self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul_mut_fft` [INFO] [stdout] --> src/polynomial/multiply.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn mul_mut_fft(&mut self, _rhs: &Self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `R` [INFO] [stdout] --> src/primes/primes.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | type R = f64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Z` [INFO] [stdout] --> src/primes/primes.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | type Z = i64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_same_coeff` [INFO] [stdout] --> src/fields/sparse/mod.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_same_coeff(z: &Number) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_same_coeff` [INFO] [stdout] --> src/fields/dense/mod.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn get_same_coeff(z: &Number) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `order` [INFO] [stdout] --> src/fields/structure/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | order: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `factors` [INFO] [stdout] --> src/fields/structure/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | factors: Vec<(i64, i64)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Matrix` [INFO] [stdout] --> src/linear_algebra/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Matrix(Vec>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assert_compatible` [INFO] [stdout] --> src/linear_algebra/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert_compatible(mA: &Self, mB: &Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul` [INFO] [stdout] --> src/linear_algebra/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn mul(mA: &mut Self, mB: &mut Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Vector` [INFO] [stdout] --> src/linear_algebra/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct Vector(Vec); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot_product` [INFO] [stdout] --> src/linear_algebra/mod.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn dot_product(&self, other: &mut Self) -> T { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/fields/sparse/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/fields/dense/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/fields/dense/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mA` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert_compatible(mA: &Self, mB: &Self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `m_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mB` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | fn assert_compatible(mA: &Self, mB: &Self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `m_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let A = &mA.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let B = &mB.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mA` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | fn mul(mA: &mut Self, mB: &mut Self) -> Self { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `m_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mB` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | fn mul(mA: &mut Self, mB: &mut Self) -> Self { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `m_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let A = &mut mA.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let B = &mut mB.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let N = A.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let M = B.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/linear_algebra/mod.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let L = B[0].len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.76s [INFO] running `Command { std: "docker" "inspect" "a36544f2e38e978136ec2e97667ad668ebb9395f9cdcd17cf8424cc691c46e44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36544f2e38e978136ec2e97667ad668ebb9395f9cdcd17cf8424cc691c46e44", kill_on_drop: false }` [INFO] [stdout] a36544f2e38e978136ec2e97667ad668ebb9395f9cdcd17cf8424cc691c46e44