[INFO] updating cached repository https://github.com/mattrudder/rust-ffmpeg-stream [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] aff61c39fc8071b314db984a4c9e6b8448453d1d [INFO] checking mattrudder/rust-ffmpeg-stream against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattrudder%2Frust-ffmpeg-stream" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattrudder/rust-ffmpeg-stream 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/mattrudder/rust-ffmpeg-stream [INFO] finished tweaking git repo https://github.com/mattrudder/rust-ffmpeg-stream [INFO] tweaked toml for git repo https://github.com/mattrudder/rust-ffmpeg-stream written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/mattrudder/rust-ffmpeg-stream 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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] b022acf92833b6b90723da84a2eb810b9af5f343f6a396894794de6861e29d22 [INFO] running `"docker" "start" "-a" "b022acf92833b6b90723da84a2eb810b9af5f343f6a396894794de6861e29d22"` [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling ffmpeg-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling ffmpeg4-ffi v0.3.8 [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/main.rs:159:27 [INFO] [stderr] | [INFO] [stderr] 159 | pkt.pts = (frame_index as f64 * calc_duration / av_q2d(time_base) [INFO] [stderr] | ___________________________^ [INFO] [stderr] 160 | | * AV_TIME_BASE as f64) as i64; [INFO] [stderr] | |_________________________________________________^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/main.rs:159:27 [INFO] [stderr] | [INFO] [stderr] 159 | pkt.pts = (frame_index as f64 * calc_duration / av_q2d(time_base) [INFO] [stderr] | ___________________________^ [INFO] [stderr] 160 | | * AV_TIME_BASE as f64) as i64; [INFO] [stderr] | |_________________________________________________^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/main.rs:162:32 [INFO] [stderr] | [INFO] [stderr] 162 | pkt.duration = (calc_duration / (av_q2d(time_base) * AV_TIME_BASE as f64)) as i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/main.rs:162:32 [INFO] [stderr] | [INFO] [stderr] 162 | pkt.duration = (calc_duration / (av_q2d(time_base) * AV_TIME_BASE as f64)) as i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `ffmpeg-test`. [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: could not compile `ffmpeg-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b022acf92833b6b90723da84a2eb810b9af5f343f6a396894794de6861e29d22"` [INFO] running `"docker" "rm" "-f" "b022acf92833b6b90723da84a2eb810b9af5f343f6a396894794de6861e29d22"` [INFO] [stdout] b022acf92833b6b90723da84a2eb810b9af5f343f6a396894794de6861e29d22