[INFO] fetching crate number_traits 0.2.4... [INFO] checking number_traits-0.2.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate number_traits 0.2.4 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate number_traits 0.2.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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] Blocking waiting for file lock on package cache [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72c7fb7f48de38e7b8ea507b95c3ca2854e717d8b67e8367b3ac2759c38cb4bc [INFO] running `Command { std: "docker" "start" "-a" "72c7fb7f48de38e7b8ea507b95c3ca2854e717d8b67e8367b3ac2759c38cb4bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72c7fb7f48de38e7b8ea507b95c3ca2854e717d8b67e8367b3ac2759c38cb4bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72c7fb7f48de38e7b8ea507b95c3ca2854e717d8b67e8367b3ac2759c38cb4bc", kill_on_drop: false }` [INFO] [stdout] 72c7fb7f48de38e7b8ea507b95c3ca2854e717d8b67e8367b3ac2759c38cb4bc [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4f60472f2096a06224359663a7d4041e45c91f2eb2ea7fcc8f1466f94eedaa0 [INFO] running `Command { std: "docker" "start" "-a" "b4f60472f2096a06224359663a7d4041e45c91f2eb2ea7fcc8f1466f94eedaa0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking 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 `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]` is ignored on function prototypes [INFO] [stdout] --> src/approx_eq.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/approx_eq.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a foreign function or static [INFO] [stdout] --> src/float.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | / extern "C" { [INFO] [stdout] 10 | | pub fn hypot(x: c_double, y: c_double) -> c_double; [INFO] [stdout] 11 | | pub fn cbrtf(n: c_float) -> c_float; [INFO] [stdout] 12 | | pub fn cbrt(n: c_double) -> c_double; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_- not a foreign function or static [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: try `#[link(name = "m")]` instead [INFO] [stdout] --> src/float.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a foreign function or static [INFO] [stdout] --> src/pow.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | / extern "C" { [INFO] [stdout] 9 | | pub fn expm1f(n: c_float) -> c_float; [INFO] [stdout] 10 | | pub fn log1pf(n: c_float) -> c_float; [INFO] [stdout] ... | [INFO] [stdout] 13 | | pub fn log1p(n: c_double) -> c_double; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- not a foreign function or static [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: try `#[link(name = "m")]` instead [INFO] [stdout] --> src/pow.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a foreign function or static [INFO] [stdout] --> src/trig_f32.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | / extern "C" { [INFO] [stdout] 7 | | pub fn acosf(n: c_float) -> c_float; [INFO] [stdout] 8 | | pub fn asinf(n: c_float) -> c_float; [INFO] [stdout] 9 | | pub fn atan2f(a: c_float, b: c_float) -> c_float; [INFO] [stdout] ... | [INFO] [stdout] 15 | | pub fn log1pf(n: c_float) -> c_float; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- not a foreign function or static [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: try `#[link(name = "m")]` instead [INFO] [stdout] --> src/trig_f32.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a foreign function or static [INFO] [stdout] --> src/trig_f64.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | / extern "C" { [INFO] [stdout] 7 | | pub fn acos(n: c_double) -> c_double; [INFO] [stdout] 8 | | pub fn asin(n: c_double) -> c_double; [INFO] [stdout] 9 | | pub fn atan(n: c_double) -> c_double; [INFO] [stdout] ... | [INFO] [stdout] 15 | | pub fn log1p(n: c_double) -> c_double; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- not a foreign function or static [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: try `#[link(name = "m")]` instead [INFO] [stdout] --> src/trig_f64.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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]` is ignored on function prototypes [INFO] [stdout] --> src/approx_eq.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/approx_eq.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a foreign function or static [INFO] [stdout] --> src/float.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | / extern "C" { [INFO] [stdout] 10 | | pub fn hypot(x: c_double, y: c_double) -> c_double; [INFO] [stdout] 11 | | pub fn cbrtf(n: c_float) -> c_float; [INFO] [stdout] 12 | | pub fn cbrt(n: c_double) -> c_double; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_- not a foreign function or static [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: try `#[link(name = "m")]` instead [INFO] [stdout] --> src/float.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a foreign function or static [INFO] [stdout] --> src/pow.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | / extern "C" { [INFO] [stdout] 9 | | pub fn expm1f(n: c_float) -> c_float; [INFO] [stdout] 10 | | pub fn log1pf(n: c_float) -> c_float; [INFO] [stdout] ... | [INFO] [stdout] 13 | | pub fn log1p(n: c_double) -> c_double; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- not a foreign function or static [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: try `#[link(name = "m")]` instead [INFO] [stdout] --> src/pow.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a foreign function or static [INFO] [stdout] --> src/trig_f32.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | / extern "C" { [INFO] [stdout] 7 | | pub fn acosf(n: c_float) -> c_float; [INFO] [stdout] 8 | | pub fn asinf(n: c_float) -> c_float; [INFO] [stdout] 9 | | pub fn atan2f(a: c_float, b: c_float) -> c_float; [INFO] [stdout] ... | [INFO] [stdout] 15 | | pub fn log1pf(n: c_float) -> c_float; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- not a foreign function or static [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: try `#[link(name = "m")]` instead [INFO] [stdout] --> src/trig_f32.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a foreign function or static [INFO] [stdout] --> src/trig_f64.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | / extern "C" { [INFO] [stdout] 7 | | pub fn acos(n: c_double) -> c_double; [INFO] [stdout] 8 | | pub fn asin(n: c_double) -> c_double; [INFO] [stdout] 9 | | pub fn atan(n: c_double) -> c_double; [INFO] [stdout] ... | [INFO] [stdout] 15 | | pub fn log1p(n: c_double) -> c_double; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- not a foreign function or static [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: try `#[link(name = "m")]` instead [INFO] [stdout] --> src/trig_f64.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[link_name = "m"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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 test) due to 4 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b4f60472f2096a06224359663a7d4041e45c91f2eb2ea7fcc8f1466f94eedaa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4f60472f2096a06224359663a7d4041e45c91f2eb2ea7fcc8f1466f94eedaa0", kill_on_drop: false }` [INFO] [stdout] b4f60472f2096a06224359663a7d4041e45c91f2eb2ea7fcc8f1466f94eedaa0