[INFO] cloning repository https://github.com/sshiroi/bdngsp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sshiroi/bdngsp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsshiroi%2Fbdngsp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsshiroi%2Fbdngsp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ecf69c9cdd93ab5290f415e9ef6bb8a26edd143 [INFO] checking sshiroi/bdngsp against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsshiroi%2Fbdngsp" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sshiroi/bdngsp on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sshiroi/bdngsp [INFO] finished tweaking git repo https://github.com/sshiroi/bdngsp [INFO] tweaked toml for git repo https://github.com/sshiroi/bdngsp written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sshiroi/bdngsp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ffmpeg-sys v4.3.3 [INFO] [stderr] Downloaded vapoursynth v0.4.0 [INFO] [stderr] Downloaded simple-error v0.2.3 [INFO] [stderr] Downloaded vapoursynth-sys v0.4.0 [INFO] [stderr] Downloaded anyhow v1.0.64 [INFO] [stderr] Downloaded bindgen v0.58.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8deffb9e13d47e2fef2158d47fddd20b1cd0abaacb5573abc462b5820955dc7f [INFO] running `Command { std: "docker" "start" "-a" "8deffb9e13d47e2fef2158d47fddd20b1cd0abaacb5573abc462b5820955dc7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8deffb9e13d47e2fef2158d47fddd20b1cd0abaacb5573abc462b5820955dc7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8deffb9e13d47e2fef2158d47fddd20b1cd0abaacb5573abc462b5820955dc7f", kill_on_drop: false }` [INFO] [stdout] 8deffb9e13d47e2fef2158d47fddd20b1cd0abaacb5573abc462b5820955dc7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2813d37590db099910b618408d3c5c5aabe8218545999b55a8e5c34f9bbe2484 [INFO] running `Command { std: "docker" "start" "-a" "2813d37590db099910b618408d3c5c5aabe8218545999b55a8e5c34f9bbe2484", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling clang-sys v1.3.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling vapoursynth-sys v0.4.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling anyhow v1.0.64 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking bitreader v0.3.6 [INFO] [stderr] Checking simple-error v0.2.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Checking thiserror v1.0.34 [INFO] [stderr] Checking vapoursynth v0.4.0 [INFO] [stderr] Compiling ffmpeg-sys v4.3.3 [INFO] [stderr] Checking bdngsp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `AVCodec` is imported redundantly [INFO] [stdout] --> src/ffmpeg_stuff.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use ffmpeg_sys::{AVCodec, AVCodecContext, AVFormatContext, AVFrame, AVPixelFormat}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use ffmpeg_sys::*; [INFO] [stdout] | ------------- the item `AVCodec` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AVCodecContext` is imported redundantly [INFO] [stdout] --> src/ffmpeg_stuff.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use ffmpeg_sys::{AVCodec, AVCodecContext, AVFormatContext, AVFrame, AVPixelFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use ffmpeg_sys::*; [INFO] [stdout] | ------------- the item `AVCodecContext` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AVFormatContext` is imported redundantly [INFO] [stdout] --> src/ffmpeg_stuff.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | use ffmpeg_sys::{AVCodec, AVCodecContext, AVFormatContext, AVFrame, AVPixelFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use ffmpeg_sys::*; [INFO] [stdout] | ------------- the item `AVFormatContext` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AVFrame` is imported redundantly [INFO] [stdout] --> src/ffmpeg_stuff.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | use ffmpeg_sys::{AVCodec, AVCodecContext, AVFormatContext, AVFrame, AVPixelFormat}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use ffmpeg_sys::*; [INFO] [stdout] | ------------- the item `AVFrame` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AVPixelFormat` is imported redundantly [INFO] [stdout] --> src/ffmpeg_stuff.rs:7:69 [INFO] [stdout] | [INFO] [stdout] 7 | use ffmpeg_sys::{AVCodec, AVCodecContext, AVFormatContext, AVFrame, AVPixelFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use ffmpeg_sys::*; [INFO] [stdout] | ------------- the item `AVPixelFormat` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ffmpeg_sys` is imported redundantly [INFO] [stdout] --> src/ffmpeg_stuff.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use ffmpeg_sys; [INFO] [stdout] | ^^^^^^^^^^ the item `ffmpeg_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AVCodec` is imported redundantly [INFO] [stdout] --> src/ffmpeg_stuff.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use ffmpeg_sys::{AVCodec, AVCodecContext, AVFormatContext, AVFrame, AVPixelFormat}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use ffmpeg_sys::*; [INFO] [stdout] | ------------- the item `AVCodec` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AVCodecContext` is imported redundantly [INFO] [stdout] --> src/ffmpeg_stuff.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use ffmpeg_sys::{AVCodec, AVCodecContext, AVFormatContext, AVFrame, AVPixelFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use ffmpeg_sys::*; [INFO] [stdout] | ------------- the item `AVCodecContext` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AVFormatContext` is imported redundantly [INFO] [stdout] --> src/ffmpeg_stuff.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | use ffmpeg_sys::{AVCodec, AVCodecContext, AVFormatContext, AVFrame, AVPixelFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use ffmpeg_sys::*; [INFO] [stdout] | ------------- the item `AVFormatContext` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AVFrame` is imported redundantly [INFO] [stdout] --> src/ffmpeg_stuff.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | use ffmpeg_sys::{AVCodec, AVCodecContext, AVFormatContext, AVFrame, AVPixelFormat}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use ffmpeg_sys::*; [INFO] [stdout] | ------------- the item `AVFrame` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AVPixelFormat` is imported redundantly [INFO] [stdout] --> src/ffmpeg_stuff.rs:7:69 [INFO] [stdout] | [INFO] [stdout] 7 | use ffmpeg_sys::{AVCodec, AVCodecContext, AVFormatContext, AVFrame, AVPixelFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use ffmpeg_sys::*; [INFO] [stdout] | ------------- the item `AVPixelFormat` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ffmpeg_sys` is imported redundantly [INFO] [stdout] --> src/ffmpeg_stuff.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use ffmpeg_sys; [INFO] [stdout] | ^^^^^^^^^^ the item `ffmpeg_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_idx` and `frames_to_serve_total` are never read [INFO] [stdout] --> src/cached_decoder.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CachedDecoder { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 7 | pub decoder: Option>>, [INFO] [stdout] 8 | pub start_idx: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub frames_to_serve_total: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CachedDecoder` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `incodec` and `rc` are never read [INFO] [stdout] --> src/ffmpeg_stuff.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct DecoderSetup { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 19 | pub incodec: *mut AVCodec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub rc: Arc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pts` is never read [INFO] [stdout] --> src/predict.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PredictedKeyFrame { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 5 | pub number: u64, [INFO] [stdout] 6 | pub pts: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PredictedKeyFrame` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | drop(lll); [INFO] [stdout] | ^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut CachedDecoder` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_idx` and `frames_to_serve_total` are never read [INFO] [stdout] --> src/cached_decoder.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CachedDecoder { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 7 | pub decoder: Option>>, [INFO] [stdout] 8 | pub start_idx: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub frames_to_serve_total: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CachedDecoder` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `incodec` and `rc` are never read [INFO] [stdout] --> src/ffmpeg_stuff.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct DecoderSetup { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 19 | pub incodec: *mut AVCodec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub rc: Arc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pts` is never read [INFO] [stdout] --> src/predict.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PredictedKeyFrame { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 5 | pub number: u64, [INFO] [stdout] 6 | pub pts: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PredictedKeyFrame` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | drop(lll); [INFO] [stdout] | ^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut CachedDecoder` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.76s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "2813d37590db099910b618408d3c5c5aabe8218545999b55a8e5c34f9bbe2484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2813d37590db099910b618408d3c5c5aabe8218545999b55a8e5c34f9bbe2484", kill_on_drop: false }` [INFO] [stdout] 2813d37590db099910b618408d3c5c5aabe8218545999b55a8e5c34f9bbe2484