[INFO] fetching crate number_traits 0.2.4... [INFO] checking number_traits-0.2.4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate number_traits 0.2.4 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate number_traits 0.2.4 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7edc353f50feacca4a588f8a7900115a926c1f12834fc562d0d7d5cd36a6e488 [INFO] running `Command { std: "docker" "start" "-a" "7edc353f50feacca4a588f8a7900115a926c1f12834fc562d0d7d5cd36a6e488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7edc353f50feacca4a588f8a7900115a926c1f12834fc562d0d7d5cd36a6e488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7edc353f50feacca4a588f8a7900115a926c1f12834fc562d0d7d5cd36a6e488", kill_on_drop: false }` [INFO] [stdout] 7edc353f50feacca4a588f8a7900115a926c1f12834fc562d0d7d5cd36a6e488 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 163dec57f3cc1e9a49128462b7be43a8aeaa14f105e1b3c5ac8987a6d14c1b3d [INFO] running `Command { std: "docker" "start" "-a" "163dec57f3cc1e9a49128462b7be43a8aeaa14f105e1b3c5ac8987a6d14c1b3d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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: 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: `#[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] 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] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `number_traits` (lib) due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `number_traits` (lib test) due to 3 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "163dec57f3cc1e9a49128462b7be43a8aeaa14f105e1b3c5ac8987a6d14c1b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "163dec57f3cc1e9a49128462b7be43a8aeaa14f105e1b3c5ac8987a6d14c1b3d", kill_on_drop: false }` [INFO] [stdout] 163dec57f3cc1e9a49128462b7be43a8aeaa14f105e1b3c5ac8987a6d14c1b3d