[INFO] cloning repository https://github.com/photino/num-traits [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/photino/num-traits" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphotino%2Fnum-traits"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphotino%2Fnum-traits'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0f0b9f430de41fe678bff74a62919df9594cf329 [INFO] checking photino/num-traits against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphotino%2Fnum-traits" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/photino/num-traits on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/photino/num-traits [INFO] finished tweaking git repo https://github.com/photino/num-traits [INFO] tweaked toml for git repo https://github.com/photino/num-traits written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/photino/num-traits already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1bb90cf5a5f41f173de7d0297b261836683b6591f0332f97a2d843b6224eb573 [INFO] running `"docker" "start" "-a" "1bb90cf5a5f41f173de7d0297b261836683b6591f0332f97a2d843b6224eb573"` [INFO] [stderr] Checking num-traits v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0606]: casting `f32` as `i8` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 363 | impl_cast_float_to_int!(f32, i8); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i16` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 364 | impl_cast_float_to_int!(f32, i16); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 365 | impl_cast_float_to_int!(f32, i32); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i64` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 366 | impl_cast_float_to_int!(f32, i64); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `isize` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 367 | impl_cast_float_to_int!(f32, isize); [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i8` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 376 | impl_cast_float_to_int!(f64, i8); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i16` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 377 | impl_cast_float_to_int!(f64, i16); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 378 | impl_cast_float_to_int!(f64, i32); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 379 | impl_cast_float_to_int!(f64, i64); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `isize` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 380 | impl_cast_float_to_int!(f64, isize); [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u8` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 368 | impl_cast_float_to_uint!(f32, u8); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u16` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 369 | impl_cast_float_to_uint!(f32, u16); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u32` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 370 | impl_cast_float_to_uint!(f32, u32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u64` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 371 | impl_cast_float_to_uint!(f32, u64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `usize` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 372 | impl_cast_float_to_uint!(f32, usize); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 381 | impl_cast_float_to_uint!(f64, u8); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u16` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 382 | impl_cast_float_to_uint!(f64, u16); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u32` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 383 | impl_cast_float_to_uint!(f64, u32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 384 | impl_cast_float_to_uint!(f64, u64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `usize` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 385 | impl_cast_float_to_uint!(f64, usize); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i8` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 363 | impl_cast_float_to_int!(f32, i8); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i16` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 364 | impl_cast_float_to_int!(f32, i16); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 365 | impl_cast_float_to_int!(f32, i32); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i64` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 366 | impl_cast_float_to_int!(f32, i64); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `isize` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 367 | impl_cast_float_to_int!(f32, isize); [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i8` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 376 | impl_cast_float_to_int!(f64, i8); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i16` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 377 | impl_cast_float_to_int!(f64, i16); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 378 | impl_cast_float_to_int!(f64, i32); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 379 | impl_cast_float_to_int!(f64, i64); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `isize` is invalid [INFO] [stderr] --> src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 380 | impl_cast_float_to_int!(f64, isize); [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u8` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 368 | impl_cast_float_to_uint!(f32, u8); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u16` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 369 | impl_cast_float_to_uint!(f32, u16); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u32` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 370 | impl_cast_float_to_uint!(f32, u32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u64` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 371 | impl_cast_float_to_uint!(f32, u64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `usize` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 372 | impl_cast_float_to_uint!(f32, usize); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 381 | impl_cast_float_to_uint!(f64, u8); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u16` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 382 | impl_cast_float_to_uint!(f64, u16); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u32` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 383 | impl_cast_float_to_uint!(f64, u32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 384 | impl_cast_float_to_uint!(f64, u64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `usize` is invalid [INFO] [stderr] --> src/lib.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | Some(x as $T) [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 385 | impl_cast_float_to_uint!(f64, usize); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::f32::::abs_sub': you probably meant `(self - other).abs()`: this operation is `(self - other).max(0.0)` except that `abs_sub` also propagates NaNs (also known as `fdimf` in C). If you truly need the positive difference, consider using that expression or the C function `fdimf`, depending on how you wish to handle NaN (please consider filing an issue describing your use-case too). [INFO] [stderr] --> src/float.rs:318:17 [INFO] [stderr] | [INFO] [stderr] 318 | <$t>::abs_sub(self, other) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 396 | impl_float!(f32); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::f64::::abs_sub': you probably meant `(self - other).abs()`: this operation is `(self - other).max(0.0)` except that `abs_sub` also propagates NaNs (also known as `fdim` in C). If you truly need the positive difference, consider using that expression or the C function `fdim`, depending on how you wish to handle NaN (please consider filing an issue describing your use-case too). [INFO] [stderr] --> src/float.rs:318:17 [INFO] [stderr] | [INFO] [stderr] 318 | <$t>::abs_sub(self, other) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 397 | impl_float!(f64); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `num-traits`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: use of deprecated item 'std::f32::::abs_sub': you probably meant `(self - other).abs()`: this operation is `(self - other).max(0.0)` except that `abs_sub` also propagates NaNs (also known as `fdimf` in C). If you truly need the positive difference, consider using that expression or the C function `fdimf`, depending on how you wish to handle NaN (please consider filing an issue describing your use-case too). [INFO] [stderr] --> src/float.rs:318:17 [INFO] [stderr] | [INFO] [stderr] 318 | <$t>::abs_sub(self, other) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 396 | impl_float!(f32); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::f64::::abs_sub': you probably meant `(self - other).abs()`: this operation is `(self - other).max(0.0)` except that `abs_sub` also propagates NaNs (also known as `fdim` in C). If you truly need the positive difference, consider using that expression or the C function `fdim`, depending on how you wish to handle NaN (please consider filing an issue describing your use-case too). [INFO] [stderr] --> src/float.rs:318:17 [INFO] [stderr] | [INFO] [stderr] 318 | <$t>::abs_sub(self, other) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 397 | impl_float!(f64); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `num-traits`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1bb90cf5a5f41f173de7d0297b261836683b6591f0332f97a2d843b6224eb573"` [INFO] running `"docker" "rm" "-f" "1bb90cf5a5f41f173de7d0297b261836683b6591f0332f97a2d843b6224eb573"` [INFO] [stdout] 1bb90cf5a5f41f173de7d0297b261836683b6591f0332f97a2d843b6224eb573