[INFO] fetching crate algebraics 0.3.0...
[INFO] checking algebraics-0.3.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate algebraics 0.3.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate algebraics 0.3.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "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-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 45 packages to latest compatible versions
[INFO] [stderr]       Adding indoc v1.0.9 (latest: v2.0.5)
[INFO] [stderr]       Adding pyo3 v0.16.6 (latest: v0.21.2)
[INFO] [stderr]       Adding pyo3-build-config v0.16.6 (latest: v0.21.2)
[INFO] [stderr]       Adding pyo3-ffi v0.16.6 (latest: v0.21.2)
[INFO] [stderr]       Adding pyo3-macros v0.16.6 (latest: v0.21.2)
[INFO] [stderr]       Adding pyo3-macros-backend v0.16.6 (latest: v0.21.2)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] [stderr]       Adding unindent v0.1.11 (latest: v0.2.3)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pyo3-macros-backend v0.16.6
[INFO] [stderr]   Downloaded target-lexicon v0.12.14
[INFO] [stderr]   Downloaded unindent v0.1.11
[INFO] [stderr]   Downloaded pyo3-macros v0.16.6
[INFO] [stderr]   Downloaded indoc v1.0.9
[INFO] [stderr]   Downloaded rand_pcg v0.3.1
[INFO] [stderr]   Downloaded pyo3-build-config v0.16.6
[INFO] [stderr]   Downloaded num-rational v0.4.1
[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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 239b7eafbca98c3249f7e8ae308ea818e4c87ca92dbd4baf0b434ff7e27d4947
[INFO] running `Command { std: "docker" "start" "-a" "239b7eafbca98c3249f7e8ae308ea818e4c87ca92dbd4baf0b434ff7e27d4947", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "239b7eafbca98c3249f7e8ae308ea818e4c87ca92dbd4baf0b434ff7e27d4947", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "239b7eafbca98c3249f7e8ae308ea818e4c87ca92dbd4baf0b434ff7e27d4947", kill_on_drop: false }`
[INFO] [stdout] 239b7eafbca98c3249f7e8ae308ea818e4c87ca92dbd4baf0b434ff7e27d4947
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dc09e92e551e8c3aa919a870eaa62bd83605c7446b83dfd138ba9d69305544ff
[INFO] running `Command { std: "docker" "start" "-a" "dc09e92e551e8c3aa919a870eaa62bd83605c7446b83dfd138ba9d69305544ff", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.154
[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 ppv-lite86 v0.2.17
[INFO] [stderr]     Checking getrandom v0.2.14
[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 num-integer v0.1.46
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking algebraics v0.3.0 (/opt/rustwide/workdir)
[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: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.49s
[INFO] running `Command { std: "docker" "inspect" "dc09e92e551e8c3aa919a870eaa62bd83605c7446b83dfd138ba9d69305544ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc09e92e551e8c3aa919a870eaa62bd83605c7446b83dfd138ba9d69305544ff", kill_on_drop: false }`
[INFO] [stdout] dc09e92e551e8c3aa919a870eaa62bd83605c7446b83dfd138ba9d69305544ff
