[INFO] fetching crate xgboost 0.1.4... [INFO] checking xgboost-0.1.4 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate xgboost 0.1.4 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate xgboost 0.1.4 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate xgboost 0.1.4 [INFO] finished tweaking crates.io crate xgboost 0.1.4 [INFO] tweaked toml for crates.io crate xgboost 0.1.4 written to /workspace/builds/worker-7/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] Downloading crates ... [INFO] [stderr] Downloaded xgboost-sys v0.1.2 [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] c71c0cbb4a53137459cb26d87728540d608156fc439e9c9414ef4214a9cfef04 [INFO] running `"docker" "start" "-a" "c71c0cbb4a53137459cb26d87728540d608156fc439e9c9414ef4214a9cfef04"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling clang-sys v0.22.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling bindgen v0.36.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling derive_builder_core v0.2.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling derive_builder v0.5.1 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/distributions/bernoulli.rs:103:20 [INFO] [stderr] | [INFO] [stderr] 103 | p_int: (p * SCALE) as u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/distributions/bernoulli.rs:123:21 [INFO] [stderr] | [INFO] [stderr] 123 | let p_int = ((f64::from(numerator) / f64::from(denominator)) * SCALE) as u64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/distributions/binomial.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | x as i64 [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/distributions/poisson.rs:87:30 [INFO] [stderr] | [INFO] [stderr] 87 | int_result = result as u64; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `rand`. [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" "c71c0cbb4a53137459cb26d87728540d608156fc439e9c9414ef4214a9cfef04"` [INFO] running `"docker" "rm" "-f" "c71c0cbb4a53137459cb26d87728540d608156fc439e9c9414ef4214a9cfef04"` [INFO] [stdout] c71c0cbb4a53137459cb26d87728540d608156fc439e9c9414ef4214a9cfef04