[INFO] updating cached repository https://github.com/jlprince21/file_scanner [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 53f0a4cf172c828a74757a3d7d8815c07c6bc4a1 [INFO] checking jlprince21/file_scanner against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlprince21%2Ffile_scanner" "/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/jlprince21/file_scanner 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/jlprince21/file_scanner [INFO] finished tweaking git repo https://github.com/jlprince21/file_scanner [INFO] tweaked toml for git repo https://github.com/jlprince21/file_scanner written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/jlprince21/file_scanner 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] warning: the cargo feature `rename-dependency` is now stable and is no longer necessary to be listed in the manifest [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] 0a4ceba299a210387c77378305fbbc5e7747f42234b0ab7011d4ca1f6fb03553 [INFO] running `"docker" "start" "-a" "0a4ceba299a210387c77378305fbbc5e7747f42234b0ab7011d4ca1f6fb03553"` [INFO] [stderr] warning: the cargo feature `rename-dependency` is now stable and is no longer necessary to be listed in the manifest [INFO] [stderr] Compiling libc v0.2.53 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.28 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Checking regex-syntax v0.6.6 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [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] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking walkdir v2.2.9 [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" "0a4ceba299a210387c77378305fbbc5e7747f42234b0ab7011d4ca1f6fb03553"` [INFO] running `"docker" "rm" "-f" "0a4ceba299a210387c77378305fbbc5e7747f42234b0ab7011d4ca1f6fb03553"` [INFO] [stdout] 0a4ceba299a210387c77378305fbbc5e7747f42234b0ab7011d4ca1f6fb03553