[INFO] fetching crate number_traits 0.2.4... [INFO] building number_traits-0.2.4 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate number_traits 0.2.4 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate number_traits 0.2.4 [INFO] finished tweaking crates.io crate number_traits 0.2.4 [INFO] tweaked toml for crates.io crate number_traits 0.2.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate number_traits 0.2.4 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22717ade147217d60bf667f6026656f92177b31baa139043f95211a8169524e7 [INFO] running `Command { std: "docker" "start" "-a" "22717ade147217d60bf667f6026656f92177b31baa139043f95211a8169524e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22717ade147217d60bf667f6026656f92177b31baa139043f95211a8169524e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22717ade147217d60bf667f6026656f92177b31baa139043f95211a8169524e7", kill_on_drop: false }` [INFO] [stdout] 22717ade147217d60bf667f6026656f92177b31baa139043f95211a8169524e7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e5084bd94336158f0b1e86a79ce2c1c32f13afdf7a4051848022e68c454d2b0 [INFO] running `Command { std: "docker" "start" "-a" "8e5084bd94336158f0b1e86a79ce2c1c32f13afdf7a4051848022e68c454d2b0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling number_traits v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(intrinsics)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/signed.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | extern { fn $fdim(a: $T, b: $T) -> $T; } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 108 | / trait_float!( [INFO] [stdout] 109 | | f32, [INFO] [stdout] 110 | | f32::NAN, [INFO] [stdout] 111 | | f32::INFINITY, [INFO] [stdout] ... | [INFO] [stdout] 115 | | fdimf [INFO] [stdout] 116 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `trait_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/signed.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | extern { fn $fdim(a: $T, b: $T) -> $T; } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 117 | / trait_float!( [INFO] [stdout] 118 | | f64, [INFO] [stdout] 119 | | f64::NAN, [INFO] [stdout] 120 | | f64::INFINITY, [INFO] [stdout] ... | [INFO] [stdout] 124 | | fdim [INFO] [stdout] 125 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0703]: invalid ABI: found `rust-intrinsic` [INFO] [stdout] --> src/trig_f32.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | extern "rust-intrinsic" { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ invalid ABI [INFO] [stdout] | [INFO] [stdout] = note: invoke `rustc --print=calling-conventions` for a full list of supported calling conventions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0703]: invalid ABI: found `rust-intrinsic` [INFO] [stdout] --> src/trig_f64.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | extern "rust-intrinsic" { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ invalid ABI [INFO] [stdout] | [INFO] [stdout] = note: invoke `rustc --print=calling-conventions` for a full list of supported calling conventions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `i128_type` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(u128_type, i128_type, u128, i128)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `i128` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(u128_type, i128_type, u128, i128)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `u128_type` [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(u128_type, i128_type, u128, i128)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `u128` [INFO] [stdout] --> src/lib.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(u128_type, i128_type, u128, i128)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/approx_eq.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to functions, inherent methods, provided trait methods, trait methods in impl blocks, and closures [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/approx_eq.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to functions, inherent methods, provided trait methods, trait methods in impl blocks, and closures [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[link_name]` attribute cannot be used on foreign modules [INFO] [stdout] --> src/float.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[link_name]` can be applied to foreign functions and foreign statics [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[link_name]` attribute cannot be used on foreign modules [INFO] [stdout] --> src/pow.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[link_name]` can be applied to foreign functions and foreign statics [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[link_name]` attribute cannot be used on foreign modules [INFO] [stdout] --> src/trig_f32.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[link_name]` can be applied to foreign functions and foreign statics [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[link_name]` attribute cannot be used on foreign modules [INFO] [stdout] --> src/trig_f64.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[link_name]` can be applied to foreign functions and foreign statics [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/float.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { intrinsics::truncf32(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/float.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { intrinsics::powif32(*self, n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/float.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | unsafe { intrinsics::powf32(*self, *n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/float.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | unsafe { intrinsics::truncf64(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/float.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | unsafe { intrinsics::powif64(*self as f64, n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/float.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe { intrinsics::powf64(*self, *n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/pow.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | unsafe { intrinsics::expf32(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/pow.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | unsafe { intrinsics::exp2f32(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/pow.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | unsafe { intrinsics::logf32(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/pow.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | unsafe { intrinsics::log2f32(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/pow.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | unsafe { intrinsics::log10f32(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/pow.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe { intrinsics::powf32(*self, *exp) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/pow.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | unsafe { intrinsics::expf64(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/pow.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | unsafe { intrinsics::exp2f64(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/pow.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | unsafe { intrinsics::logf64(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/pow.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | unsafe { intrinsics::log2f64(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/pow.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe { intrinsics::log10f64(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/pow.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | unsafe { intrinsics::powf64(*self, *exp) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/round.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { floorf32(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/round.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { ceilf32(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/round.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe { roundf32(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/round.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | unsafe { floorf64(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/round.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { ceilf64(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/round.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe { roundf64(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/signed.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe { $fabs(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 108 | / trait_float!( [INFO] [stdout] 109 | | f32, [INFO] [stdout] 110 | | f32::NAN, [INFO] [stdout] 111 | | f32::INFINITY, [INFO] [stdout] ... | [INFO] [stdout] 115 | | fdimf [INFO] [stdout] 116 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/signed.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | unsafe { $fcopysign(1.0, *self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 108 | / trait_float!( [INFO] [stdout] 109 | | f32, [INFO] [stdout] 110 | | f32::NAN, [INFO] [stdout] 111 | | f32::INFINITY, [INFO] [stdout] ... | [INFO] [stdout] 115 | | fdimf [INFO] [stdout] 116 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/signed.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe { $fabs(*self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 117 | / trait_float!( [INFO] [stdout] 118 | | f64, [INFO] [stdout] 119 | | f64::NAN, [INFO] [stdout] 120 | | f64::INFINITY, [INFO] [stdout] ... | [INFO] [stdout] 124 | | fdim [INFO] [stdout] 125 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/signed.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | unsafe { $fcopysign(1.0, *self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 117 | / trait_float!( [INFO] [stdout] 118 | | f64, [INFO] [stdout] 119 | | f64::NAN, [INFO] [stdout] 120 | | f64::INFINITY, [INFO] [stdout] ... | [INFO] [stdout] 124 | | fdim [INFO] [stdout] 125 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sqrt.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 43 | trait_sqrt!(usize, f64, cbrt, sqrtf64); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_sqrt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sqrt.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 44 | trait_sqrt!(u8, f32, cbrtf, sqrtf32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_sqrt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sqrt.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 45 | trait_sqrt!(u16, f32, cbrtf, sqrtf32); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_sqrt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sqrt.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 46 | trait_sqrt!(u32, f64, cbrt, sqrtf64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_sqrt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sqrt.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 47 | trait_sqrt!(u64, f64, cbrt, sqrtf64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_sqrt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sqrt.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 48 | trait_sqrt!(u128, f64, cbrt, sqrtf64); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_sqrt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sqrt.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 50 | trait_sqrt!(isize, f64, cbrt, sqrtf64); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_sqrt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sqrt.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 51 | trait_sqrt!(i8, f32, cbrtf, sqrtf32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_sqrt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sqrt.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 52 | trait_sqrt!(i16, f32, cbrtf, sqrtf32); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_sqrt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sqrt.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 53 | trait_sqrt!(i32, f64, cbrt, sqrtf64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_sqrt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sqrt.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 54 | trait_sqrt!(i64, f64, cbrt, sqrtf64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_sqrt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sqrt.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 55 | trait_sqrt!(i128, f64, cbrt, sqrtf64); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_sqrt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sqrt.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 57 | trait_sqrt_no_cast!(f32, cbrtf, sqrtf32); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_sqrt_no_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sqrt.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 58 | trait_sqrt_no_cast!(f64, cbrt, sqrtf64); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `trait_sqrt_no_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0635, E0703. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `number_traits` (lib) due to 4 previous errors; 55 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8e5084bd94336158f0b1e86a79ce2c1c32f13afdf7a4051848022e68c454d2b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e5084bd94336158f0b1e86a79ce2c1c32f13afdf7a4051848022e68c454d2b0", kill_on_drop: false }` [INFO] [stdout] 8e5084bd94336158f0b1e86a79ce2c1c32f13afdf7a4051848022e68c454d2b0