[INFO] crate hxgm30-client 0.3.0-alpha.01 is already in cache [INFO] checking hxgm30-client-0.3.0-alpha.01 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate hxgm30-client 0.3.0-alpha.01 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate hxgm30-client 0.3.0-alpha.01 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate hxgm30-client 0.3.0-alpha.01 [INFO] finished tweaking crates.io crate hxgm30-client 0.3.0-alpha.01 [INFO] tweaked toml for crates.io crate hxgm30-client 0.3.0-alpha.01 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate hxgm30-client 0.3.0-alpha.01 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] e0ecd72dc14ef416c536f7ed7195d95fb1d607468fdf893403d6ff7d95e4dd20 [INFO] running `"docker" "start" "-a" "e0ecd72dc14ef416c536f7ed7195d95fb1d607468fdf893403d6ff7d95e4dd20"` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling xml-rs v0.8.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Compiling wide v0.4.3 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking tuple_utils v0.3.0 [INFO] [stderr] Checking shrev v1.1.1 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling hashbrown v0.7.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] error[E0606]: casting `f32` as `isize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:291:56 [INFO] [stderr] | [INFO] [stderr] 291 | fn to_isize(&self) -> Option { Some(*self as isize) } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 320 | impl_to_primitive_float! { f32 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:291:56 [INFO] [stderr] | [INFO] [stderr] 291 | fn to_isize(&self) -> Option { Some(*self as isize) } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 321 | impl_to_primitive_float! { f64 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:293:50 [INFO] [stderr] | [INFO] [stderr] 293 | fn to_i8(&self) -> Option { Some(*self as i8) } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 320 | impl_to_primitive_float! { f32 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:293:50 [INFO] [stderr] | [INFO] [stderr] 293 | fn to_i8(&self) -> Option { Some(*self as i8) } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 321 | impl_to_primitive_float! { f64 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:295:52 [INFO] [stderr] | [INFO] [stderr] 295 | fn to_i16(&self) -> Option { Some(*self as i16) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 320 | impl_to_primitive_float! { f32 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:295:52 [INFO] [stderr] | [INFO] [stderr] 295 | fn to_i16(&self) -> Option { Some(*self as i16) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 321 | impl_to_primitive_float! { f64 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:297:52 [INFO] [stderr] | [INFO] [stderr] 297 | fn to_i32(&self) -> Option { Some(*self as i32) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 320 | impl_to_primitive_float! { f32 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:297:52 [INFO] [stderr] | [INFO] [stderr] 297 | fn to_i32(&self) -> Option { Some(*self as i32) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 321 | impl_to_primitive_float! { f64 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:299:52 [INFO] [stderr] | [INFO] [stderr] 299 | fn to_i64(&self) -> Option { Some(*self as i64) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 320 | impl_to_primitive_float! { f32 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:299:52 [INFO] [stderr] | [INFO] [stderr] 299 | fn to_i64(&self) -> Option { Some(*self as i64) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 321 | impl_to_primitive_float! { f64 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:302:56 [INFO] [stderr] | [INFO] [stderr] 302 | fn to_usize(&self) -> Option { Some(*self as usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 320 | impl_to_primitive_float! { f32 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:302:56 [INFO] [stderr] | [INFO] [stderr] 302 | fn to_usize(&self) -> Option { Some(*self as usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 321 | impl_to_primitive_float! { f64 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:304:50 [INFO] [stderr] | [INFO] [stderr] 304 | fn to_u8(&self) -> Option { Some(*self as u8) } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 320 | impl_to_primitive_float! { f32 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:304:50 [INFO] [stderr] | [INFO] [stderr] 304 | fn to_u8(&self) -> Option { Some(*self as u8) } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 321 | impl_to_primitive_float! { f64 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:306:52 [INFO] [stderr] | [INFO] [stderr] 306 | fn to_u16(&self) -> Option { Some(*self as u16) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 320 | impl_to_primitive_float! { f32 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:306:52 [INFO] [stderr] | [INFO] [stderr] 306 | fn to_u16(&self) -> Option { Some(*self as u16) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 321 | impl_to_primitive_float! { f64 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:308:52 [INFO] [stderr] | [INFO] [stderr] 308 | fn to_u32(&self) -> Option { Some(*self as u32) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 320 | impl_to_primitive_float! { f32 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:308:52 [INFO] [stderr] | [INFO] [stderr] 308 | fn to_u32(&self) -> Option { Some(*self as u32) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 321 | impl_to_primitive_float! { f64 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:310:52 [INFO] [stderr] | [INFO] [stderr] 310 | fn to_u64(&self) -> Option { Some(*self as u64) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 320 | impl_to_primitive_float! { f32 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:310:52 [INFO] [stderr] | [INFO] [stderr] 310 | fn to_u64(&self) -> Option { Some(*self as u64) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 321 | impl_to_primitive_float! { f64 } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-0.8.23/src/de/from_primitive.rs:375:33 [INFO] [stderr] | [INFO] [stderr] 375 | FromPrimitive::from_i64(n as i64) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 21 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `serde`. [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] error: build failed [INFO] running `"docker" "inspect" "e0ecd72dc14ef416c536f7ed7195d95fb1d607468fdf893403d6ff7d95e4dd20"` [INFO] running `"docker" "rm" "-f" "e0ecd72dc14ef416c536f7ed7195d95fb1d607468fdf893403d6ff7d95e4dd20"` [INFO] [stdout] e0ecd72dc14ef416c536f7ed7195d95fb1d607468fdf893403d6ff7d95e4dd20