[INFO] crate raftlog_protobuf 0.3.0 is already in cache [INFO] checking raftlog_protobuf-0.3.0 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate raftlog_protobuf 0.3.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate raftlog_protobuf 0.3.0 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate raftlog_protobuf 0.3.0 [INFO] finished tweaking crates.io crate raftlog_protobuf 0.3.0 [INFO] tweaked toml for crates.io crate raftlog_protobuf 0.3.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 2fc55bfb252c5d57a86398f4aa36c1c4d0c4fda645ec935a633a2bc3c75cd105 [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" "2fc55bfb252c5d57a86398f4aa36c1c4d0c4fda645ec935a633a2bc3c75cd105"` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking nom v2.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking atomic_immut v0.1.4 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling procinfo v0.4.2 [INFO] [stderr] Compiling trackable_derive v0.1.3 [INFO] [stderr] Checking trackable v0.2.23 [INFO] [stderr] Checking bytecodec v0.4.13 [INFO] [stderr] Checking prometrics v0.1.13 [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prometrics-0.1.13/src/metrics/counter.rs:266:21 [INFO] [stderr] | [INFO] [stderr] 266 | let floor = count.floor() 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/prometrics-0.1.13/src/metrics/counter.rs:267:20 [INFO] [stderr] | [INFO] [stderr] 267 | let ceil = count.ceil() as u64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `usize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prometrics-0.1.13/src/metrics/summary.rs:93:45 [INFO] [stderr] | [INFO] [stderr] 93 | let index = cmp::min(count, (quantile.as_f64() * count as f64).floor() as usize); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `usize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prometrics-0.1.13/src/aggregated_metrics.rs:306:45 [INFO] [stderr] | [INFO] [stderr] 306 | let index = cmp::min(count, (quantile.as_f64() * count as f64).floor() as usize); [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 `prometrics`. [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" "2fc55bfb252c5d57a86398f4aa36c1c4d0c4fda645ec935a633a2bc3c75cd105"` [INFO] running `"docker" "rm" "-f" "2fc55bfb252c5d57a86398f4aa36c1c4d0c4fda645ec935a633a2bc3c75cd105"` [INFO] [stdout] 2fc55bfb252c5d57a86398f4aa36c1c4d0c4fda645ec935a633a2bc3c75cd105