[INFO] fetching crate num-irrational 0.3.0... [INFO] testing num-irrational-0.3.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate num-irrational 0.3.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate num-irrational 0.3.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4de8e43a8f40dcceb7b62d5383cc7b93cabf86c7cc659f8dbe649065aa51579 [INFO] running `Command { std: "docker" "start" "-a" "d4de8e43a8f40dcceb7b62d5383cc7b93cabf86c7cc659f8dbe649065aa51579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4de8e43a8f40dcceb7b62d5383cc7b93cabf86c7cc659f8dbe649065aa51579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4de8e43a8f40dcceb7b62d5383cc7b93cabf86c7cc659f8dbe649065aa51579", kill_on_drop: false }` [INFO] [stdout] d4de8e43a8f40dcceb7b62d5383cc7b93cabf86c7cc659f8dbe649065aa51579 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 11fa0647a22937186fb2de919f5d52fb327938e15d84d304461c62de6d4abd4c [INFO] running `Command { std: "docker" "start" "-a" "11fa0647a22937186fb2de919f5d52fb327938e15d84d304461c62de6d4abd4c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling 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: 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)]` 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cont_frac/simple.rs:355:19 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn coeffs(&self) -> Coefficients { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 355 | pub fn coeffs(&self) -> Coefficients<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cont_frac/simple.rs:365:24 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn generalized(&self) -> GeneralCoefficients> { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 365 | pub fn generalized(&self) -> GeneralCoefficients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cont_frac/simple.rs:374:26 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn coeffs_signed(&self) -> SignedCoefficients> { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 374 | pub fn coeffs_signed(&self) -> SignedCoefficients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cont_frac/simple.rs:384:21 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn expanded(&self) -> InfiniteContinuedFraction>> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 384 | pub fn expanded(&self) -> InfiniteContinuedFraction>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cont_frac/simple.rs:396:24 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn convergents(&self) -> Convergents { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.72s [INFO] running `Command { std: "docker" "inspect" "11fa0647a22937186fb2de919f5d52fb327938e15d84d304461c62de6d4abd4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11fa0647a22937186fb2de919f5d52fb327938e15d84d304461c62de6d4abd4c", kill_on_drop: false }` [INFO] [stdout] 11fa0647a22937186fb2de919f5d52fb327938e15d84d304461c62de6d4abd4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2b86b8755789e893f8c33ea2fd25ecb4bd7b5511cbd31fb6da8a5e223f105d2c [INFO] running `Command { std: "docker" "start" "-a" "2b86b8755789e893f8c33ea2fd25ecb4bd7b5511cbd31fb6da8a5e223f105d2c", kill_on_drop: false }` [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)]` 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cont_frac/simple.rs:355:19 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn coeffs(&self) -> Coefficients { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 355 | pub fn coeffs(&self) -> Coefficients<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-irrational v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cont_frac/simple.rs:365:24 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn generalized(&self) -> GeneralCoefficients> { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 365 | pub fn generalized(&self) -> GeneralCoefficients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cont_frac/simple.rs:374:26 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn coeffs_signed(&self) -> SignedCoefficients> { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 374 | pub fn coeffs_signed(&self) -> SignedCoefficients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cont_frac/simple.rs:384:21 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn expanded(&self) -> InfiniteContinuedFraction>> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 384 | pub fn expanded(&self) -> InfiniteContinuedFraction>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cont_frac/simple.rs:396:24 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn convergents(&self) -> Convergents { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 396 | pub fn convergents(&self) -> Convergents<'_, T> { [INFO] [stdout] | +++ [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)]` 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cont_frac/simple.rs:355:19 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn coeffs(&self) -> Coefficients { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 355 | pub fn coeffs(&self) -> Coefficients<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cont_frac/simple.rs:365:24 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn generalized(&self) -> GeneralCoefficients> { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 365 | pub fn generalized(&self) -> GeneralCoefficients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cont_frac/simple.rs:374:26 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn coeffs_signed(&self) -> SignedCoefficients> { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 374 | pub fn coeffs_signed(&self) -> SignedCoefficients> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cont_frac/simple.rs:384:21 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn expanded(&self) -> InfiniteContinuedFraction>> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 384 | pub fn expanded(&self) -> InfiniteContinuedFraction>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cont_frac/simple.rs:396:24 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn convergents(&self) -> Convergents { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 396 | pub fn convergents(&self) -> Convergents<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "2b86b8755789e893f8c33ea2fd25ecb4bd7b5511cbd31fb6da8a5e223f105d2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b86b8755789e893f8c33ea2fd25ecb4bd7b5511cbd31fb6da8a5e223f105d2c", kill_on_drop: false }` [INFO] [stdout] 2b86b8755789e893f8c33ea2fd25ecb4bd7b5511cbd31fb6da8a5e223f105d2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f52c9731229f8e4af9d17f79f017ab70ede760abd47d9ee29a759f4511ed1154 [INFO] running `Command { std: "docker" "start" "-a" "f52c9731229f8e4af9d17f79f017ab70ede760abd47d9ee29a759f4511ed1154", kill_on_drop: false }` [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> src/cont_frac/mod.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub use general::*; [INFO] [stderr] | ---------- but the name `Convergents` in the type namespace is also re-exported here [INFO] [stderr] 27 | pub use infinite::*; [INFO] [stderr] 28 | pub use simple::*; [INFO] [stderr] | ^^^^^^^^^ the name `Convergents` in the type namespace is first re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `count` [INFO] [stderr] --> src/cont_frac/infinite.rs:86:31 [INFO] [stderr] | [INFO] [stderr] 86 | fn take_periodic(self, count: usize) -> ContinuedFraction { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stdout] [INFO] [stderr] --> src/cont_frac/simple.rs:621:21 [INFO] [stdout] running 24 tests [INFO] [stderr] | [INFO] [stderr] 621 | fn from_str(s: &str) -> Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `d` [INFO] [stderr] --> src/quadratic/integer.rs:335:13 [INFO] [stderr] | [INFO] [stderr] 335 | fn unit(d: T) -> Self { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stderr] [INFO] [stderr] warning: method `take_periodic` is never used [INFO] [stderr] --> src/cont_frac/infinite.rs:86:8 [INFO] [stderr] | [INFO] [stderr] 36 | / impl, T: Integer + NumRef + Clone> InfiniteContinuedFraction [INFO] [stderr] 37 | | where [INFO] [stderr] 38 | | for<'r> &'r T: RefNum, [INFO] [stderr] | |_____________________________- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 86 | fn take_periodic(self, count: usize) -> ContinuedFraction { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `ParseContinuedFraction` is never used [INFO] [stderr] --> src/cont_frac/simple.rs:816:7 [INFO] [stderr] | [INFO] [stderr] 816 | trait ParseContinuedFraction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `unit` is never used [INFO] [stderr] --> src/quadratic/integer.rs:335:8 [INFO] [stderr] | [INFO] [stderr] 242 | / impl QuadraticInt [INFO] [stderr] 243 | | where [INFO] [stderr] 244 | | for<'r> &'r T: RefNum, [INFO] [stderr] | |_____________________________- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 335 | fn unit(d: T) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `ceil` and `round` are never used [INFO] [stderr] --> src/quadratic/surd.rs:626:8 [INFO] [stderr] | [INFO] [stderr] 289 | / impl QuadraticSurd [INFO] [stderr] 290 | | where [INFO] [stderr] 291 | | for<'r> &'r T: RefNum, [INFO] [stderr] | |_____________________________- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 626 | fn ceil(self) -> Self { unimplemented!() } [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 629 | fn round(self) -> Self { unimplemented!() } [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cont_frac/simple.rs:355:19 [INFO] [stderr] | [INFO] [stderr] 355 | pub fn coeffs(&self) -> Coefficients { [INFO] [stderr] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 355 | pub fn coeffs(&self) -> Coefficients<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cont_frac/simple.rs:365:24 [INFO] [stderr] | [INFO] [stderr] 365 | pub fn generalized(&self) -> GeneralCoefficients> { [INFO] [stderr] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 365 | pub fn generalized(&self) -> GeneralCoefficients> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cont_frac/simple.rs:374:26 [INFO] [stderr] | [INFO] [stderr] 374 | pub fn coeffs_signed(&self) -> SignedCoefficients> { [INFO] [stderr] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 374 | pub fn coeffs_signed(&self) -> SignedCoefficients> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cont_frac/simple.rs:384:21 [INFO] [stderr] | [INFO] [stderr] 384 | pub fn expanded(&self) -> InfiniteContinuedFraction>> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 384 | pub fn expanded(&self) -> InfiniteContinuedFraction>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cont_frac/simple.rs:396:24 [INFO] [stderr] | [INFO] [stderr] 396 | pub fn convergents(&self) -> Convergents { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 396 | pub fn convergents(&self) -> Convergents<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `num-irrational` (lib) generated 13 warnings (run `cargo fix --lib -p num-irrational` to apply 5 suggestions) [INFO] [stderr] warning: `num-irrational` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/num_irrational-87997a733b4d6862) [INFO] [stdout] test cont_frac::general::tests::functions_test ... ok [INFO] [stdout] test cont_frac::infinite::tests::arithmetic_test ... ok [INFO] [stdout] test cont_frac::general::tests::general_conf_frac_test ... ok [INFO] [stdout] test cont_frac::infinite::tests::utility_test ... ok [INFO] [stdout] test cont_frac::simple::tests::conversion_test ... ok [INFO] [stdout] test cont_frac::simple::tests::creation_test ... ok [INFO] [stdout] test cont_frac::simple::tests::iter_test ... ok [INFO] [stdout] test cont_frac::simple::tests::fmt_test ... ok [INFO] [stdout] test quadratic::integer::tests::div_rem_round_test ... ok [INFO] [stdout] test quadratic::integer::tests::test_different_bases ... ok [INFO] [stdout] test quadratic::integer::tests::test_ops ... ok [INFO] [stdout] test quadratic::surd::tests::arithmic_test ... ok [INFO] [stdout] test cont_frac::simple::tests::arithmetic_test ... ok [INFO] [stdout] test quadratic::surd::tests::arithmic_test_diff_base ... ok [INFO] [stdout] test quadratic::surd::tests::conversion_test ... ok [INFO] [stdout] test quadratic::integer::tests::test_ops_unit ... ok [INFO] [stdout] test quadratic::surd::tests::creation_test ... ok [INFO] [stdout] test quadratic::surd::tests::conversion_between_contfrac ... ok [INFO] [stdout] test quadratic::surd::tests::formatting_test ... ok [INFO] [stdout] test quadratic::surd::tests::from_sqrt_test ... ok [INFO] [stdout] test quadratic::surd::tests::from_xxx_test ... ok [INFO] [stdout] test quadratic::surd::tests::property_test ... ok [INFO] [stdout] test quadratic::surd::tests::trunc_frac_test ... ok [INFO] [stdout] test symbols::tests::cfrac_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f52c9731229f8e4af9d17f79f017ab70ede760abd47d9ee29a759f4511ed1154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f52c9731229f8e4af9d17f79f017ab70ede760abd47d9ee29a759f4511ed1154", kill_on_drop: false }` [INFO] [stdout] f52c9731229f8e4af9d17f79f017ab70ede760abd47d9ee29a759f4511ed1154