[INFO] cloning repository https://github.com/mikolajb/rustygitprompt [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikolajb/rustygitprompt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikolajb%2Frustygitprompt"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikolajb%2Frustygitprompt'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] bdc2c266f9beb9a68a5fc81c28df1f3e1ee15c9d [INFO] checking mikolajb/rustygitprompt against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikolajb%2Frustygitprompt" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikolajb/rustygitprompt 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/mikolajb/rustygitprompt [INFO] finished tweaking git repo https://github.com/mikolajb/rustygitprompt [INFO] tweaked toml for git repo https://github.com/mikolajb/rustygitprompt written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/mikolajb/rustygitprompt 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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stdout] c792f87b43dfb6fed8f5cf90705b86c3f54c1cbb588de27d86bf066a2e02a488 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "c792f87b43dfb6fed8f5cf90705b86c3f54c1cbb588de27d86bf066a2e02a488"` [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling jobserver v0.1.19 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libssh2-sys v0.2.14 [INFO] [stderr] Compiling libgit2-sys v0.10.0 [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" "c792f87b43dfb6fed8f5cf90705b86c3f54c1cbb588de27d86bf066a2e02a488"` [INFO] running `"docker" "rm" "-f" "c792f87b43dfb6fed8f5cf90705b86c3f54c1cbb588de27d86bf066a2e02a488"` [INFO] [stdout] c792f87b43dfb6fed8f5cf90705b86c3f54c1cbb588de27d86bf066a2e02a488