[INFO] fetching crate algebraics 0.3.0...
[INFO] checking algebraics-0.3.0 against try#264a7c4a1c917c83d13895a31231f9d93c7b67e1 for pr-132289
[INFO] extracting crate algebraics 0.3.0 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate algebraics 0.3.0 on toolchain 264a7c4a1c917c83d13895a31231f9d93c7b67e1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "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-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 48 packages to latest compatible versions
[INFO] [stderr]       Adding pyo3 v0.16.6 (available: v0.22.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1165ebc0250df5987b97959484e1aad70a42885c38bdcad82bc3e8efc6e4bf47
[INFO] running `Command { std: "docker" "start" "-a" "1165ebc0250df5987b97959484e1aad70a42885c38bdcad82bc3e8efc6e4bf47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1165ebc0250df5987b97959484e1aad70a42885c38bdcad82bc3e8efc6e4bf47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1165ebc0250df5987b97959484e1aad70a42885c38bdcad82bc3e8efc6e4bf47", kill_on_drop: false }`
[INFO] [stdout] 1165ebc0250df5987b97959484e1aad70a42885c38bdcad82bc3e8efc6e4bf47
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cae3503abd5cb4c94c465d7b4a5defb7b4a1e6e0a5319a596e753ae0b355faba
[INFO] running `Command { std: "docker" "start" "-a" "cae3503abd5cb4c94c465d7b4a5defb7b4a1e6e0a5319a596e753ae0b355faba", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking getrandom v0.2.15
[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 num-bigint v0.4.6
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking algebraics v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/util.rs:937:9
[INFO] [stdout]     |
[INFO] [stdout] 933 |     fn to_leaf_or_node_pair<'a>(
[INFO] [stdout]     |                             -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 937 |         &Self,
[INFO] [stdout]     |         ^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/util.rs:937:9
[INFO] [stdout]     |
[INFO] [stdout] 933 |     fn to_leaf_or_node_pair<'a>(
[INFO] [stdout]     |                             -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 937 |         &Self,
[INFO] [stdout]     |         ^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[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: 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.08s
[INFO] running `Command { std: "docker" "inspect" "cae3503abd5cb4c94c465d7b4a5defb7b4a1e6e0a5319a596e753ae0b355faba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cae3503abd5cb4c94c465d7b4a5defb7b4a1e6e0a5319a596e753ae0b355faba", kill_on_drop: false }`
[INFO] [stdout] cae3503abd5cb4c94c465d7b4a5defb7b4a1e6e0a5319a596e753ae0b355faba
