[INFO] cloning repository https://github.com/ldm0/ffgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ldm0/ffgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fldm0%2Fffgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fldm0%2Fffgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23638bbda1b8104ac0f8692ebda42c679dc9d5bb [INFO] checking ldm0/ffgen against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fldm0%2Fffgen" "/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/ldm0/ffgen on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ldm0/ffgen [INFO] finished tweaking git repo https://github.com/ldm0/ffgen [INFO] tweaked toml for git repo https://github.com/ldm0/ffgen written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ldm0/ffgen 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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bindgen v0.54.1 [INFO] [stderr] Downloaded rusty_ffmpeg v0.2.5 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32bd0653e01d11e3c5f0af633fa0669f81b10fa7f9dcdc434f1abf92211897a1 [INFO] running `Command { std: "docker" "start" "-a" "32bd0653e01d11e3c5f0af633fa0669f81b10fa7f9dcdc434f1abf92211897a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32bd0653e01d11e3c5f0af633fa0669f81b10fa7f9dcdc434f1abf92211897a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32bd0653e01d11e3c5f0af633fa0669f81b10fa7f9dcdc434f1abf92211897a1", kill_on_drop: false }` [INFO] [stdout] 32bd0653e01d11e3c5f0af633fa0669f81b10fa7f9dcdc434f1abf92211897a1 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88d2820f74425f237a501823afb3721a7d3371eed3831ebc8dfcc500e7d1979f [INFO] running `Command { std: "docker" "start" "-a" "88d2820f74425f237a501823afb3721a7d3371eed3831ebc8dfcc500e7d1979f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.54.1 [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 ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling rusty_ffmpeg v0.2.5 [INFO] [stderr] Checking ffgen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/cmdutils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avutils::*` [INFO] [stdout] --> src/cmdutils.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | avutil::{avutils::*, error::*}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `collections::HashMap`, `mem`, `slice`, and `sync::Mutex` [INFO] [stdout] --> src/cmdutils.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | default, [INFO] [stdout] 13 | ffi::{CStr, CString}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | fmt, marker, mem, ptr, slice, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] 15 | sync::Mutex, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `info` [INFO] [stdout] --> src/ffmpeg.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::c_void` [INFO] [stdout] --> src/ffmpeg_opt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::c_void; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, and `info` [INFO] [stdout] --> src/ffmpeg_opt.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `avutils::*`, `error::*`, and `ffi` [INFO] [stdout] --> src/ffmpeg_opt.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | avutil::{avutils::*, error::*}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 5 | ffi, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `CString`, `ptr`, and `slice` [INFO] [stdout] --> src/ffmpeg_opt.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | ffi::{CStr, CString}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] 9 | ptr, slice, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INT_CB`, `OptionsContext`, and `self` [INFO] [stdout] --> src/ffmpeg_opt.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | ffmpeg::{self, OptionsContext, INT_CB}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/graph_parser.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OptionGroupList`, `OptionGroup`, `OptionKV`, and `OptionParseContext` [INFO] [stdout] --> src/options.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | OptionDef, OptionFlag, OptionGroup, OptionGroupDef, OptionGroupList, OptionKV, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 12 | OptionOperation, OptionParseContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/cmdutils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `avutils::*` [INFO] [stdout] --> src/cmdutils.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | avutil::{avutils::*, error::*}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `collections::HashMap`, `mem`, `slice`, and `sync::Mutex` [INFO] [stdout] --> src/cmdutils.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | default, [INFO] [stdout] 13 | ffi::{CStr, CString}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | fmt, marker, mem, ptr, slice, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] 15 | sync::Mutex, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `info` [INFO] [stdout] --> src/ffmpeg.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::c_void` [INFO] [stdout] --> src/ffmpeg_opt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::c_void; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, and `info` [INFO] [stdout] --> src/ffmpeg_opt.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `avutils::*`, `error::*`, and `ffi` [INFO] [stdout] --> src/ffmpeg_opt.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | avutil::{avutils::*, error::*}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 5 | ffi, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CStr`, `CString`, `ptr`, and `slice` [INFO] [stdout] --> src/ffmpeg_opt.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | ffi::{CStr, CString}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] 9 | ptr, slice, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INT_CB`, `OptionsContext`, and `self` [INFO] [stdout] --> src/ffmpeg_opt.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | ffmpeg::{self, OptionsContext, INT_CB}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/graph_parser.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OptionGroupList`, `OptionGroup`, `OptionKV`, and `OptionParseContext` [INFO] [stdout] --> src/options.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | OptionDef, OptionFlag, OptionGroup, OptionGroupDef, OptionGroupList, OptionKV, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 12 | OptionOperation, OptionParseContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `raw_ref_op` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(raw_ref_op)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `half_open_range_patterns` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(half_open_range_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bool_to_option` has been stable since 1.62.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(bool_to_option)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_offset_from` has been stable since 1.47.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(ptr_offset_from)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `raw_ref_op` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(raw_ref_op)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `half_open_range_patterns` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(half_open_range_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bool_to_option` has been stable since 1.62.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(bool_to_option)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_offset_from` has been stable since 1.47.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(ptr_offset_from)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 167 | ... option_def!("hide_banner", OPT_BOOL | OPT_EXPERT, dst_ptr => hide_banner, "do not show program banner", "hide_banner... [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 172 | option_def!("y", OPT_BOOL, dst_ptr => file_overwrite, "overwrite output files"), [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 173 | option_def!("n", OPT_BOOL, dst_ptr => no_file_overwrite, "never overwrite output files"), [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 174 | option_def!("ignore_unknown", OPT_BOOL, dst_ptr => ignore_unknown_streams, "Ignore unknown stream types"), [INFO] [stdout] | --------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 175 | option_def!("copy_unknown", OPT_BOOL | OPT_EXPERT, dst_ptr => copy_unknown_streams, "Copy unknown stream types"), [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 196 | option_def!("benchmark", OPT_BOOL | OPT_EXPERT, dst_ptr => do_benchmark, "add timings for benchmarking"), [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 197 | option_def!("benchmark_all", OPT_BOOL | OPT_EXPERT, dst_ptr => do_benchmark_all, "add timings for each task"), [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | option_def!("stdin", OPT_BOOL | OPT_EXPERT, dst_ptr => stdin_interaction, "enable or disable interaction on standard input"), [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | option_def!("dump", OPT_BOOL | OPT_EXPERT, dst_ptr => do_pkt_dump, "dump each input packet"), [INFO] [stdout] | -------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | option_def!("hex", OPT_BOOL | OPT_EXPERT, dst_ptr => do_hex_dump, "when dumping packets, also dump the payload"), [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 206 | option_def!("frame_drop_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, dst_ptr => frame_drop_threshold, "frame drop threshold", ""), [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 207 | option_def!("async", HAS_ARG | OPT_INT | OPT_EXPERT, dst_ptr => audio_sync_method, "audio sync method", ""), [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 208 | ... option_def!("adrift_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, dst_ptr => audio_drift_threshold, "audio drift threshold", "threshold... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 209 | option_def!("copyts", OPT_BOOL | OPT_EXPERT, dst_ptr => copy_ts, "copy timestamps"), [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 210 | ... option_def!("start_at_zero", OPT_BOOL | OPT_EXPERT, dst_ptr => start_at_zero, "shift input timestamps to start at 0 when using copyts... [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 211 | ... option_def!("copytb", HAS_ARG | OPT_INT | OPT_EXPERT, dst_ptr => copy_tb, "copy input stream time base when stream copying", "mode"), [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 215 | ... option_def!("dts_delta_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, dst_ptr => dts_delta_threshold, "timestamp discontinuity delta threshold", "threshold... [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 216 | ... option_def!("dts_error_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, dst_ptr => dts_error_threshold, "timestamp error delta threshold", "threshold... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 217 | option_def!("xerror", OPT_BOOL | OPT_EXPERT, dst_ptr => exit_on_error, "exit on error", "error"), [INFO] [stdout] | ------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 227 | option_def!("filter_threads", HAS_ARG | OPT_INT, dst_ptr => filter_nbthreads, "number of non-complex filter threads"), [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 231 | ... option_def!("filter_complex_threads", HAS_ARG | OPT_INT, dst_ptr => filter_complex_nbthreads, "number of threads for -filter_complex... [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 234 | option_def!("stats", OPT_BOOL, dst_ptr => print_stats, "print progress report during encoding"), [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 238 | option_def!("debug_ts", OPT_BOOL | OPT_EXPERT, dst_ptr => debug_ts, "print timestamp debugging info"), [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 239 | ... option_def!("max_error_rate", HAS_ARG | OPT_FLOAT, dst_ptr => max_error_rate, "ratio of errors (0.0: no errors, 1.0: 100% errors) above which ffmpeg returns an error instead of success.", "maximum error rate... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 243 | ... option_def!("find_stream_info", OPT_BOOL | OPT_PERFILE | OPT_INPUT | OPT_EXPERT, dst_ptr => find_stream_info, "read and decode the streams to fill missing information with heuristics... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 249 | ... option_def!("bits_per_raw_sample", OPT_VIDEO | OPT_INT | HAS_ARG, dst_ptr => frame_bits_per_raw_sample, "set the number of bits per raw sample", "number... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 250 | option_def!("intra", OPT_VIDEO | OPT_BOOL | OPT_EXPERT, dst_ptr => intra_only, "deprecated use -g 1"), [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 259 | ... option_def!("deinterlace", OPT_VIDEO | OPT_BOOL | OPT_EXPERT, dst_ptr => do_deinterlace, "this option is deprecated, use the yadif filter instead... [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 260 | option_def!("psnr", OPT_VIDEO | OPT_BOOL | OPT_EXPERT, dst_ptr => do_psnr, "calculate PSNR of compressed frames"), [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 263 | ... option_def!("vstats_version", OPT_VIDEO | OPT_INT | HAS_ARG | OPT_EXPERT , dst_ptr => vstats_version, "Version of the vstats format to use.... [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 270 | option_def!("qphist", OPT_VIDEO | OPT_BOOL | OPT_EXPERT , dst_ptr => qp_hist, "show QP histogram"), [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 279 | option_def!("videotoolbox_pixfmt", HAS_ARG | OPT_STRING | OPT_EXPERT, dst_ptr => videotoolbox_pixfmt, ""), [INFO] [stdout] | --------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 289 | option_def!("vol", OPT_AUDIO | HAS_ARG | OPT_INT, dst_ptr => audio_volume, "change audio volume (256=normal)" , "volume"), [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 301 | option_def!("isync", OPT_BOOL | OPT_EXPERT, dst_ptr => input_sync, "this option is deprecated and does nothing", ""), [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 318 | ... option_def!("qsv_device", HAS_ARG | OPT_STRING | OPT_EXPERT, dst_ptr => qsv_device, "set QSV hardware device (DirectX adapter index, DRM path or X11 display name)", "device... [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GroupInfile` is never constructed [INFO] [stdout] --> src/cmdutils.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum OptGroup { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 21 | GroupOutfile = 0, [INFO] [stdout] 22 | GroupInfile = 1, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `argname` and `u` are never read [INFO] [stdout] --> src/cmdutils.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct OptionDef<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | pub argname: Option<&'a str>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 82 | pub flags: OptionFlag, [INFO] [stdout] 83 | pub u: OptionOperation, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/cmdutils.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct OptionGroupDef<'global> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub flags: OptionFlag, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionGroupDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `opt`, `key`, and `val` are never read [INFO] [stdout] --> src/cmdutils.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct OptionKV<'global> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 106 | pub opt: &'global OptionDef<'global>, [INFO] [stdout] | ^^^ [INFO] [stdout] 107 | pub key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 108 | pub val: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionKV` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `str`, `i64`, `ui64`, `f`, and `dbl` are never read [INFO] [stdout] --> src/cmdutils.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 185 | pub union SpecifierOptValue { [INFO] [stdout] | ----------------- fields in this union [INFO] [stdout] 186 | pub str: *mut u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 187 | pub i: isize, [INFO] [stdout] 188 | pub i64: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 189 | pub ui64: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 190 | pub f: f32, [INFO] [stdout] | ^ [INFO] [stdout] 191 | pub dbl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `specifier` and `u` are never read [INFO] [stdout] --> src/cmdutils.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct SpecifierOpt { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 210 | pub specifier: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 211 | pub u: SpecifierOptValue, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `SpecifierOpt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_optgroup` is never used [INFO] [stdout] --> src/cmdutils.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn parse_optgroup<'ctxt>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_number` is never used [INFO] [stdout] --> src/cmdutils.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn parse_number( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_time` is never used [INFO] [stdout] --> src/cmdutils.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn parse_time(context: &str, timestr: &str, is_duration: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_option` is never used [INFO] [stdout] --> src/cmdutils.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn write_option( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RECEIVED_NB_SIGNALS` is never used [INFO] [stdout] --> src/ffmpeg.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | static RECEIVED_NB_SIGNALS: Lazy> = Lazy::new(|| Mutex::new(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TRANSCODE_INIT_DONE` is never used [INFO] [stdout] --> src/ffmpeg.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | static TRANSCODE_INIT_DONE: Lazy> = Lazy::new(|| Mutex::new(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decodec_interrupt_cb` is never used [INFO] [stdout] --> src/ffmpeg.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe extern "C" fn decodec_interrupt_cb(_ctx: *mut libc::c_void) -> libc::c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INT_CB` is never used [INFO] [stdout] --> src/ffmpeg.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const INT_CB: ffi::AVIOInterruptCB = ffi::AVIOInterruptCB { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_avoptions` is never used [INFO] [stdout] --> src/ffmpeg.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe fn remove_avoptions(a: &mut *mut ffi::AVDictionary, b: *mut ffi::AVDictionary) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_avoptions` is never used [INFO] [stdout] --> src/ffmpeg.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub unsafe fn assert_avoptions(a: *mut ffi::AVDictionary) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `disabled`, `file_index`, `stream_index`, `sync_file_index`, `sync_stream_index`, and `linklabel` are never read [INFO] [stdout] --> src/ffmpeg.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct StreamMap { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 69 | pub disabled: isize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 70 | pub file_index: isize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | pub stream_index: isize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | pub sync_file_index: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | pub sync_stream_index: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | pub linklabel: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_idx`, `stream_idx`, `channel_idx`, `ofile_idx`, and `ostream_idx` are never read [INFO] [stdout] --> src/ffmpeg.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct AudioChannelMap { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 79 | // input [INFO] [stdout] 80 | pub file_idx: isize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 81 | pub stream_idx: isize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | pub channel_idx: isize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 83 | // output [INFO] [stdout] 84 | pub ofile_idx: isize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 85 | pub ostream_idx: isize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioChannelMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ffmpeg.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct OptionsContext<'a, 'group> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 90 | pub g: &'a mut OptionGroup<'group>, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub stream_maps: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub audio_channel_maps: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | pub metadata_global_manual: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | pub metadata_streams_manual: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | pub metadata_chapters_manual: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 129 | pub attachments: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub streamid_map: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionsContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ffmpeg.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 184 | impl<'a, 'group> OptionsContext<'a, 'group> { [INFO] [stdout] | ------------------------------------------- associated function in this implementation [INFO] [stdout] 185 | pub fn new(group: &'a mut OptionGroup<'group>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OptGroup` is never used [INFO] [stdout] --> src/ffmpeg_opt.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | enum OptGroup { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/graph_parser.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl<'buffer> GraphParser<'buffer> { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | fn get(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VSYNC_AUTO` is never used [INFO] [stdout] --> src/options.rs:325:7 [INFO] [stdout] | [INFO] [stdout] 325 | const VSYNC_AUTO: isize = -1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `input_stream_potentially_available` is never used [INFO] [stdout] --> src/options.rs:342:16 [INFO] [stdout] | [INFO] [stdout] 342 | pub static mut input_stream_potentially_available: isize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `video_sync_method` is never used [INFO] [stdout] --> src/options.rs:353:16 [INFO] [stdout] | [INFO] [stdout] 353 | pub static mut video_sync_method: isize = VSYNC_AUTO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `abort_on_flags` is never used [INFO] [stdout] --> src/options.rs:365:16 [INFO] [stdout] | [INFO] [stdout] 365 | pub static mut abort_on_flags: isize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `opt_default_new` is never used [INFO] [stdout] --> src/options.rs:591:4 [INFO] [stdout] | [INFO] [stdout] 591 | fn opt_default_new(optctx: *mut c_void, opt: &str, arg: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `format_opts` should have an upper case name [INFO] [stdout] --> src/cmdutils.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | static mut format_opts: *mut ffi::AVDictionary = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `FORMAT_OPTS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `codec_opts` should have an upper case name [INFO] [stdout] --> src/cmdutils.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | static mut codec_opts: *mut ffi::AVDictionary = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `CODEC_OPTS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `sws_dict` should have an upper case name [INFO] [stdout] --> src/cmdutils.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | static mut sws_dict: *mut ffi::AVDictionary = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `SWS_DICT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `swr_opts` should have an upper case name [INFO] [stdout] --> src/cmdutils.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | static mut swr_opts: *mut ffi::AVDictionary = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `SWR_OPTS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `resample_opts` should have an upper case name [INFO] [stdout] --> src/cmdutils.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | static mut resample_opts: *mut ffi::AVDictionary = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RESAMPLE_OPTS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped [INFO] [stdout] --> src/cmdutils.rs:252:52 [INFO] [stdout] | [INFO] [stdout] 252 | let numstr_ptr = CString::new(numstr).unwrap().as_ptr(); [INFO] [stdout] | ----------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped [INFO] [stdout] --> src/cmdutils.rs:276:54 [INFO] [stdout] | [INFO] [stdout] 276 | let timestr_ptr = CString::new(timestr).unwrap().as_ptr(); [INFO] [stdout] | ------------------------------ ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:644:35 [INFO] [stdout] | [INFO] [stdout] 644 | unsafe { ffi::av_dict_set(&mut codec_opts as *mut _, opt_ptr, arg_ptr, flags as _) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 644 | unsafe { ffi::av_dict_set(&raw mut codec_opts as *mut _, opt_ptr, arg_ptr, flags as _) }; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:662:35 [INFO] [stdout] | [INFO] [stdout] 662 | unsafe { ffi::av_dict_set(&mut format_opts as *mut _, opt_ptr, arg_ptr, flags as _) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 662 | unsafe { ffi::av_dict_set(&raw mut format_opts as *mut _, opt_ptr, arg_ptr, flags as _) }; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:733:31 [INFO] [stdout] | [INFO] [stdout] 733 | unsafe { ffi::av_dict_set(&mut sws_dict as *mut _, flags.as_ptr(), bicubic.as_ptr(), 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 733 | unsafe { ffi::av_dict_set(&raw mut sws_dict as *mut _, flags.as_ptr(), bicubic.as_ptr(), 0) }; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:738:27 [INFO] [stdout] | [INFO] [stdout] 738 | ffi::av_dict_free(&mut swr_opts as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 738 | ffi::av_dict_free(&raw mut swr_opts as *mut _); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:739:27 [INFO] [stdout] | [INFO] [stdout] 739 | ffi::av_dict_free(&mut sws_dict as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 739 | ffi::av_dict_free(&raw mut sws_dict as *mut _); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:740:27 [INFO] [stdout] | [INFO] [stdout] 740 | ffi::av_dict_free(&mut format_opts as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 740 | ffi::av_dict_free(&raw mut format_opts as *mut _); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:741:27 [INFO] [stdout] | [INFO] [stdout] 741 | ffi::av_dict_free(&mut codec_opts as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 741 | ffi::av_dict_free(&raw mut codec_opts as *mut _); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:742:27 [INFO] [stdout] | [INFO] [stdout] 742 | ffi::av_dict_free(&mut resample_opts as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 742 | ffi::av_dict_free(&raw mut resample_opts as *mut _); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 167 | ... option_def!("hide_banner", OPT_BOOL | OPT_EXPERT, dst_ptr => hide_banner, "do not show program banner", "hide_banner... [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 172 | option_def!("y", OPT_BOOL, dst_ptr => file_overwrite, "overwrite output files"), [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 173 | option_def!("n", OPT_BOOL, dst_ptr => no_file_overwrite, "never overwrite output files"), [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 174 | option_def!("ignore_unknown", OPT_BOOL, dst_ptr => ignore_unknown_streams, "Ignore unknown stream types"), [INFO] [stdout] | --------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 175 | option_def!("copy_unknown", OPT_BOOL | OPT_EXPERT, dst_ptr => copy_unknown_streams, "Copy unknown stream types"), [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 196 | option_def!("benchmark", OPT_BOOL | OPT_EXPERT, dst_ptr => do_benchmark, "add timings for benchmarking"), [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 197 | option_def!("benchmark_all", OPT_BOOL | OPT_EXPERT, dst_ptr => do_benchmark_all, "add timings for each task"), [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | option_def!("stdin", OPT_BOOL | OPT_EXPERT, dst_ptr => stdin_interaction, "enable or disable interaction on standard input"), [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | option_def!("dump", OPT_BOOL | OPT_EXPERT, dst_ptr => do_pkt_dump, "dump each input packet"), [INFO] [stdout] | -------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | option_def!("hex", OPT_BOOL | OPT_EXPERT, dst_ptr => do_hex_dump, "when dumping packets, also dump the payload"), [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 206 | option_def!("frame_drop_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, dst_ptr => frame_drop_threshold, "frame drop threshold", ""), [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 207 | option_def!("async", HAS_ARG | OPT_INT | OPT_EXPERT, dst_ptr => audio_sync_method, "audio sync method", ""), [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 208 | ... option_def!("adrift_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, dst_ptr => audio_drift_threshold, "audio drift threshold", "threshold... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 209 | option_def!("copyts", OPT_BOOL | OPT_EXPERT, dst_ptr => copy_ts, "copy timestamps"), [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 210 | ... option_def!("start_at_zero", OPT_BOOL | OPT_EXPERT, dst_ptr => start_at_zero, "shift input timestamps to start at 0 when using copyts... [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 211 | ... option_def!("copytb", HAS_ARG | OPT_INT | OPT_EXPERT, dst_ptr => copy_tb, "copy input stream time base when stream copying", "mode"), [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 215 | ... option_def!("dts_delta_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, dst_ptr => dts_delta_threshold, "timestamp discontinuity delta threshold", "threshold... [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 216 | ... option_def!("dts_error_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, dst_ptr => dts_error_threshold, "timestamp error delta threshold", "threshold... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 217 | option_def!("xerror", OPT_BOOL | OPT_EXPERT, dst_ptr => exit_on_error, "exit on error", "error"), [INFO] [stdout] | ------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 227 | option_def!("filter_threads", HAS_ARG | OPT_INT, dst_ptr => filter_nbthreads, "number of non-complex filter threads"), [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 231 | ... option_def!("filter_complex_threads", HAS_ARG | OPT_INT, dst_ptr => filter_complex_nbthreads, "number of threads for -filter_complex... [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 234 | option_def!("stats", OPT_BOOL, dst_ptr => print_stats, "print progress report during encoding"), [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 238 | option_def!("debug_ts", OPT_BOOL | OPT_EXPERT, dst_ptr => debug_ts, "print timestamp debugging info"), [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 239 | ... option_def!("max_error_rate", HAS_ARG | OPT_FLOAT, dst_ptr => max_error_rate, "ratio of errors (0.0: no errors, 1.0: 100% errors) above which ffmpeg returns an error instead of success.", "maximum error rate... [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 243 | ... option_def!("find_stream_info", OPT_BOOL | OPT_PERFILE | OPT_INPUT | OPT_EXPERT, dst_ptr => find_stream_info, "read and decode the streams to fill missing information with heuristics... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 249 | ... option_def!("bits_per_raw_sample", OPT_VIDEO | OPT_INT | HAS_ARG, dst_ptr => frame_bits_per_raw_sample, "set the number of bits per raw sample", "number... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 250 | option_def!("intra", OPT_VIDEO | OPT_BOOL | OPT_EXPERT, dst_ptr => intra_only, "deprecated use -g 1"), [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 259 | ... option_def!("deinterlace", OPT_VIDEO | OPT_BOOL | OPT_EXPERT, dst_ptr => do_deinterlace, "this option is deprecated, use the yadif filter instead... [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 260 | option_def!("psnr", OPT_VIDEO | OPT_BOOL | OPT_EXPERT, dst_ptr => do_psnr, "calculate PSNR of compressed frames"), [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 263 | ... option_def!("vstats_version", OPT_VIDEO | OPT_INT | HAS_ARG | OPT_EXPERT , dst_ptr => vstats_version, "Version of the vstats format to use.... [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 270 | option_def!("qphist", OPT_VIDEO | OPT_BOOL | OPT_EXPERT , dst_ptr => qp_hist, "show QP histogram"), [INFO] [stdout] | -------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 279 | option_def!("videotoolbox_pixfmt", HAS_ARG | OPT_STRING | OPT_EXPERT, dst_ptr => videotoolbox_pixfmt, ""), [INFO] [stdout] | --------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 289 | option_def!("vol", OPT_AUDIO | HAS_ARG | OPT_INT, dst_ptr => audio_volume, "change audio volume (256=normal)" , "volume"), [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 301 | option_def!("isync", OPT_BOOL | OPT_EXPERT, dst_ptr => input_sync, "this option is deprecated and does nothing", ""), [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/options.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ... unsafe { &raw mut $x as *mut c_void } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 318 | ... option_def!("qsv_device", HAS_ARG | OPT_STRING | OPT_EXPERT, dst_ptr => qsv_device, "set QSV hardware device (DirectX adapter index, DRM path or X11 display name)", "device... [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `void` which comes from the expansion of the macro `option_def` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GroupInfile` is never constructed [INFO] [stdout] --> src/cmdutils.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum OptGroup { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 21 | GroupOutfile = 0, [INFO] [stdout] 22 | GroupInfile = 1, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `u` is never read [INFO] [stdout] --> src/cmdutils.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct OptionDef<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | pub u: OptionOperation, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/cmdutils.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct OptionGroupDef<'global> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub flags: OptionFlag, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionGroupDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `opt`, `key`, and `val` are never read [INFO] [stdout] --> src/cmdutils.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct OptionKV<'global> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 106 | pub opt: &'global OptionDef<'global>, [INFO] [stdout] | ^^^ [INFO] [stdout] 107 | pub key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 108 | pub val: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionKV` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `str`, `i64`, `ui64`, `f`, and `dbl` are never read [INFO] [stdout] --> src/cmdutils.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 185 | pub union SpecifierOptValue { [INFO] [stdout] | ----------------- fields in this union [INFO] [stdout] 186 | pub str: *mut u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 187 | pub i: isize, [INFO] [stdout] 188 | pub i64: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 189 | pub ui64: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 190 | pub f: f32, [INFO] [stdout] | ^ [INFO] [stdout] 191 | pub dbl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `specifier` and `u` are never read [INFO] [stdout] --> src/cmdutils.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct SpecifierOpt { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 210 | pub specifier: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 211 | pub u: SpecifierOptValue, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `SpecifierOpt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_optgroup` is never used [INFO] [stdout] --> src/cmdutils.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn parse_optgroup<'ctxt>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_number` is never used [INFO] [stdout] --> src/cmdutils.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn parse_number( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_time` is never used [INFO] [stdout] --> src/cmdutils.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn parse_time(context: &str, timestr: &str, is_duration: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_option` is never used [INFO] [stdout] --> src/cmdutils.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn write_option( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RECEIVED_NB_SIGNALS` is never used [INFO] [stdout] --> src/ffmpeg.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | static RECEIVED_NB_SIGNALS: Lazy> = Lazy::new(|| Mutex::new(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TRANSCODE_INIT_DONE` is never used [INFO] [stdout] --> src/ffmpeg.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | static TRANSCODE_INIT_DONE: Lazy> = Lazy::new(|| Mutex::new(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decodec_interrupt_cb` is never used [INFO] [stdout] --> src/ffmpeg.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe extern "C" fn decodec_interrupt_cb(_ctx: *mut libc::c_void) -> libc::c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INT_CB` is never used [INFO] [stdout] --> src/ffmpeg.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const INT_CB: ffi::AVIOInterruptCB = ffi::AVIOInterruptCB { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_avoptions` is never used [INFO] [stdout] --> src/ffmpeg.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe fn remove_avoptions(a: &mut *mut ffi::AVDictionary, b: *mut ffi::AVDictionary) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_avoptions` is never used [INFO] [stdout] --> src/ffmpeg.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub unsafe fn assert_avoptions(a: *mut ffi::AVDictionary) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `disabled`, `file_index`, `stream_index`, `sync_file_index`, `sync_stream_index`, and `linklabel` are never read [INFO] [stdout] --> src/ffmpeg.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct StreamMap { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 69 | pub disabled: isize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 70 | pub file_index: isize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | pub stream_index: isize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | pub sync_file_index: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | pub sync_stream_index: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | pub linklabel: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_idx`, `stream_idx`, `channel_idx`, `ofile_idx`, and `ostream_idx` are never read [INFO] [stdout] --> src/ffmpeg.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct AudioChannelMap { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 79 | // input [INFO] [stdout] 80 | pub file_idx: isize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 81 | pub stream_idx: isize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | pub channel_idx: isize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 83 | // output [INFO] [stdout] 84 | pub ofile_idx: isize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 85 | pub ostream_idx: isize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioChannelMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ffmpeg.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct OptionsContext<'a, 'group> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 90 | pub g: &'a mut OptionGroup<'group>, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub stream_maps: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub audio_channel_maps: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | pub metadata_global_manual: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | pub metadata_streams_manual: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | pub metadata_chapters_manual: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 129 | pub attachments: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub streamid_map: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionsContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ffmpeg.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 184 | impl<'a, 'group> OptionsContext<'a, 'group> { [INFO] [stdout] | ------------------------------------------- associated function in this implementation [INFO] [stdout] 185 | pub fn new(group: &'a mut OptionGroup<'group>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OptGroup` is never used [INFO] [stdout] --> src/ffmpeg_opt.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | enum OptGroup { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VSYNC_AUTO` is never used [INFO] [stdout] --> src/options.rs:325:7 [INFO] [stdout] | [INFO] [stdout] 325 | const VSYNC_AUTO: isize = -1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `input_stream_potentially_available` is never used [INFO] [stdout] --> src/options.rs:342:16 [INFO] [stdout] | [INFO] [stdout] 342 | pub static mut input_stream_potentially_available: isize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `video_sync_method` is never used [INFO] [stdout] --> src/options.rs:353:16 [INFO] [stdout] | [INFO] [stdout] 353 | pub static mut video_sync_method: isize = VSYNC_AUTO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `abort_on_flags` is never used [INFO] [stdout] --> src/options.rs:365:16 [INFO] [stdout] | [INFO] [stdout] 365 | pub static mut abort_on_flags: isize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `opt_default_new` is never used [INFO] [stdout] --> src/options.rs:591:4 [INFO] [stdout] | [INFO] [stdout] 591 | fn opt_default_new(optctx: *mut c_void, opt: &str, arg: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `format_opts` should have an upper case name [INFO] [stdout] --> src/cmdutils.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | static mut format_opts: *mut ffi::AVDictionary = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `FORMAT_OPTS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `codec_opts` should have an upper case name [INFO] [stdout] --> src/cmdutils.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | static mut codec_opts: *mut ffi::AVDictionary = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `CODEC_OPTS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `sws_dict` should have an upper case name [INFO] [stdout] --> src/cmdutils.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | static mut sws_dict: *mut ffi::AVDictionary = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `SWS_DICT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `swr_opts` should have an upper case name [INFO] [stdout] --> src/cmdutils.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | static mut swr_opts: *mut ffi::AVDictionary = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `SWR_OPTS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `resample_opts` should have an upper case name [INFO] [stdout] --> src/cmdutils.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | static mut resample_opts: *mut ffi::AVDictionary = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RESAMPLE_OPTS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped [INFO] [stdout] --> src/cmdutils.rs:252:52 [INFO] [stdout] | [INFO] [stdout] 252 | let numstr_ptr = CString::new(numstr).unwrap().as_ptr(); [INFO] [stdout] | ----------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped [INFO] [stdout] --> src/cmdutils.rs:276:54 [INFO] [stdout] | [INFO] [stdout] 276 | let timestr_ptr = CString::new(timestr).unwrap().as_ptr(); [INFO] [stdout] | ------------------------------ ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:644:35 [INFO] [stdout] | [INFO] [stdout] 644 | unsafe { ffi::av_dict_set(&mut codec_opts as *mut _, opt_ptr, arg_ptr, flags as _) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 644 | unsafe { ffi::av_dict_set(&raw mut codec_opts as *mut _, opt_ptr, arg_ptr, flags as _) }; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:662:35 [INFO] [stdout] | [INFO] [stdout] 662 | unsafe { ffi::av_dict_set(&mut format_opts as *mut _, opt_ptr, arg_ptr, flags as _) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 662 | unsafe { ffi::av_dict_set(&raw mut format_opts as *mut _, opt_ptr, arg_ptr, flags as _) }; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:733:31 [INFO] [stdout] | [INFO] [stdout] 733 | unsafe { ffi::av_dict_set(&mut sws_dict as *mut _, flags.as_ptr(), bicubic.as_ptr(), 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 733 | unsafe { ffi::av_dict_set(&raw mut sws_dict as *mut _, flags.as_ptr(), bicubic.as_ptr(), 0) }; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:738:27 [INFO] [stdout] | [INFO] [stdout] 738 | ffi::av_dict_free(&mut swr_opts as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 738 | ffi::av_dict_free(&raw mut swr_opts as *mut _); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:739:27 [INFO] [stdout] | [INFO] [stdout] 739 | ffi::av_dict_free(&mut sws_dict as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 739 | ffi::av_dict_free(&raw mut sws_dict as *mut _); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:740:27 [INFO] [stdout] | [INFO] [stdout] 740 | ffi::av_dict_free(&mut format_opts as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 740 | ffi::av_dict_free(&raw mut format_opts as *mut _); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:741:27 [INFO] [stdout] | [INFO] [stdout] 741 | ffi::av_dict_free(&mut codec_opts as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 741 | ffi::av_dict_free(&raw mut codec_opts as *mut _); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cmdutils.rs:742:27 [INFO] [stdout] | [INFO] [stdout] 742 | ffi::av_dict_free(&mut resample_opts as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 742 | ffi::av_dict_free(&raw mut resample_opts as *mut _); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.78s [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 1` [INFO] running `Command { std: "docker" "inspect" "88d2820f74425f237a501823afb3721a7d3371eed3831ebc8dfcc500e7d1979f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88d2820f74425f237a501823afb3721a7d3371eed3831ebc8dfcc500e7d1979f", kill_on_drop: false }` [INFO] [stdout] 88d2820f74425f237a501823afb3721a7d3371eed3831ebc8dfcc500e7d1979f