[INFO] fetching crate algebraics 0.3.0... [INFO] checking algebraics-0.3.0 against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] extracting crate algebraics 0.3.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate algebraics 0.3.0 on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 49 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.22.2) [INFO] [stderr] Adding pyo3-build-config v0.16.6 (latest: v0.22.2) [INFO] [stderr] Adding pyo3-ffi v0.16.6 (latest: v0.22.2) [INFO] [stderr] Adding pyo3-macros v0.16.6 (latest: v0.22.2) [INFO] [stderr] Adding pyo3-macros-backend v0.16.6 (latest: v0.22.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding unindent v0.1.11 (latest: v0.2.3) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c002add5e243be780370a6897f225365aadb214aa50f0357912b3ef1df4bf6d3 [INFO] running `Command { std: "docker" "start" "-a" "c002add5e243be780370a6897f225365aadb214aa50f0357912b3ef1df4bf6d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c002add5e243be780370a6897f225365aadb214aa50f0357912b3ef1df4bf6d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c002add5e243be780370a6897f225365aadb214aa50f0357912b3ef1df4bf6d3", kill_on_drop: false }` [INFO] [stdout] c002add5e243be780370a6897f225365aadb214aa50f0357912b3ef1df4bf6d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff5239fcba0f5af9f1e91470530951b69f5d4748dc29fd39391e8fafdc43f1e2 [INFO] running `Command { std: "docker" "start" "-a" "ff5239fcba0f5af9f1e91470530951b69f5d4748dc29fd39391e8fafdc43f1e2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking num-rational v0.4.2 [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 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, [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: 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 { [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` does not implement `Borrow`, so calling `borrow` on `&Polynomial` 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`, implement `Clone` for it [INFO] [stdout] --> src/polynomial.rs:829:1 [INFO] [stdout] | [INFO] [stdout] 829 + #[derive(Clone)] [INFO] [stdout] 830 | pub struct Polynomial { [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` does not implement `Borrow`, so calling `borrow` on `&Polynomial` 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`, implement `Clone` for it [INFO] [stdout] --> src/polynomial.rs:829:1 [INFO] [stdout] | [INFO] [stdout] 829 + #[derive(Clone)] [INFO] [stdout] 830 | pub struct Polynomial { [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, [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: 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 { [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` does not implement `Borrow`, so calling `borrow` on `&polynomial::Polynomial` 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`, implement `Clone` for it [INFO] [stdout] --> src/polynomial.rs:829:1 [INFO] [stdout] | [INFO] [stdout] 829 + #[derive(Clone)] [INFO] [stdout] 830 | pub struct Polynomial { [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` does not implement `Borrow`, so calling `borrow` on `&polynomial::Polynomial` 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`, implement `Clone` for it [INFO] [stdout] --> src/polynomial.rs:829:1 [INFO] [stdout] | [INFO] [stdout] 829 + #[derive(Clone)] [INFO] [stdout] 830 | pub struct Polynomial { [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 3.16s [INFO] running `Command { std: "docker" "inspect" "ff5239fcba0f5af9f1e91470530951b69f5d4748dc29fd39391e8fafdc43f1e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff5239fcba0f5af9f1e91470530951b69f5d4748dc29fd39391e8fafdc43f1e2", kill_on_drop: false }` [INFO] [stdout] ff5239fcba0f5af9f1e91470530951b69f5d4748dc29fd39391e8fafdc43f1e2