[INFO] fetching crate honestintervals 0.2.0... [INFO] testing honestintervals-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate honestintervals 0.2.0 into /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate honestintervals 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7d5c687bcc274a5e37129dfe9feefe275d8ba054e3b8db803cd425698d13a23 [INFO] running `Command { std: "docker" "start" "-a" "c7d5c687bcc274a5e37129dfe9feefe275d8ba054e3b8db803cd425698d13a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7d5c687bcc274a5e37129dfe9feefe275d8ba054e3b8db803cd425698d13a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7d5c687bcc274a5e37129dfe9feefe275d8ba054e3b8db803cd425698d13a23", kill_on_drop: false }` [INFO] [stdout] c7d5c687bcc274a5e37129dfe9feefe275d8ba054e3b8db803cd425698d13a23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1270e93ec8e44bdee80acadc7e0ed909719ddb5c46eec1ac01bcd9f3d4de97f3 [INFO] running `Command { std: "docker" "start" "-a" "1270e93ec8e44bdee80acadc7e0ed909719ddb5c46eec1ac01bcd9f3d4de97f3", 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)]` (part of `#[warn(rust_2018_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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.33s [INFO] running `Command { std: "docker" "inspect" "1270e93ec8e44bdee80acadc7e0ed909719ddb5c46eec1ac01bcd9f3d4de97f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1270e93ec8e44bdee80acadc7e0ed909719ddb5c46eec1ac01bcd9f3d4de97f3", kill_on_drop: false }` [INFO] [stdout] 1270e93ec8e44bdee80acadc7e0ed909719ddb5c46eec1ac01bcd9f3d4de97f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e23fa55a450fc4e5482fb24c936ed2181027c25e72691f8c64778689befdf6f [INFO] running `Command { std: "docker" "start" "-a" "0e23fa55a450fc4e5482fb24c936ed2181027c25e72691f8c64778689befdf6f", 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)]` (part of `#[warn(rust_2018_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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] 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)]` (part of `#[warn(rust_2018_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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" "/tmp/rustc5yXEtA/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lmpfr" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/liblibc-a58beeab2e1413cc.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc5yXEtA/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/honestintervals-0fb416c4c99fa535" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lmpfr [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" "0e23fa55a450fc4e5482fb24c936ed2181027c25e72691f8c64778689befdf6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e23fa55a450fc4e5482fb24c936ed2181027c25e72691f8c64778689befdf6f", kill_on_drop: false }` [INFO] [stdout] 0e23fa55a450fc4e5482fb24c936ed2181027c25e72691f8c64778689befdf6f