Skip to content

Return NaN from history if any of the calculations end up as NaN #121

Return NaN from history if any of the calculations end up as NaN

Return NaN from history if any of the calculations end up as NaN #121

Triggered via pull request June 3, 2024 13:11
@sdroegesdroege
synchronize #55
avoid-nan
Status Failure
Total duration 2m 17s
Artifacts

ebur128.yml

on: pull_request
rustfmt-clippy
1m 6s
rustfmt-clippy
Matrix: cargo-c-tests
Matrix: ubuntu-tests
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 42 warnings
unused `std::result::Result` that must be used: src/filter.rs#L839
error: unused `std::result::Result` that must be used --> src/filter.rs:839:13 | 839 | / f.process( 840 | | crate::Interleaved::new( 841 | | &signal.data[..(frames * signal.channels as usize)], 842 | | signal.channels as usize, ... | 847 | | &channel_map, 848 | | ); | |_____________^ | = note: this `Result` may be an `Err` variant, which should be handled help: use `let _ = ...` to ignore the resulting value | 839 | let _ = f.process( | +++++++
unused `std::result::Result` that must be used: src/filter.rs#L751
error: unused `std::result::Result` that must be used --> src/filter.rs:751:13 | 751 | / f.process( 752 | | crate::Interleaved::new( 753 | | &signal.data[..(frames * signal.channels as usize)], 754 | | signal.channels as usize, ... | 759 | | &channel_map, 760 | | ); | |_____________^ | = note: this `Result` may be an `Err` variant, which should be handled help: use `let _ = ...` to ignore the resulting value | 751 | let _ = f.process( | +++++++
unused `std::result::Result` that must be used: src/filter.rs#L663
error: unused `std::result::Result` that must be used --> src/filter.rs:663:13 | 663 | / f.process( 664 | | crate::Interleaved::new( 665 | | &signal.data[..(frames * signal.channels as usize)], 666 | | signal.channels as usize, ... | 671 | | &channel_map, 672 | | ); | |_____________^ | = note: this `Result` may be an `Err` variant, which should be handled help: use `let _ = ...` to ignore the resulting value | 663 | let _ = f.process( | +++++++
unused `std::result::Result` that must be used: src/filter.rs#L575
error: unused `std::result::Result` that must be used --> src/filter.rs:575:13 | 575 | / f.process( 576 | | crate::Interleaved::new( 577 | | &signal.data[..(frames * signal.channels as usize)], 578 | | signal.channels as usize, ... | 583 | | &channel_map, 584 | | ); | |_____________^ | = note: this `Result` may be an `Err` variant, which should be handled = note: `-D unused-must-use` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_must_use)]` help: use `let _ = ...` to ignore the resulting value | 575 | let _ = f.process( | +++++++
unused `std::result::Result` that must be used: benches/filter.rs#L289
error: unused `std::result::Result` that must be used --> benches/filter.rs:289:21 | 289 | / f.process( 290 | | black_box(ebur128::Planar::new(&[fst, snd]).unwrap()), 291 | | black_box(&mut data_out), 292 | | black_box(0), 293 | | black_box(&channel_map), 294 | | ); | |_____________________^ | = note: this `Result` may be an `Err` variant, which should be handled help: use `let _ = ...` to ignore the resulting value | 289 | let _ = f.process( | +++++++
unused `std::result::Result` that must be used: benches/filter.rs#L277
error: unused `std::result::Result` that must be used --> benches/filter.rs:277:21 | 277 | / f.process( 278 | | black_box(ebur128::Interleaved::new(&data, 2).unwrap()), 279 | | black_box(&mut data_out), 280 | | black_box(0), 281 | | black_box(&channel_map), 282 | | ); | |_____________________^ | = note: this `Result` may be an `Err` variant, which should be handled help: use `let _ = ...` to ignore the resulting value | 277 | let _ = f.process( | +++++++
unused `std::result::Result` that must be used: benches/filter.rs#L225
error: unused `std::result::Result` that must be used --> benches/filter.rs:225:21 | 225 | / f.process( 226 | | black_box(ebur128::Planar::new(&[fst, snd]).unwrap()), 227 | | black_box(&mut data_out), 228 | | black_box(0), 229 | | black_box(&channel_map), 230 | | ); | |_____________________^ | = note: this `Result` may be an `Err` variant, which should be handled help: use `let _ = ...` to ignore the resulting value | 225 | let _ = f.process( | +++++++
unused `std::result::Result` that must be used: benches/filter.rs#L213
error: unused `std::result::Result` that must be used --> benches/filter.rs:213:21 | 213 | / f.process( 214 | | black_box(ebur128::Interleaved::new(&data, 2).unwrap()), 215 | | black_box(&mut data_out), 216 | | black_box(0), 217 | | black_box(&channel_map), 218 | | ); | |_____________________^ | = note: this `Result` may be an `Err` variant, which should be handled help: use `let _ = ...` to ignore the resulting value | 213 | let _ = f.process( | +++++++
unused `std::result::Result` that must be used: benches/filter.rs#L161
error: unused `std::result::Result` that must be used --> benches/filter.rs:161:21 | 161 | / f.process( 162 | | black_box(ebur128::Planar::new(&[fst, snd]).unwrap()), 163 | | black_box(&mut data_out), 164 | | black_box(0), 165 | | black_box(&channel_map), 166 | | ); | |_____________________^ | = note: this `Result` may be an `Err` variant, which should be handled help: use `let _ = ...` to ignore the resulting value | 161 | let _ = f.process( | +++++++
unused `std::result::Result` that must be used: benches/filter.rs#L149
error: unused `std::result::Result` that must be used --> benches/filter.rs:149:21 | 149 | / f.process( 150 | | black_box(ebur128::Interleaved::new(&data, 2).unwrap()), 151 | | black_box(&mut data_out), 152 | | black_box(0), 153 | | black_box(&channel_map), 154 | | ); | |_____________________^ | = note: this `Result` may be an `Err` variant, which should be handled help: use `let _ = ...` to ignore the resulting value | 149 | let _ = f.process( | +++++++
unused `std::result::Result` that must be used: benches/filter.rs#L97
error: unused `std::result::Result` that must be used --> benches/filter.rs:97:21 | 97 | / f.process( 98 | | black_box(ebur128::Planar::new(&[fst, snd]).unwrap()), 99 | | black_box(&mut data_out), 100 | | black_box(0), 101 | | black_box(&channel_map), 102 | | ); | |_____________________^ | = note: this `Result` may be an `Err` variant, which should be handled help: use `let _ = ...` to ignore the resulting value | 97 | let _ = f.process( | +++++++
unused `std::result::Result` that must be used: benches/filter.rs#L85
error: unused `std::result::Result` that must be used --> benches/filter.rs:85:21 | 85 | / f.process( 86 | | black_box(ebur128::Interleaved::new(&data, 2).unwrap()), 87 | | black_box(&mut data_out), 88 | | black_box(0), 89 | | black_box(&channel_map), 90 | | ); | |_____________________^ | = note: this `Result` may be an `Err` variant, which should be handled = note: `-D unused-must-use` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_must_use)]` help: use `let _ = ...` to ignore the resulting value | 85 | let _ = f.process( | +++++++
rustfmt-clippy
could not compile `ebur128` (bench "filter") due to 9 previous errors
rustfmt-clippy
could not compile `ebur128` (lib test) due to 5 previous errors
rustfmt-clippy
Clippy had exited with the 101 exit code
rustfmt-clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
rustfmt-clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
rustfmt-clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
rustfmt-clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
rustfmt-clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
rustfmt-clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ubuntu-tests (beta)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ubuntu-tests (beta)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ubuntu-tests (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ubuntu-tests (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ubuntu-tests (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ubuntu-tests (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
cargo-c-tests (beta)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
cargo-c-tests (beta)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
cargo-c-tests (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
cargo-c-tests (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
cargo-c-tests (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
cargo-c-tests (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ubuntu-tests (stable)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ubuntu-tests (stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ubuntu-tests (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ubuntu-tests (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ubuntu-tests (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ubuntu-tests (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
cargo-c-tests (stable)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
cargo-c-tests (stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
cargo-c-tests (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
cargo-c-tests (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
cargo-c-tests (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
cargo-c-tests (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ubuntu-tests (nightly)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ubuntu-tests (nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ubuntu-tests (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ubuntu-tests (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ubuntu-tests (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ubuntu-tests (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
cargo-c-tests (nightly)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
cargo-c-tests (nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
cargo-c-tests (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
cargo-c-tests (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
cargo-c-tests (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
cargo-c-tests (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/