[INFO] fetching crate num-irrational 0.3.0... [INFO] checking num-irrational-0.3.0 against master#c9af9c1dc85a55e309345030ff9cb7ea247953fa for pr-151146 [INFO] extracting crate num-irrational 0.3.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate num-irrational 0.3.0 [INFO] finished tweaking crates.io crate num-irrational 0.3.0 [INFO] tweaked toml for crates.io crate num-irrational 0.3.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate num-irrational 0.3.0 on toolchain c9af9c1dc85a55e309345030ff9cb7ea247953fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13f96ec32ec235a9518bfd218f662c7ada9055e1fcf86ce8b290bcea9f55087e [INFO] running `Command { std: "docker" "start" "-a" "13f96ec32ec235a9518bfd218f662c7ada9055e1fcf86ce8b290bcea9f55087e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13f96ec32ec235a9518bfd218f662c7ada9055e1fcf86ce8b290bcea9f55087e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13f96ec32ec235a9518bfd218f662c7ada9055e1fcf86ce8b290bcea9f55087e", kill_on_drop: false }` [INFO] [stdout] 13f96ec32ec235a9518bfd218f662c7ada9055e1fcf86ce8b290bcea9f55087e [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f26ae2cdfe047829bd0acaf7e5173e4fe27816552597f7fc8af6b1b644e4ad46 [INFO] running `Command { std: "docker" "start" "-a" "f26ae2cdfe047829bd0acaf7e5173e4fe27816552597f7fc8af6b1b644e4ad46", kill_on_drop: false }` [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num-irrational v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/cont_frac/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use general::*; [INFO] [stdout] | ---------- but the name `Convergents` in the type namespace is also re-exported here [INFO] [stdout] 27 | pub use infinite::*; [INFO] [stdout] 28 | pub use simple::*; [INFO] [stdout] | ^^^^^^^^^ the name `Convergents` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/cont_frac/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use general::*; [INFO] [stdout] | ---------- but the name `Convergents` in the type namespace is also re-exported here [INFO] [stdout] 27 | pub use infinite::*; [INFO] [stdout] 28 | pub use simple::*; [INFO] [stdout] | ^^^^^^^^^ the name `Convergents` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/cont_frac/infinite.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | fn take_periodic(self, count: usize) -> ContinuedFraction { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/cont_frac/simple.rs:621:21 [INFO] [stdout] | [INFO] [stdout] 621 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/quadratic/integer.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | fn unit(d: T) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `take_periodic` is never used [INFO] [stdout] --> src/cont_frac/infinite.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 36 | / impl, T: Integer + NumRef + Clone> InfiniteContinuedFraction [INFO] [stdout] 37 | | where [INFO] [stdout] 38 | | for<'r> &'r T: RefNum, [INFO] [stdout] | |_____________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn take_periodic(self, count: usize) -> ContinuedFraction { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParseContinuedFraction` is never used [INFO] [stdout] --> src/cont_frac/simple.rs:816:7 [INFO] [stdout] | [INFO] [stdout] 816 | trait ParseContinuedFraction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unit` is never used [INFO] [stdout] --> src/quadratic/integer.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 242 | / impl QuadraticInt [INFO] [stdout] 243 | | where [INFO] [stdout] 244 | | for<'r> &'r T: RefNum, [INFO] [stdout] | |_____________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 335 | fn unit(d: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ceil` and `round` are never used [INFO] [stdout] --> src/quadratic/surd.rs:626:8 [INFO] [stdout] | [INFO] [stdout] 289 | / impl QuadraticSurd [INFO] [stdout] 290 | | where [INFO] [stdout] 291 | | for<'r> &'r T: RefNum, [INFO] [stdout] | |_____________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 626 | fn ceil(self) -> Self { unimplemented!() } [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | fn round(self) -> Self { unimplemented!() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cont_frac/simple.rs:355:19 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn coeffs(&self) -> Coefficients { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 355 | pub fn coeffs(&self) -> Coefficients<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cont_frac/simple.rs:365:24 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn generalized(&self) -> GeneralCoefficients> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 365 | pub fn generalized(&self) -> GeneralCoefficients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cont_frac/simple.rs:374:26 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn coeffs_signed(&self) -> SignedCoefficients> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 374 | pub fn coeffs_signed(&self) -> SignedCoefficients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cont_frac/simple.rs:384:21 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn expanded(&self) -> InfiniteContinuedFraction>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 384 | pub fn expanded(&self) -> InfiniteContinuedFraction>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cont_frac/simple.rs:396:24 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn convergents(&self) -> Convergents { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 396 | pub fn convergents(&self) -> Convergents<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/cont_frac/infinite.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | fn take_periodic(self, count: usize) -> ContinuedFraction { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/cont_frac/simple.rs:621:21 [INFO] [stdout] | [INFO] [stdout] 621 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/quadratic/integer.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | fn unit(d: T) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `take_periodic` is never used [INFO] [stdout] --> src/cont_frac/infinite.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 36 | / impl, T: Integer + NumRef + Clone> InfiniteContinuedFraction [INFO] [stdout] 37 | | where [INFO] [stdout] 38 | | for<'r> &'r T: RefNum, [INFO] [stdout] | |_____________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn take_periodic(self, count: usize) -> ContinuedFraction { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParseContinuedFraction` is never used [INFO] [stdout] --> src/cont_frac/simple.rs:816:7 [INFO] [stdout] | [INFO] [stdout] 816 | trait ParseContinuedFraction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unit` is never used [INFO] [stdout] --> src/quadratic/integer.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 242 | / impl QuadraticInt [INFO] [stdout] 243 | | where [INFO] [stdout] 244 | | for<'r> &'r T: RefNum, [INFO] [stdout] | |_____________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 335 | fn unit(d: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ceil` and `round` are never used [INFO] [stdout] --> src/quadratic/surd.rs:626:8 [INFO] [stdout] | [INFO] [stdout] 289 | / impl QuadraticSurd [INFO] [stdout] 290 | | where [INFO] [stdout] 291 | | for<'r> &'r T: RefNum, [INFO] [stdout] | |_____________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 626 | fn ceil(self) -> Self { unimplemented!() } [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | fn round(self) -> Self { unimplemented!() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cont_frac/simple.rs:355:19 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn coeffs(&self) -> Coefficients { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 355 | pub fn coeffs(&self) -> Coefficients<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cont_frac/simple.rs:365:24 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn generalized(&self) -> GeneralCoefficients> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 365 | pub fn generalized(&self) -> GeneralCoefficients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cont_frac/simple.rs:374:26 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn coeffs_signed(&self) -> SignedCoefficients> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 374 | pub fn coeffs_signed(&self) -> SignedCoefficients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cont_frac/simple.rs:384:21 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn expanded(&self) -> InfiniteContinuedFraction>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 384 | pub fn expanded(&self) -> InfiniteContinuedFraction>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cont_frac/simple.rs:396:24 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn convergents(&self) -> Convergents { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 396 | pub fn convergents(&self) -> Convergents<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.12s [INFO] running `Command { std: "docker" "inspect" "f26ae2cdfe047829bd0acaf7e5173e4fe27816552597f7fc8af6b1b644e4ad46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f26ae2cdfe047829bd0acaf7e5173e4fe27816552597f7fc8af6b1b644e4ad46", kill_on_drop: false }` [INFO] [stdout] f26ae2cdfe047829bd0acaf7e5173e4fe27816552597f7fc8af6b1b644e4ad46