[INFO] crate toshi 0.1.0 is already in cache [INFO] checking toshi-0.1.0 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate toshi 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate toshi 0.1.0 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate toshi 0.1.0 [INFO] finished tweaking crates.io crate toshi 0.1.0 [INFO] tweaked toml for crates.io crate toshi 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 18c8a581cfee4244de0b6c31b46207fd159afc015c42878870e9a0a6974f4822 [INFO] running `"docker" "start" "-a" "18c8a581cfee4244de0b6c31b46207fd159afc015c42878870e9a0a6974f4822"` [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking try-lock v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Checking census v0.1.1 [INFO] [stderr] Checking downcast v0.9.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] error[E0034]: multiple applicable items in scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/downcast-0.9.2/src/lib.rs:120:38 [INFO] [stderr] | [INFO] [stderr] 120 | fn is_type(&self) -> bool { self.type_id() == TypeId::of::() } [INFO] [stderr] | ^^^^^^^ multiple `type_id` found [INFO] [stderr] | [INFO] [stderr] note: candidate #1 is defined in the trait `Any` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/downcast-0.9.2/src/lib.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | fn type_id(&self) -> TypeId { TypeId::of::() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: candidate #2 is defined in the trait `std::any::Any` [INFO] [stderr] help: disambiguate the associated function for candidate #1 [INFO] [stderr] | [INFO] [stderr] 120 | fn is_type(&self) -> bool { Any::type_id(&self) == TypeId::of::() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: disambiguate the associated function for candidate #2 [INFO] [stderr] | [INFO] [stderr] 120 | fn is_type(&self) -> bool { std::any::Any::type_id(&self) == TypeId::of::() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0034`. [INFO] [stderr] error: could not compile `downcast`. [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[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] running `"docker" "inspect" "18c8a581cfee4244de0b6c31b46207fd159afc015c42878870e9a0a6974f4822"` [INFO] running `"docker" "rm" "-f" "18c8a581cfee4244de0b6c31b46207fd159afc015c42878870e9a0a6974f4822"` [INFO] [stdout] 18c8a581cfee4244de0b6c31b46207fd159afc015c42878870e9a0a6974f4822