[INFO] fetching crate honestintervals 0.2.0... [INFO] testing honestintervals-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate honestintervals 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate honestintervals 0.2.0 [INFO] finished tweaking crates.io crate honestintervals 0.2.0 [INFO] tweaked toml for crates.io crate honestintervals 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate honestintervals 0.2.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] Locking 1 package to latest compatible version [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 532e672e08bbe8f59a7d0892a58653bfd287a31db8a21f952f72348f227a64ae [INFO] running `Command { std: "docker" "start" "-a" "532e672e08bbe8f59a7d0892a58653bfd287a31db8a21f952f72348f227a64ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "532e672e08bbe8f59a7d0892a58653bfd287a31db8a21f952f72348f227a64ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "532e672e08bbe8f59a7d0892a58653bfd287a31db8a21f952f72348f227a64ae", kill_on_drop: false }` [INFO] [stdout] 532e672e08bbe8f59a7d0892a58653bfd287a31db8a21f952f72348f227a64ae [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: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] 5540b8e9ae1568440d896ca1e0f4d6058b123550311a3518b1209bd8a744d353 [INFO] running `Command { std: "docker" "start" "-a" "5540b8e9ae1568440d896ca1e0f4d6058b123550311a3518b1209bd8a744d353", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling honestintervals v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fp.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | fn from_lo(T, precision: usize) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fp.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_hi(T, precision: usize) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fp.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | fn from_str_lo(s: &str, usize) -> Result { Self::from_str(s) } [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fp.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | fn from_str_hi(s: &str, usize) -> Result { Self::from_str(s) } [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/mpfr/capi.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | /// External calls to MPFR library. See http://www.mpfr.org/mpfr-current/mpfr.html for details. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | / extern "C" { [INFO] [stdout] 46 | | // Initialization functions. [INFO] [stdout] 47 | | pub fn mpfr_init2(x: MpfrPtr, prec: MpfrPrec); [INFO] [stdout] 48 | | pub fn mpfr_clear(x: MpfrPtr); [INFO] [stdout] ... | [INFO] [stdout] 90 | | pub fn mpfr_max(rop: MpfrPtr, op1: MpfrConstPtr, op2: MpfrConstPtr, rnd: MpfrRnd) -> c_int; [INFO] [stdout] 91 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mpfr/impl_basic.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mpfr/impl_basic.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let mut mpfr = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/interval/impl_basic.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | let s = s.trim_left_matches('<').trim_left(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 128 - let s = s.trim_left_matches('<').trim_left(); [INFO] [stdout] 128 + let s = s.trim_start_matches('<').trim_left(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/interval/impl_basic.rs:128:46 [INFO] [stdout] | [INFO] [stdout] 128 | let s = s.trim_left_matches('<').trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 128 - let s = s.trim_left_matches('<').trim_left(); [INFO] [stdout] 128 + let s = s.trim_left_matches('<').trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/interval/impl_basic.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | let s = s.trim_right_matches('>').trim_right(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 130 - let s = s.trim_right_matches('>').trim_right(); [INFO] [stdout] 130 + let s = s.trim_end_matches('>').trim_right(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/interval/impl_basic.rs:130:47 [INFO] [stdout] | [INFO] [stdout] 130 | let s = s.trim_right_matches('>').trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 130 - let s = s.trim_right_matches('>').trim_right(); [INFO] [stdout] 130 + let s = s.trim_right_matches('>').trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/intervalset/impl_basic.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | let s = s.trim_left_matches('{').trim_left(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 116 - let s = s.trim_left_matches('{').trim_left(); [INFO] [stdout] 116 + let s = s.trim_start_matches('{').trim_left(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/intervalset/impl_basic.rs:116:46 [INFO] [stdout] | [INFO] [stdout] 116 | let s = s.trim_left_matches('{').trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 116 - let s = s.trim_left_matches('{').trim_left(); [INFO] [stdout] 116 + let s = s.trim_left_matches('{').trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/intervalset/impl_basic.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | let s = s.trim_right_matches('}').trim_right(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 118 - let s = s.trim_right_matches('}').trim_right(); [INFO] [stdout] 118 + let s = s.trim_end_matches('}').trim_right(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/intervalset/impl_basic.rs:118:47 [INFO] [stdout] | [INFO] [stdout] 118 | let s = s.trim_right_matches('}').trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 118 - let s = s.trim_right_matches('}').trim_right(); [INFO] [stdout] 118 + let s = s.trim_right_matches('}').trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `MpfrStruct` does not permit being left uninitialized [INFO] [stdout] --> src/mpfr/impl_basic.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let mut mpfr = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/mpfr/capi.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub _mpfr_prec: MpfrPrec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "5540b8e9ae1568440d896ca1e0f4d6058b123550311a3518b1209bd8a744d353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5540b8e9ae1568440d896ca1e0f4d6058b123550311a3518b1209bd8a744d353", kill_on_drop: false }` [INFO] [stdout] 5540b8e9ae1568440d896ca1e0f4d6058b123550311a3518b1209bd8a744d353 [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: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] 12ee9b0654c9ad225c8721bfc588262693194432983b20476281e3bf7b7a142e [INFO] running `Command { std: "docker" "start" "-a" "12ee9b0654c9ad225c8721bfc588262693194432983b20476281e3bf7b7a142e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fp.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | fn from_lo(T, precision: usize) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fp.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_hi(T, precision: usize) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fp.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | fn from_str_lo(s: &str, usize) -> Result { Self::from_str(s) } [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fp.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | fn from_str_hi(s: &str, usize) -> Result { Self::from_str(s) } [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/mpfr/capi.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | /// External calls to MPFR library. See http://www.mpfr.org/mpfr-current/mpfr.html for details. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | / extern "C" { [INFO] [stdout] 46 | | // Initialization functions. [INFO] [stdout] 47 | | pub fn mpfr_init2(x: MpfrPtr, prec: MpfrPrec); [INFO] [stdout] 48 | | pub fn mpfr_clear(x: MpfrPtr); [INFO] [stdout] ... | [INFO] [stdout] 90 | | pub fn mpfr_max(rop: MpfrPtr, op1: MpfrConstPtr, op2: MpfrConstPtr, rnd: MpfrRnd) -> c_int; [INFO] [stdout] 91 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mpfr/impl_basic.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mpfr/impl_basic.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let mut mpfr = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/interval/impl_basic.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | let s = s.trim_left_matches('<').trim_left(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 128 - let s = s.trim_left_matches('<').trim_left(); [INFO] [stdout] 128 + let s = s.trim_start_matches('<').trim_left(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/interval/impl_basic.rs:128:46 [INFO] [stdout] | [INFO] [stdout] 128 | let s = s.trim_left_matches('<').trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 128 - let s = s.trim_left_matches('<').trim_left(); [INFO] [stdout] 128 + let s = s.trim_left_matches('<').trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/interval/impl_basic.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | let s = s.trim_right_matches('>').trim_right(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 130 - let s = s.trim_right_matches('>').trim_right(); [INFO] [stdout] 130 + let s = s.trim_end_matches('>').trim_right(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling honestintervals v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/interval/impl_basic.rs:130:47 [INFO] [stdout] | [INFO] [stdout] 130 | let s = s.trim_right_matches('>').trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 130 - let s = s.trim_right_matches('>').trim_right(); [INFO] [stdout] 130 + let s = s.trim_right_matches('>').trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/intervalset/impl_basic.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | let s = s.trim_left_matches('{').trim_left(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 116 - let s = s.trim_left_matches('{').trim_left(); [INFO] [stdout] 116 + let s = s.trim_start_matches('{').trim_left(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/intervalset/impl_basic.rs:116:46 [INFO] [stdout] | [INFO] [stdout] 116 | let s = s.trim_left_matches('{').trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 116 - let s = s.trim_left_matches('{').trim_left(); [INFO] [stdout] 116 + let s = s.trim_left_matches('{').trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/intervalset/impl_basic.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | let s = s.trim_right_matches('}').trim_right(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 118 - let s = s.trim_right_matches('}').trim_right(); [INFO] [stdout] 118 + let s = s.trim_end_matches('}').trim_right(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/intervalset/impl_basic.rs:118:47 [INFO] [stdout] | [INFO] [stdout] 118 | let s = s.trim_right_matches('}').trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 118 - let s = s.trim_right_matches('}').trim_right(); [INFO] [stdout] 118 + let s = s.trim_right_matches('}').trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `MpfrStruct` does not permit being left uninitialized [INFO] [stdout] --> src/mpfr/impl_basic.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let mut mpfr = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/mpfr/capi.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub _mpfr_prec: MpfrPrec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fp.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | fn from_lo(T, precision: usize) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fp.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_hi(T, precision: usize) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fp.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | fn from_str_lo(s: &str, usize) -> Result { Self::from_str(s) } [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fp.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | fn from_str_hi(s: &str, usize) -> Result { Self::from_str(s) } [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/mpfr/capi.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | /// External calls to MPFR library. See http://www.mpfr.org/mpfr-current/mpfr.html for details. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | / extern "C" { [INFO] [stdout] 46 | | // Initialization functions. [INFO] [stdout] 47 | | pub fn mpfr_init2(x: MpfrPtr, prec: MpfrPrec); [INFO] [stdout] 48 | | pub fn mpfr_clear(x: MpfrPtr); [INFO] [stdout] ... | [INFO] [stdout] 90 | | pub fn mpfr_max(rop: MpfrPtr, op1: MpfrConstPtr, op2: MpfrConstPtr, rnd: MpfrRnd) -> c_int; [INFO] [stdout] 91 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `iv` [INFO] [stdout] --> src/intervalset/tests.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | macro_rules! iv { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mpfr/impl_basic.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mpfr/impl_basic.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let mut mpfr = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/interval/impl_basic.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | let s = s.trim_left_matches('<').trim_left(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 128 - let s = s.trim_left_matches('<').trim_left(); [INFO] [stdout] 128 + let s = s.trim_start_matches('<').trim_left(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/interval/impl_basic.rs:128:46 [INFO] [stdout] | [INFO] [stdout] 128 | let s = s.trim_left_matches('<').trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 128 - let s = s.trim_left_matches('<').trim_left(); [INFO] [stdout] 128 + let s = s.trim_left_matches('<').trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/interval/impl_basic.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | let s = s.trim_right_matches('>').trim_right(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 130 - let s = s.trim_right_matches('>').trim_right(); [INFO] [stdout] 130 + let s = s.trim_end_matches('>').trim_right(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/interval/impl_basic.rs:130:47 [INFO] [stdout] | [INFO] [stdout] 130 | let s = s.trim_right_matches('>').trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 130 - let s = s.trim_right_matches('>').trim_right(); [INFO] [stdout] 130 + let s = s.trim_right_matches('>').trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/intervalset/impl_basic.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | let s = s.trim_left_matches('{').trim_left(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 116 - let s = s.trim_left_matches('{').trim_left(); [INFO] [stdout] 116 + let s = s.trim_start_matches('{').trim_left(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/intervalset/impl_basic.rs:116:46 [INFO] [stdout] | [INFO] [stdout] 116 | let s = s.trim_left_matches('{').trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 116 - let s = s.trim_left_matches('{').trim_left(); [INFO] [stdout] 116 + let s = s.trim_left_matches('{').trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/intervalset/impl_basic.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | let s = s.trim_right_matches('}').trim_right(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 118 - let s = s.trim_right_matches('}').trim_right(); [INFO] [stdout] 118 + let s = s.trim_end_matches('}').trim_right(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/intervalset/impl_basic.rs:118:47 [INFO] [stdout] | [INFO] [stdout] 118 | let s = s.trim_right_matches('}').trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 118 - let s = s.trim_right_matches('}').trim_right(); [INFO] [stdout] 118 + let s = s.trim_right_matches('}').trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `MpfrStruct` does not permit being left uninitialized [INFO] [stdout] --> src/mpfr/impl_basic.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let mut mpfr = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/mpfr/capi.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub _mpfr_prec: MpfrPrec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/interval/tests.rs:562:33 [INFO] [stdout] | [INFO] [stdout] 562 | let cz = String::from(cz.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/interval/tests_f64.rs:403:33 [INFO] [stdout] | [INFO] [stdout] 403 | let cz = String::from(cz.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/intervalset/tests.rs:565:33 [INFO] [stdout] | [INFO] [stdout] 565 | let cz = String::from(cz.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcSj2B6c/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lmpfr" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibc-8e354d7ef70926da.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcSj2B6c/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/honestintervals-454aac3af323bca9" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lmpfr: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `honestintervals` (lib test) due to 1 previous error; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "12ee9b0654c9ad225c8721bfc588262693194432983b20476281e3bf7b7a142e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ee9b0654c9ad225c8721bfc588262693194432983b20476281e3bf7b7a142e", kill_on_drop: false }` [INFO] [stdout] 12ee9b0654c9ad225c8721bfc588262693194432983b20476281e3bf7b7a142e