Error: CLIPPY_WARNING: [#def1] rust-rav1e-0.7.1-build/build.rs:266:30: warning: unexpected `cfg` condition value: `decode_test` # | # 266 | if os == "windows" && cfg!(feature = "decode_test") { # | ^^^^^^^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `decode_test` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration # = note: `#[warn(unexpected_cfgs)]` on by default Error: CLIPPY_WARNING: [#def2] rust-rav1e-0.7.1-build/src/api/channel/by_gop.rs:333:21: warning: casting to the same type is unnecessary (`usize` -> `usize`) # | # 333 | let input_len = self.enc.speed_settings.rdo_lookahead_frames as usize * 4; # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.enc.speed_settings.rdo_lookahead_frames` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast # = note: `#[warn(clippy::unnecessary_cast)]` on by default Error: CLIPPY_WARNING: [#def3] rust-rav1e-0.7.1-build/src/api/channel/by_gop.rs:345:7: warning: this let-binding has unit value # | # 345 | / let _ = rayon::scope_fifo(|s| { # 346 | | let sg_recv = cfg.scenechange(s, receive_frame); # 347 | | cfg.encode(s, slots, sg_recv, send_packet); # 348 | | }); # | |_________^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value # = note: `#[warn(clippy::let_unit_value)]` on by default # help: omit the `let` binding # | # 345 ~ rayon::scope_fifo(|s| { # 346 + let sg_recv = cfg.scenechange(s, receive_frame); # 347 + cfg.encode(s, slots, sg_recv, send_packet); # 348 + }); # | Error: CLIPPY_WARNING: [#def4] rust-rav1e-0.7.1-build/src/api/channel/data.rs:197:15: warning: the following explicit lifetimes could be elided: 'a # | # 197 | pub fn iter<'a>(&'a self) -> impl Iterator<Item = RcData> + 'a { # | ^^ ^^ ^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes # = note: `#[warn(clippy::needless_lifetimes)]` on by default # help: elide the lifetimes # | # 197 - pub fn iter<'a>(&'a self) -> impl Iterator<Item = RcData> + 'a { # 197 + pub fn iter(&self) -> impl Iterator<Item = RcData> + '_ { # | Error: CLIPPY_WARNING: [#def5] rust-rav1e-0.7.1-build/src/api/channel/data.rs:329:15: warning: the following explicit lifetimes could be elided: 'a # | # 329 | pub fn iter<'a>(&'a self) -> impl Iterator<Item = Packet<T>> + 'a { # | ^^ ^^ ^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes # help: elide the lifetimes # | # 329 - pub fn iter<'a>(&'a self) -> impl Iterator<Item = Packet<T>> + 'a { # 329 + pub fn iter(&self) -> impl Iterator<Item = Packet<T>> + '_ { # | Error: CLIPPY_WARNING: [#def6] rust-rav1e-0.7.1-build/src/api/channel/mod.rs:32:9: warning: unused import: `by_gop::*` # | # 32 | pub use by_gop::*; # | ^^^^^^^^^ # | # = note: `#[warn(unused_imports)]` on by default Error: CLIPPY_WARNING: [#def7] rust-rav1e-0.7.1-build/src/api/channel/mod.rs:265:21: warning: casting to the same type is unnecessary (`usize` -> `usize`) # | # 265 | let input_len = self.enc.speed_settings.rdo_lookahead_frames as usize * 2; # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.enc.speed_settings.rdo_lookahead_frames` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast Error: CLIPPY_WARNING: [#def8] rust-rav1e-0.7.1-build/src/api/color.rs:174:7: warning: item in documentation is missing backticks # | # 174 | /// YCgCo # | ^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 174 | /// `YCgCo` # | ~~~~~~~ Error: CLIPPY_WARNING: [#def9] rust-rav1e-0.7.1-build/src/api/color.rs:180:21: warning: item in documentation is missing backticks # | # 180 | /// SMPTE ST 2085 YDzDx # | ^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 180 | /// SMPTE ST 2085 `YDzDx` # | ~~~~~~~ Error: CLIPPY_WARNING: [#def10] rust-rav1e-0.7.1-build/src/api/color.rs:186:15: warning: item in documentation is missing backticks # | # 186 | /// BT.2020 ICtCp # | ^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 186 | /// BT.2020 `ICtCp` # | ~~~~~~~ Error: CLIPPY_WARNING: [#def11] rust-rav1e-0.7.1-build/src/api/context.rs:126:41: warning: usage of a legacy numeric constant # | # 126 | } else if self.inner.frame_count == std::i32::MAX as u64 - 1 { # | ^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants # help: use the associated constant instead # | # 126 | } else if self.inner.frame_count == i32::MAX as u64 - 1 { # | ~~~~~~~~ Error: CLIPPY_WARNING: [#def12] rust-rav1e-0.7.1-build/src/api/internal.rs:57:34: warning: item in documentation is missing backticks # | # 57 | /// This MUST be a multiple of group_input_len. # | ^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 57 | /// This MUST be a multiple of `group_input_len`. # | ~~~~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def13] rust-rav1e-0.7.1-build/src/api/internal.rs:232:13: warning: item in documentation is missing backticks # | # 232 | /// Maps *input_frameno* to frames # | ^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 232 | /// Maps *`input_frameno`* to frames # | ~~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def14] rust-rav1e-0.7.1-build/src/api/internal.rs:234:13: warning: item in documentation is missing backticks # | # 234 | /// Maps *output_frameno* to frame data # | ^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 234 | /// Maps *`output_frameno`* to frame data # | ~~~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def15] rust-rav1e-0.7.1-build/src/api/internal.rs:236:21: warning: item in documentation is missing backticks # | # 236 | /// A list of the input_frameno for keyframes in this encode. # | ^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 236 | /// A list of the `input_frameno` for keyframes in this encode. # | ~~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def16] rust-rav1e-0.7.1-build/src/api/internal.rs:237:55: warning: item in documentation is missing backticks # | # 237 | /// Needed so that we don't need to keep all of the frame_invariants in # | ^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 237 | /// Needed so that we don't need to keep all of the `frame_invariants` in # | ~~~~~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def17] rust-rav1e-0.7.1-build/src/api/internal.rs:481:26: warning: the borrowed expression implements the required traits # | # 481 | data_location.push(&env::var_os("RAV1E_DATA_PATH").unwrap()); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `env::var_os("RAV1E_DATA_PATH").unwrap()` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args # = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default Error: CLIPPY_WARNING: [#def18] rust-rav1e-0.7.1-build/src/api/internal.rs:483:26: warning: the borrowed expression implements the required traits # | # 483 | data_location.push(&env::current_dir().unwrap()); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `env::current_dir().unwrap()` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args Error: CLIPPY_WARNING: [#def19] rust-rav1e-0.7.1-build/src/api/internal.rs:680:11: warning: unexpected `cfg` condition value: `dump_lookahead_data` # | # 680 | #[cfg(feature = "dump_lookahead_data")] # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `dump_lookahead_data` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def20] rust-rav1e-0.7.1-build/src/api/internal.rs:753:11: warning: unexpected `cfg` condition value: `dump_lookahead_data` # | # 753 | #[cfg(feature = "dump_lookahead_data")] # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `dump_lookahead_data` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def21] rust-rav1e-0.7.1-build/src/api/internal.rs:1209:13: warning: unexpected `cfg` condition value: `dump_lookahead_data` # | # 1209 | #[cfg(feature = "dump_lookahead_data")] # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `dump_lookahead_data` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def22] rust-rav1e-0.7.1-build/src/api/internal.rs:1333:13: warning: unexpected `cfg` condition value: `dump_lookahead_data` # | # 1333 | #[cfg(feature = "dump_lookahead_data")] # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `dump_lookahead_data` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def23] rust-rav1e-0.7.1-build/src/api/internal.rs:1390:11: warning: unexpected `cfg` condition value: `dump_lookahead_data` # | # 1390 | #[cfg(feature = "dump_lookahead_data")] # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `dump_lookahead_data` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def24] rust-rav1e-0.7.1-build/src/api/util.rs:145:40: warning: item in documentation is missing backticks # | # 145 | /// Country code extension bytes (if country_code == 0xFF) # | ^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 145 | /// Country code extension bytes (if `country_code` == 0xFF) # | ~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def25] rust-rav1e-0.7.1-build/src/asm/mod.rs:10:7: warning: unexpected `cfg` condition name: `nasm_x86_64` # | # 10 | #[cfg(nasm_x86_64)] # | ^^^^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def26] rust-rav1e-0.7.1-build/src/asm/mod.rs:13:7: warning: unexpected `cfg` condition name: `asm_neon` # | # 13 | #[cfg(asm_neon)] # | ^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def27] rust-rav1e-0.7.1-build/src/asm/mod.rs:16:11: warning: unexpected `cfg` condition name: `nasm_x86_64` # | # 16 | #[cfg(any(nasm_x86_64, asm_neon))] # | ^^^^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def28] rust-rav1e-0.7.1-build/src/asm/mod.rs:16:24: warning: unexpected `cfg` condition name: `asm_neon` # | # 16 | #[cfg(any(nasm_x86_64, asm_neon))] # | ^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def29] rust-rav1e-0.7.1-build/src/asm/x86/sad_plane.rs:49:20: warning: transmute used without annotations # | # 49 | mem::transmute(src.data_origin().as_ptr()), # | ^^^^^^^^^ help: consider adding missing annotations: `transmute::<*const T, *const u8>` # ... # 65 | call_asm!(rav1e_sad_plane_8bpc_avx2, src, dst, cpu) # | --------------------------------------------------- in this macro invocation # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_transmute_annotations # = note: `#[warn(clippy::missing_transmute_annotations)]` on by default # = note: this warning originates in the macro `call_asm` (in Nightly builds, run with -Z macro-backtrace for more info) Error: CLIPPY_WARNING: [#def30] rust-rav1e-0.7.1-build/src/asm/x86/sad_plane.rs:50:20: warning: transmute used without annotations # | # 50 | mem::transmute(dst.data_origin().as_ptr()), # | ^^^^^^^^^ help: consider adding missing annotations: `transmute::<*const T, *const u8>` # ... # 65 | call_asm!(rav1e_sad_plane_8bpc_avx2, src, dst, cpu) # | --------------------------------------------------- in this macro invocation # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_transmute_annotations # = note: this warning originates in the macro `call_asm` (in Nightly builds, run with -Z macro-backtrace for more info) Error: CLIPPY_WARNING: [#def31] rust-rav1e-0.7.1-build/src/bin/common.rs:335:7: warning: field `save_config` is never read # | # 322 | pub struct ParsedCliOptions { # | ---------------- field in this struct # ... # 335 | pub save_config: Option<PathBuf>, # | ^^^^^^^^^^^ # | # = note: `#[warn(dead_code)]` on by default Error: CLIPPY_WARNING: [#def32] rust-rav1e-0.7.1-build/src/bin/common.rs:335:7: warning: fields `save_config` and `slots` are never read # | # 322 | pub struct ParsedCliOptions { # | ---------------- fields in this struct # ... # 335 | pub save_config: Option<PathBuf>, # | ^^^^^^^^^^^ # ... # 338 | pub slots: usize, # | ^^^^^ # | # = note: `#[warn(dead_code)]` on by default Error: CLIPPY_WARNING: [#def33] rust-rav1e-0.7.1-build/src/bin/decoder/mod.rs:34:11: warning: field `0` is never read # | # 34 | IoError(io::Error), # | ------- ^^^^^^^^^ # | | # | field in this variant # | # = note: `DecodeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis # help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field # | # 34 | IoError(()), # | ~~ Error: CLIPPY_WARNING: [#def34] rust-rav1e-0.7.1-build/src/bin/rav1e-ch.rs:307:11: warning: casting to the same type is unnecessary (`u64` -> `u64`) # | # 307 | pkt.input_frameno as u64, # | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `pkt.input_frameno` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast # = note: `#[warn(clippy::unnecessary_cast)]` on by default Error: CLIPPY_WARNING: [#def35] rust-rav1e-0.7.1-build/src/bin/rav1e-ch.rs:362:9: warning: unexpected `cfg` condition value: `tracing` # | # 362 | #[cfg(feature = "tracing")] # | ^^^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `tracing` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration # = note: `#[warn(unexpected_cfgs)]` on by default Error: CLIPPY_WARNING: [#def36] rust-rav1e-0.7.1-build/src/bin/rav1e-ch.rs:366:9: warning: unexpected `cfg` condition value: `tracing` # | # 366 | #[cfg(feature = "tracing")] # | ^^^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `tracing` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def37] rust-rav1e-0.7.1-build/src/bin/rav1e.rs:351:9: warning: unexpected `cfg` condition value: `tracing` # | # 351 | #[cfg(feature = "tracing")] # | ^^^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `tracing` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration # = note: `#[warn(unexpected_cfgs)]` on by default Error: CLIPPY_WARNING: [#def38] rust-rav1e-0.7.1-build/src/bin/rav1e.rs:355:9: warning: unexpected `cfg` condition value: `tracing` # | # 355 | #[cfg(feature = "tracing")] # | ^^^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `tracing` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def39] rust-rav1e-0.7.1-build/src/bin/stats.rs:725:46: warning: you should put bare URLs between `<`/`>` or make a proper Markdown link # | # 725 | /// CIEDE 2000 color difference algorithm: https://en.wikipedia.org/wiki/Color_difference#CIEDE2000 # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `<https://en.wikipedia.org/wiki/Color_difference#CIEDE2000>` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # note: the lint level is defined here # --> src/bin/rav1e.rs:80:9 # | # 80 | #![warn(clippy::doc_markdown)] # | ^^^^^^^^^^^^^^^^^^^^ Error: CLIPPY_WARNING: [#def40] rust-rav1e-0.7.1-build/src/cdef.rs:21:12: warning: unexpected `cfg` condition name: `nasm_x86_64` # | # 21 | if #[cfg(nasm_x86_64)] { # | ^^^^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def41] rust-rav1e-0.7.1-build/src/cdef.rs:23:19: warning: unexpected `cfg` condition name: `asm_neon` # | # 23 | } else if #[cfg(asm_neon)] { # | ^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def42] rust-rav1e-0.7.1-build/src/cpu_features/mod.rs:11:12: warning: unexpected `cfg` condition name: `nasm_x86_64` # | # 11 | if #[cfg(nasm_x86_64)] { # | ^^^^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def43] rust-rav1e-0.7.1-build/src/cpu_features/mod.rs:15:19: warning: unexpected `cfg` condition name: `asm_neon` # | # 15 | } else if #[cfg(asm_neon)] { # | ^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def44] rust-rav1e-0.7.1-build/src/dist.rs:11:12: warning: unexpected `cfg` condition name: `nasm_x86_64` # | # 11 | if #[cfg(nasm_x86_64)] { # | ^^^^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def45] rust-rav1e-0.7.1-build/src/dist.rs:13:19: warning: unexpected `cfg` condition name: `asm_neon` # | # 13 | } else if #[cfg(asm_neon)] { # | ^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def46] rust-rav1e-0.7.1-build/src/ec.rs:14:12: warning: unexpected `cfg` condition name: `nasm_x86_64` # | # 14 | if #[cfg(nasm_x86_64)] { # | ^^^^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def47] rust-rav1e-0.7.1-build/src/ec.rs:124:29: warning: item in documentation is missing backticks # | # 124 | /// Extra offset added to tell() and tell_frac() to approximate costs # | ^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # note: the lint level is defined here # --> src/lib.rs:107:9 # | # 107 | #![warn(clippy::doc_markdown)] # | ^^^^^^^^^^^^^^^^^^^^ # help: try # | # 124 | /// Extra offset added to `tell()` and tell_frac() to approximate costs # | ~~~~~~~~ Error: CLIPPY_WARNING: [#def48] rust-rav1e-0.7.1-build/src/ec.rs:124:40: warning: item in documentation is missing backticks # | # 124 | /// Extra offset added to tell() and tell_frac() to approximate costs # | ^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 124 | /// Extra offset added to tell() and `tell_frac()` to approximate costs # | ~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def49] rust-rav1e-0.7.1-build/src/encoder.rs:150:24: warning: item in documentation is missing backticks # | # 150 | /// enables/disables filter_intra # | ^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 150 | /// enables/disables `filter_intra` # | ~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def50] rust-rav1e-0.7.1-build/src/encoder.rs:154:24: warning: item in documentation is missing backticks # | # 154 | /// enables/disables interintra_compound # | ^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 154 | /// enables/disables `interintra_compound` # | ~~~~~~~~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def51] rust-rav1e-0.7.1-build/src/encoder.rs:162:7: warning: item in documentation is missing backticks # | # 162 | /// jnt_comp, ref_frame_mvs, frame_sign_bias # | ^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 162 | /// `jnt_comp`, ref_frame_mvs, frame_sign_bias # | ~~~~~~~~~~ Error: CLIPPY_WARNING: [#def52] rust-rav1e-0.7.1-build/src/encoder.rs:162:17: warning: item in documentation is missing backticks # | # 162 | /// jnt_comp, ref_frame_mvs, frame_sign_bias # | ^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 162 | /// jnt_comp, `ref_frame_mvs`, frame_sign_bias # | ~~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def53] rust-rav1e-0.7.1-build/src/encoder.rs:162:32: warning: item in documentation is missing backticks # | # 162 | /// jnt_comp, ref_frame_mvs, frame_sign_bias # | ^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 162 | /// jnt_comp, ref_frame_mvs, `frame_sign_bias` # | ~~~~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def54] rust-rav1e-0.7.1-build/src/encoder.rs:163:13: warning: item in documentation is missing backticks # | # 163 | /// if 0, enable_jnt_comp and # | ^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 163 | /// if 0, `enable_jnt_comp` and # | ~~~~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def55] rust-rav1e-0.7.1-build/src/encoder.rs:164:7: warning: item in documentation is missing backticks # | # 164 | /// enable_ref_frame_mvs must be set zs 0. # | ^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 164 | /// `enable_ref_frame_mvs` must be set zs 0. # | ~~~~~~~~~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def56] rust-rav1e-0.7.1-build/src/encoder.rs:194:7: warning: item in documentation is missing backticks # | # 194 | /// seq_tier in the spec. One bit: 0 or 1. # | ^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 194 | /// `seq_tier` in the spec. One bit: 0 or 1. # | ~~~~~~~~~~ Error: CLIPPY_WARNING: [#def57] rust-rav1e-0.7.1-build/src/encoder.rs:582:9: warning: unexpected `cfg` condition value: `dump_lookahead_data` # | # 582 | #[cfg(feature = "dump_lookahead_data")] # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `dump_lookahead_data` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def58] rust-rav1e-0.7.1-build/src/encoder.rs:703:20: warning: item in documentation is missing backticks # | # 703 | /// Pre-computed distortion_scale. # | ^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 703 | /// Pre-computed `distortion_scale`. # | ~~~~~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def59] rust-rav1e-0.7.1-build/src/encoder.rs:705:20: warning: item in documentation is missing backticks # | # 705 | /// Pre-computed activity_scale. # | ^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 705 | /// Pre-computed `activity_scale`. # | ~~~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def60] rust-rav1e-0.7.1-build/src/encoder.rs:777:9: warning: unexpected `cfg` condition value: `dump_lookahead_data` # | # 777 | #[cfg(feature = "dump_lookahead_data")] # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `dump_lookahead_data` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def61] rust-rav1e-0.7.1-build/src/encoder.rs:808:7: warning: unexpected `cfg` condition value: `dump_lookahead_data` # | # 808 | #[cfg(feature = "dump_lookahead_data")] # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `dump_lookahead_data` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def62] rust-rav1e-0.7.1-build/src/encoder.rs:2634:21: warning: usage of a legacy numeric constant # | # 2634 | let mut rd_cost = std::f64::MAX; # | ^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants # help: use the associated constant instead # | # 2634 | let mut rd_cost = f64::MAX; # | ~~~~~~~~ Error: CLIPPY_WARNING: [#def63] rust-rav1e-0.7.1-build/src/encoder.rs:2635:21: warning: usage of a legacy numeric constant # | # 2635 | let mut best_rd = std::f64::MAX; # | ^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants # help: use the associated constant instead # | # 2635 | let mut best_rd = f64::MAX; # | ~~~~~~~~ Error: CLIPPY_WARNING: [#def64] rust-rav1e-0.7.1-build/src/encoder.rs:2813:20: warning: usage of a legacy numeric constant # | # 2813 | if cost != std::f64::MAX { # | ^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants # help: use the associated constant instead # | # 2813 | if cost != f64::MAX { # | ~~~~~~~~ Error: CLIPPY_WARNING: [#def65] rust-rav1e-0.7.1-build/src/encoder.rs:2819:29: warning: usage of a legacy numeric constant # | # 2819 | assert!(cost != std::f64::MAX); # | ^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants # help: use the associated constant instead # | # 2819 | assert!(cost != f64::MAX); # | ~~~~~~~~ Error: CLIPPY_WARNING: [#def66] rust-rav1e-0.7.1-build/src/encoder.rs:2944:16: warning: usage of a legacy numeric constant # | # 2944 | rd_cost: std::f64::MAX, # | ^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants # help: use the associated constant instead # | # 2944 | rd_cost: f64::MAX, # | ~~~~~~~~ Error: CLIPPY_WARNING: [#def67] rust-rav1e-0.7.1-build/src/encoder.rs:3513:11: warning: usage of a legacy numeric constant # | # 3513 | std::f64::MAX, # | ^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants # help: use the associated constant instead # | # 3513 | f64::MAX, # | ~~~~~~~~ Error: CLIPPY_WARNING: [#def68] rust-rav1e-0.7.1-build/src/lib.rs:133:14: warning: unexpected `cfg` condition value: `wasm` # | # 133 | if #[cfg(feature="wasm")] { # | ^^^^^^^ ------ help: there is a expected value with a similar name: `"asm"` # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `wasm` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def69] rust-rav1e-0.7.1-build/src/lib.rs:141:11: warning: unexpected `cfg` condition name: `cargo_c` # | # 141 | #[cfg(any(cargo_c, feature = "capi"))] # | ^^^^^^^ # | # = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_ [...] # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_c)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_c)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration # = note: `#[warn(unexpected_cfgs)]` on by default rust-rav1e-0.7.1-build/src/lib.rs:141:11: note: trimmed 1 message(s) with length over 512 Error: CLIPPY_WARNING: [#def70] rust-rav1e-0.7.1-build/src/lib.rs:341:13: warning: unexpected `cfg` condition name: `fuzzing` # | # 341 | any(test, fuzzing), # | ^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def71] rust-rav1e-0.7.1-build/src/lib.rs:342:7: warning: unexpected `cfg` condition value: `decode_test` # | # 342 | any(feature = "decode_test", feature = "decode_test_dav1d") # | ^^^^^^^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `decode_test` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def72] rust-rav1e-0.7.1-build/src/lib.rs:342:32: warning: unexpected `cfg` condition value: `decode_test_dav1d` # | # 342 | any(feature = "decode_test", feature = "decode_test_dav1d") # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `decode_test_dav1d` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def73] rust-rav1e-0.7.1-build/src/lib.rs:346:7: warning: unexpected `cfg` condition value: `bench` # | # 346 | #[cfg(feature = "bench")] # | ^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `bench` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def74] rust-rav1e-0.7.1-build/src/lib.rs:395:7: warning: unexpected `cfg` condition name: `fuzzing` # | # 395 | #[cfg(fuzzing)] # | ^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def75] rust-rav1e-0.7.1-build/src/lrf.rs:11:12: warning: unexpected `cfg` condition name: `nasm_x86_64` # | # 11 | if #[cfg(nasm_x86_64)] { # | ^^^^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def76] rust-rav1e-0.7.1-build/src/lrf.rs:1266:7: warning: fields `row` and `col` are never read # | # 1265 | pub struct RestorationPlaneOffset { # | ---------------------- fields in this struct # 1266 | pub row: usize, # | ^^^ # 1267 | pub col: usize, # | ^^^ # | # = note: `RestorationPlaneOffset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis # = note: `#[warn(dead_code)]` on by default Error: CLIPPY_WARNING: [#def77] rust-rav1e-0.7.1-build/src/mc.rs:11:12: warning: unexpected `cfg` condition name: `nasm_x86_64` # | # 11 | if #[cfg(nasm_x86_64)] { # | ^^^^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def78] rust-rav1e-0.7.1-build/src/mc.rs:13:19: warning: unexpected `cfg` condition name: `asm_neon` # | # 13 | } else if #[cfg(asm_neon)] { # | ^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def79] rust-rav1e-0.7.1-build/src/me.rs:1017:5: warning: doc list item without indentation # | # 1017 | /// don't overlap with the previous search step (labeled '2'). # | ^ # | # = help: if this is supposed to be its own paragraph, add a blank line # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation # = note: `#[warn(clippy::doc_lazy_continuation)]` on by default # help: indent this line # | # 1017 | /// don't overlap with the previous search step (labeled '2'). # | +++ Error: CLIPPY_WARNING: [#def80] rust-rav1e-0.7.1-build/src/me.rs:1155:5: warning: doc list item without indentation # | # 1155 | /// for the general direction of the motion. # | ^^ # | # = help: if this is supposed to be its own paragraph, add a blank line # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation # help: indent this line # | # 1155 | /// for the general direction of the motion. # | + Error: CLIPPY_WARNING: [#def81] rust-rav1e-0.7.1-build/src/partition.rs:607:17: warning: unexpected `cfg` condition value: `bench` # | # 607 | #[cfg(any(test, feature = "bench"))] # | ^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `bench` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def82] rust-rav1e-0.7.1-build/src/partition.rs:635:19: warning: unexpected `cfg` condition value: `bench` # | # 635 | #[cfg(any(test, feature = "bench"))] # | ^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `bench` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def83] rust-rav1e-0.7.1-build/src/predict.rs:17:12: warning: unexpected `cfg` condition name: `nasm_x86_64` # | # 17 | if #[cfg(nasm_x86_64)] { # | ^^^^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def84] rust-rav1e-0.7.1-build/src/predict.rs:19:19: warning: unexpected `cfg` condition name: `asm_neon` # | # 19 | } else if #[cfg(asm_neon)] { # | ^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def85] rust-rav1e-0.7.1-build/src/quantize/mod.rs:15:12: warning: unexpected `cfg` condition name: `nasm_x86_64` # | # 15 | if #[cfg(nasm_x86_64)] { # | ^^^^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def86] rust-rav1e-0.7.1-build/src/rate.rs:559:18: warning: `base_q_idx.saturating_add(63)` is never greater than `255` and has therefore no effect # | # 559 | let max_qi = base_q_idx.saturating_add(63).min(255); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `base_q_idx.saturating_add(63)` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_min_or_max # = note: `#[warn(clippy::unnecessary_min_or_max)]` on by default Error: CLIPPY_WARNING: [#def87] rust-rav1e-0.7.1-build/src/rate.rs:1206:42: warning: usage of a legacy numeric constant # | # 1206 | if !trial && self.nframes[fti] < ::std::i32::MAX { # | ^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants # help: use the associated constant instead # | # 1206 | if !trial && self.nframes[fti] < i32::MAX { # | ~~~~~~~~ Error: CLIPPY_WARNING: [#def88] rust-rav1e-0.7.1-build/src/rate.rs:1303:51: warning: usage of a legacy numeric constant # | # 1303 | if self.nencoded_frames + self.nsef_frames >= std::i32::MAX as i64 { # | ^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants # help: use the associated constant instead # | # 1303 | if self.nencoded_frames + self.nsef_frames >= i32::MAX as i64 { # | ~~~~~~~~ Error: CLIPPY_WARNING: [#def89] rust-rav1e-0.7.1-build/src/rdo.rs:109:16: warning: usage of a legacy numeric constant # | # 109 | rd_cost: std::f64::MAX, # | ^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants # = note: `#[warn(clippy::legacy_numeric_constants)]` on by default # help: use the associated constant instead # | # 109 | rd_cost: f64::MAX, # | ~~~~~~~~ Error: CLIPPY_WARNING: [#def90] rust-rav1e-0.7.1-build/src/rdo.rs:738:21: warning: usage of a legacy numeric constant # | # 738 | let mut best_rd = std::f64::MAX; # | ^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants # help: use the associated constant instead # | # 738 | let mut best_rd = f64::MAX; # | ~~~~~~~~ Error: CLIPPY_WARNING: [#def91] rust-rav1e-0.7.1-build/src/rdo.rs:1702:21: warning: usage of a legacy numeric constant # | # 1702 | let mut best_rd = std::f64::MAX; # | ^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants # help: use the associated constant instead # | # 1702 | let mut best_rd = f64::MAX; # | ~~~~~~~~ Error: CLIPPY_WARNING: [#def92] rust-rav1e-0.7.1-build/src/rdo.rs:2569:9: warning: called `unwrap` on `cdef_work` after checking its variant with `is_some` # | # 2567 | let lrf_input = if cdef_work.is_some() { # | ---------------------- help: try: `if let Some(<item>) = &cdef_work` # 2568 | // When CDEF is enabled, we pull from the CDEF output # 2569 | cdef_work.as_ref().unwrap() # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap # = note: `#[warn(clippy::unnecessary_unwrap)]` on by default Error: CLIPPY_WARNING: [#def93] rust-rav1e-0.7.1-build/src/sad_plane.rs:11:12: warning: unexpected `cfg` condition name: `nasm_x86_64` # | # 11 | if #[cfg(nasm_x86_64)] { # | ^^^^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def94] rust-rav1e-0.7.1-build/src/scenechange/mod.rs:22:16: warning: importing legacy numeric constants # | # 22 | use std::{cmp, u64}; # | ^^^ # | # = help: remove this import # = note: then `u64::<CONST>` will resolve to the respective associated constant # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants Error: CLIPPY_WARNING: [#def95] rust-rav1e-0.7.1-build/src/scenechange/mod.rs:68:18: warning: item in documentation is missing backticks # | # 68 | /// Buffer for FrameMEStats for cost scenecut # | ^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 68 | /// Buffer for `FrameMEStats` for cost scenecut # | ~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def96] rust-rav1e-0.7.1-build/src/scenechange/mod.rs:87:32: warning: item in documentation is missing backticks # | # 87 | /// Temporary buffer used by estimate_intra_costs. # | ^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown # help: try # | # 87 | /// Temporary buffer used by `estimate_intra_costs`. # | ~~~~~~~~~~~~~~~~~~~~~~ Error: CLIPPY_WARNING: [#def97] rust-rav1e-0.7.1-build/src/transform/forward.rs:16:12: warning: unexpected `cfg` condition name: `nasm_x86_64` # | # 16 | if #[cfg(nasm_x86_64)] { # | ^^^^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def98] rust-rav1e-0.7.1-build/src/transform/forward.rs:18:19: warning: unexpected `cfg` condition name: `asm_neon` # | # 18 | } else if #[cfg(asm_neon)] { # | ^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def99] rust-rav1e-0.7.1-build/src/transform/inverse.rs:11:12: warning: unexpected `cfg` condition name: `nasm_x86_64` # | # 11 | if #[cfg(nasm_x86_64)] { # | ^^^^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def100] rust-rav1e-0.7.1-build/src/transform/inverse.rs:13:19: warning: unexpected `cfg` condition name: `asm_neon` # | # 13 | } else if #[cfg(asm_neon)] { # | ^^^^^^^^ # | # = help: consider using a Cargo feature instead # = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: # [lints.rust] # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } # = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def101] rust-rav1e-0.7.1-build/src/transform/mod.rs:420:17: warning: unexpected `cfg` condition value: `bench` # | # 420 | #[cfg(any(test, feature = "bench"))] # | ^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `bench` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Error: CLIPPY_WARNING: [#def102] rust-rav1e-0.7.1-build/src/util/align.rs:32:17: warning: unexpected `cfg` condition value: `bench` # | # 32 | #[cfg(any(test, feature = "bench"))] # | ^^^^^^^^^^^^^^^^^ # | # = note: expected values for `feature` are: `asm`, `av-metrics`, `backtrace`, `binaries`, `capi`, `cc`, `channel-api`, `check_asm`, `clap`, `clap_complete`, `console`, `crossbeam`, `default`, `desync_finder`, `dump_ivf`, `fern`, `ivf`, `nasm-rs`, `nom`, `quick_test`, `scan_fmt`, `scenechange`, `serde`, `serde-big-array`, `serialize`, `signal-hook`, `signal_support`, `threading`, `toml`, `unstable`, and `y4m` # = help: consider adding `bench` as a feature in `Cargo.toml` # = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-188.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | rust-rav1e-0.7.1-4.fc42 |
store-results-to | /tmp/tmp2xj_3j1k/rust-rav1e-0.7.1-4.fc42.tar.xz |
time-created | 2024-11-13 03:14:43 |
time-finished | 2024-11-13 03:20:17 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp2xj_3j1k/rust-rav1e-0.7.1-4.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp2xj_3j1k/rust-rav1e-0.7.1-4.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |