[INFO] fetching crate algebraics 0.3.0...
[INFO] checking algebraics-0.3.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate algebraics 0.3.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate algebraics 0.3.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate algebraics 0.3.0
[INFO] finished tweaking crates.io crate algebraics 0.3.0
[INFO] tweaked toml for crates.io crate algebraics 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unindent v0.1.11
[INFO] [stderr]   Downloaded pyo3-macros v0.16.6
[INFO] [stderr]   Downloaded pyo3-macros-backend v0.16.6
[INFO] [stderr]   Downloaded pyo3-build-config v0.16.6
[INFO] [stderr]   Downloaded pyo3-ffi v0.16.6
[INFO] [stderr]   Downloaded pyo3 v0.16.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 467c71405f2ec20af27afe227efb71293909eb7708f9ce1b0f3f906c655360aa
[INFO] running `Command { std: "docker" "start" "-a" "467c71405f2ec20af27afe227efb71293909eb7708f9ce1b0f3f906c655360aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "467c71405f2ec20af27afe227efb71293909eb7708f9ce1b0f3f906c655360aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "467c71405f2ec20af27afe227efb71293909eb7708f9ce1b0f3f906c655360aa", kill_on_drop: false }`
[INFO] [stdout] 467c71405f2ec20af27afe227efb71293909eb7708f9ce1b0f3f906c655360aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8340f994e845d1d566e17d83f63b2731720b67b6f0ad9641be8db0a2e8e214cc
[INFO] running `Command { std: "docker" "start" "-a" "8340f994e845d1d566e17d83f63b2731720b67b6f0ad9641be8db0a2e8e214cc", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_pcg v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking algebraics v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `ToPrimitive` is imported redundantly
[INFO] [stdout]     --> src/interval_arithmetic.rs:1308:9
[INFO] [stdout]      |
[INFO] [stdout] 1306 |     use super::*;
[INFO] [stdout]      |         -------- the item `ToPrimitive` is already imported here
[INFO] [stdout] 1307 |     use crate::util::tests::{test_checked_op_helper, test_op_helper, test_unary_op_helper};
[INFO] [stdout] 1308 |     use num_traits::ToPrimitive;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Integer` is imported redundantly
[INFO] [stdout]    --> src/polynomial/div_rem.rs:515:9
[INFO] [stdout]     |
[INFO] [stdout] 512 |     use super::*;
[INFO] [stdout]     |         -------- the item `Integer` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 515 |     use num_integer::Integer;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `One` is imported redundantly
[INFO] [stdout]    --> src/polynomial/factorization_over_integers.rs:669:22
[INFO] [stdout]     |
[INFO] [stdout] 668 |     use super::*;
[INFO] [stdout]     |         -------- the item `One` is already imported here
[INFO] [stdout] 669 |     use num_traits::{One, Pow};
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `One` is imported redundantly
[INFO] [stdout]    --> src/traits.rs:760:9
[INFO] [stdout]     |
[INFO] [stdout] 759 |     use super::*;
[INFO] [stdout]     |         -------- the item `One` is already imported here
[INFO] [stdout] 760 |     use num_traits::One;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `minimal_polynomial` is never read
[INFO] [stdout]    --> src/algebraic_numbers.rs:319:5
[INFO] [stdout]     |
[INFO] [stdout] 318 | struct IntervalShrinker<'a> {
[INFO] [stdout]     |        ---------------- field in this struct
[INFO] [stdout] 319 |     minimal_polynomial: &'a Polynomial<BigInt>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IntervalShrinker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DivRemNearest` is never used
[INFO] [stdout]    --> src/traits.rs:208:18
[INFO] [stdout]     |
[INFO] [stdout] 208 | pub(crate) trait DivRemNearest<Rhs = Self>: Sized {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `IsolatedRealRoot` is never used
[INFO] [stdout]    --> src/traits.rs:477:18
[INFO] [stdout]     |
[INFO] [stdout] 477 | pub(crate) trait IsolatedRealRoot<T: PolynomialCoefficient + Integer> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/array2d.rs:73:28
[INFO] [stdout]    |
[INFO] [stdout] 73 |             data: this.data.borrow(),
[INFO] [stdout]    |                            ^^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `[T]` does not implement `Borrow`, so calling `borrow` on `&[T]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/polynomial/div_rem.rs:247:67
[INFO] [stdout]     |
[INFO] [stdout] 247 |         let (quotient, factor) = self.clone().exact_pseudo_div(rhs.borrow());
[INFO] [stdout]     |                                                                   ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Polynomial<T>` does not implement `Borrow`, so calling `borrow` on `&Polynomial<T>` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 247 -         let (quotient, factor) = self.clone().exact_pseudo_div(rhs.borrow());
[INFO] [stdout] 247 +         let (quotient, factor) = self.clone().exact_pseudo_div(rhs);
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `Polynomial<T>`, implement `Clone` for it
[INFO] [stdout]    --> src/polynomial.rs:829:1
[INFO] [stdout]     |
[INFO] [stdout] 829 + #[derive(Clone)]
[INFO] [stdout] 830 | pub struct Polynomial<T: PolynomialCoefficient> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/polynomial/div_rem.rs:251:75
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs.borrow())?;
[INFO] [stdout]     |                                                                           ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Polynomial<T>` does not implement `Borrow`, so calling `borrow` on `&Polynomial<T>` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 251 -         let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs.borrow())?;
[INFO] [stdout] 251 +         let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs)?;
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `Polynomial<T>`, implement `Clone` for it
[INFO] [stdout]    --> src/polynomial.rs:829:1
[INFO] [stdout]     |
[INFO] [stdout] 829 + #[derive(Clone)]
[INFO] [stdout] 830 | pub struct Polynomial<T: PolynomialCoefficient> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `minimal_polynomial` is never read
[INFO] [stdout]    --> src/algebraic_numbers.rs:319:5
[INFO] [stdout]     |
[INFO] [stdout] 318 | struct IntervalShrinker<'a> {
[INFO] [stdout]     |        ---------------- field in this struct
[INFO] [stdout] 319 |     minimal_polynomial: &'a Polynomial<BigInt>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IntervalShrinker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DivRemNearest` is never used
[INFO] [stdout]    --> src/traits.rs:208:18
[INFO] [stdout]     |
[INFO] [stdout] 208 | pub(crate) trait DivRemNearest<Rhs = Self>: Sized {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `IsolatedRealRoot` is never used
[INFO] [stdout]    --> src/traits.rs:477:18
[INFO] [stdout]     |
[INFO] [stdout] 477 | pub(crate) trait IsolatedRealRoot<T: PolynomialCoefficient + Integer> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/array2d.rs:73:28
[INFO] [stdout]    |
[INFO] [stdout] 73 |             data: this.data.borrow(),
[INFO] [stdout]    |                            ^^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `[T]` does not implement `Borrow`, so calling `borrow` on `&[T]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/polynomial/div_rem.rs:247:67
[INFO] [stdout]     |
[INFO] [stdout] 247 |         let (quotient, factor) = self.clone().exact_pseudo_div(rhs.borrow());
[INFO] [stdout]     |                                                                   ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `polynomial::Polynomial<T>` does not implement `Borrow`, so calling `borrow` on `&polynomial::Polynomial<T>` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 247 -         let (quotient, factor) = self.clone().exact_pseudo_div(rhs.borrow());
[INFO] [stdout] 247 +         let (quotient, factor) = self.clone().exact_pseudo_div(rhs);
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `polynomial::Polynomial<T>`, implement `Clone` for it
[INFO] [stdout]    --> src/polynomial.rs:829:1
[INFO] [stdout]     |
[INFO] [stdout] 829 + #[derive(Clone)]
[INFO] [stdout] 830 | pub struct Polynomial<T: PolynomialCoefficient> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/polynomial/div_rem.rs:251:75
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs.borrow())?;
[INFO] [stdout]     |                                                                           ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `polynomial::Polynomial<T>` does not implement `Borrow`, so calling `borrow` on `&polynomial::Polynomial<T>` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 251 -         let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs.borrow())?;
[INFO] [stdout] 251 +         let (quotient, factor) = self.clone().checked_exact_pseudo_div(rhs)?;
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `polynomial::Polynomial<T>`, implement `Clone` for it
[INFO] [stdout]    --> src/polynomial.rs:829:1
[INFO] [stdout]     |
[INFO] [stdout] 829 + #[derive(Clone)]
[INFO] [stdout] 830 | pub struct Polynomial<T: PolynomialCoefficient> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.98s
[INFO] running `Command { std: "docker" "inspect" "8340f994e845d1d566e17d83f63b2731720b67b6f0ad9641be8db0a2e8e214cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8340f994e845d1d566e17d83f63b2731720b67b6f0ad9641be8db0a2e8e214cc", kill_on_drop: false }`
[INFO] [stdout] 8340f994e845d1d566e17d83f63b2731720b67b6f0ad9641be8db0a2e8e214cc
