[INFO] updating cached repository https://github.com/koivunej/readpcap [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] aafc6d9e031a62cbf7ee9ef297d655e65c1d6e74 [INFO] checking koivunej/readpcap against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoivunej%2Freadpcap" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/koivunej/readpcap 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/koivunej/readpcap [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/koivunej/readpcap [INFO] tweaked toml for git repo https://github.com/koivunej/readpcap written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/koivunej/readpcap 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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 457b925578320b26248260e37521ed2ef53cd10092a9438ba9646cfecd6fc47f [INFO] running `"docker" "start" "-a" "457b925578320b26248260e37521ed2ef53cd10092a9438ba9646cfecd6fc47f"` [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Compiling gcc v0.3.49 [INFO] [stderr] Checking log v0.3.7 [INFO] [stderr] Checking iovec v0.1.0 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking net2 v0.2.29 [INFO] [stderr] Checking bytes v0.4.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking mio v0.6.8 [INFO] [stderr] Checking tokio-io v0.1.1 [INFO] [stderr] Checking uuid v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.11 [INFO] [stderr] Checking readpcap v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-core v0.1.7 [INFO] [stderr] warning: unnecessary parentheses around method argument [INFO] [stderr] --> src/tcp/connection.rs:293:40 [INFO] [stderr] | [INFO] [stderr] 293 | self.format_ascii(fmt, (count - group_len * groups_per_line), count)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around method argument [INFO] [stderr] --> src/tcp/connection.rs:322:36 [INFO] [stderr] | [INFO] [stderr] 322 | self.format_ascii(fmt, (count - (count % bytes_per_line)), count)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `usize` is invalid [INFO] [stderr] --> src/tcp/connection.rs:278:26 [INFO] [stderr] | [INFO] [stderr] 278 | let prefix_len = (self.bytes.len() as f64).log10().ceil() as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `readpcap`. [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" "457b925578320b26248260e37521ed2ef53cd10092a9438ba9646cfecd6fc47f"` [INFO] running `"docker" "rm" "-f" "457b925578320b26248260e37521ed2ef53cd10092a9438ba9646cfecd6fc47f"` [INFO] [stdout] 457b925578320b26248260e37521ed2ef53cd10092a9438ba9646cfecd6fc47f