[INFO] updating cached repository https://github.com/alekratz/file-lang [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] 1e07753049d39882ee6e9715867c02e3ff86bbdd [INFO] checking alekratz/file-lang against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekratz%2Ffile-lang" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alekratz/file-lang 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/alekratz/file-lang [INFO] finished tweaking git repo https://github.com/alekratz/file-lang [INFO] tweaked toml for git repo https://github.com/alekratz/file-lang written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/alekratz/file-lang already has a lockfile, it will not be regenerated [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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] cd9bc7b8a37416df3a6e07013af8992ae3daf445926cb7bfd803f1c4065f9fa0 [INFO] running `"docker" "start" "-a" "cd9bc7b8a37416df3a6e07013af8992ae3daf445926cb7bfd803f1c4065f9fa0"` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cc v1.0.42 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking backtrace v0.3.37 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling shrinkwraprs v0.2.1 [INFO] [stderr] Compiling structopt-derive v0.3.1 [INFO] [stderr] Checking structopt v0.3.1 [INFO] [stderr] Compiling snafu-derive v0.5.0 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Checking snafu v0.5.0 [INFO] [stderr] error[E0606]: casting `f32` as `usize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snafu-0.5.0/src/backtrace_shim.rs:28:21 [INFO] [stderr] | [INFO] [stderr] 28 | let width = (frames.len() as f32).log10().floor() as usize + 1; [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 E0606`. [INFO] [stderr] error: could not compile `snafu`. [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" "cd9bc7b8a37416df3a6e07013af8992ae3daf445926cb7bfd803f1c4065f9fa0"` [INFO] running `"docker" "rm" "-f" "cd9bc7b8a37416df3a6e07013af8992ae3daf445926cb7bfd803f1c4065f9fa0"` [INFO] [stdout] cd9bc7b8a37416df3a6e07013af8992ae3daf445926cb7bfd803f1c4065f9fa0