Skip to content

fix: use rounding for float-to-integer conversions #94

fix: use rounding for float-to-integer conversions

fix: use rounding for float-to-integer conversions #94

Triggered via pull request September 9, 2025 06:13
Status Success
Total duration 52s
Artifacts

dasp.yml

on: pull_request
cargo-fmt-check
14s
cargo-fmt-check
cargo-test
47s
cargo-test
cargo-test-no-default-features
44s
cargo-test-no-default-features
cargo-test-all-features
47s
cargo-test-all-features
cargo-test-all-features-no-std
38s
cargo-test-all-features-no-std
cargo-doc
32s
cargo-doc
cargo-publish
0s
cargo-publish
Fit to window
Zoom out
Zoom in

Annotations

144 warnings
cargo-fmt-check
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-fmt-check
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-fmt-check
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-fmt-check
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-doc
output filename collision.
cargo-doc
output filename collision.
cargo-doc
output filename collision.
cargo-doc
output filename collision.
cargo-doc
output filename collision.
cargo-doc
output filename collision.
cargo-doc
output filename collision.
cargo-doc
output filename collision.
cargo-doc
output filename collision.
cargo-doc
output filename collision.
cargo-doc
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-doc
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-doc
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-doc
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-test-all-features-no-std: dasp_envelope/src/lib.rs#L26
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-all-features-no-std
`dasp_envelope` (lib) generated 1 warning
cargo-test-all-features-no-std: dasp_envelope/src/lib.rs#L26
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-all-features-no-std
`dasp_ring_buffer` (lib) generated 6 warnings (run `cargo fix --lib -p dasp_ring_buffer` to apply 6 suggestions)
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L765
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L618
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L609
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L314
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L308
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L302
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std
1 warning emitted
cargo-test-all-features-no-std: dasp_window/src/lib.rs#L19
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-all-features-no-std
`dasp_window` (lib) generated 1 warning
cargo-test-all-features-no-std: dasp_window/src/lib.rs#L19
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-all-features-no-std: dasp_interpolate/src/lib.rs#L26
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-all-features-no-std
`dasp_interpolate` (lib) generated 1 warning
cargo-test-all-features-no-std: dasp_interpolate/src/lib.rs#L26
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-all-features-no-std
`dasp_ring_buffer` (lib) generated 6 warnings (run `cargo fix --lib -p dasp_ring_buffer` to apply 6 suggestions)
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L765
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L618
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L609
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L314
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L308
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L302
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std
`dasp_interpolate` (lib) generated 1 warning
cargo-test-all-features-no-std: dasp_interpolate/src/lib.rs#L26
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-all-features-no-std
`dasp_ring_buffer` (lib) generated 6 warnings (run `cargo fix --lib -p dasp_ring_buffer` to apply 6 suggestions)
cargo-test-all-features-no-std: dasp_window/src/lib.rs#L19
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L765
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L618
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L609
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L314
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L308
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L302
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_interpolate/src/lib.rs#L26
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-all-features-no-std
`dasp_window` (lib) generated 1 warning
cargo-test-all-features-no-std: dasp_window/src/lib.rs#L19
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-all-features-no-std
`dasp_ring_buffer` (lib) generated 6 warnings (run `cargo fix --lib -p dasp_ring_buffer` to apply 6 suggestions)
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L765
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L618
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L609
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L314
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L308
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std: dasp_ring_buffer/src/lib.rs#L302
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features-no-std
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-test-all-features-no-std
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-test-all-features-no-std
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-test-all-features-no-std
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-test-no-default-features: dasp_envelope/src/lib.rs#L26
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-no-default-features: dasp_window/src/lib.rs#L19
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-no-default-features: dasp_interpolate/src/lib.rs#L26
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-no-default-features
`dasp_ring_buffer` (lib) generated 6 warnings (run `cargo fix --lib -p dasp_ring_buffer` to apply 6 suggestions)
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L765
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L618
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L609
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L314
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L308
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L302
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features
`dasp_ring_buffer` (lib) generated 6 warnings (run `cargo fix --lib -p dasp_ring_buffer` to apply 6 suggestions)
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L765
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L618
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L609
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L314
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L308
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L302
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features
`dasp_ring_buffer` (lib test) generated 6 warnings (6 duplicates)
cargo-test-no-default-features: dasp_ring_buffer/tests/ring_buffer.rs#L24
unused return value of `from` that must be used
cargo-test-no-default-features
`dasp_ring_buffer` (lib) generated 6 warnings (run `cargo fix --lib -p dasp_ring_buffer` to apply 6 suggestions)
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L765
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L618
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L609
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L314
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L308
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L302
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_interpolate/src/lib.rs#L26
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-no-default-features
`dasp_interpolate` (lib) generated 1 warning
cargo-test-no-default-features: dasp_interpolate/src/lib.rs#L26
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-no-default-features
`dasp_ring_buffer` (lib) generated 6 warnings (run `cargo fix --lib -p dasp_ring_buffer` to apply 6 suggestions)
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L765
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L618
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L609
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L314
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L308
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L302
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_envelope/src/lib.rs#L26
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-no-default-features
`dasp_envelope` (lib) generated 1 warning
cargo-test-no-default-features: dasp_envelope/src/lib.rs#L26
the feature `core_intrinsics` is internal to the compiler or standard library
cargo-test-no-default-features
`dasp_ring_buffer` (lib) generated 6 warnings (run `cargo fix --lib -p dasp_ring_buffer` to apply 6 suggestions)
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L765
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L618
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L609
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L314
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L308
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features: dasp_ring_buffer/src/lib.rs#L302
hiding a lifetime that's elided elsewhere is confusing
cargo-test-no-default-features
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-test-no-default-features
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-test-no-default-features
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-test-no-default-features
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-test: dasp_signal/src/lib.rs#L2452
hiding a lifetime that's elided elsewhere is confusing
cargo-test: dasp_signal/src/lib.rs#L1132
hiding a lifetime that's elided elsewhere is confusing
cargo-test: dasp_signal/src/lib.rs#L60
unexpected `cfg` condition name: `features`
cargo-test
`dasp_ring_buffer` (lib) generated 6 warnings
cargo-test: dasp_ring_buffer/src/lib.rs#L765
hiding a lifetime that's elided elsewhere is confusing
cargo-test: dasp_ring_buffer/src/lib.rs#L618
hiding a lifetime that's elided elsewhere is confusing
cargo-test: dasp_ring_buffer/src/lib.rs#L609
hiding a lifetime that's elided elsewhere is confusing
cargo-test: dasp_ring_buffer/src/lib.rs#L314
hiding a lifetime that's elided elsewhere is confusing
cargo-test: dasp_ring_buffer/src/lib.rs#L308
hiding a lifetime that's elided elsewhere is confusing
cargo-test: dasp_ring_buffer/src/lib.rs#L302
hiding a lifetime that's elided elsewhere is confusing
cargo-test
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-test
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-test
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-test
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-test-all-features: dasp_signal/src/lib.rs#L2452
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features: dasp_signal/src/lib.rs#L1132
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features: dasp_signal/src/lib.rs#L60
unexpected `cfg` condition name: `features`
cargo-test-all-features
`dasp_ring_buffer` (lib) generated 6 warnings
cargo-test-all-features: dasp_ring_buffer/src/lib.rs#L765
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features: dasp_ring_buffer/src/lib.rs#L618
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features: dasp_ring_buffer/src/lib.rs#L609
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features: dasp_ring_buffer/src/lib.rs#L314
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features: dasp_ring_buffer/src/lib.rs#L308
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features: dasp_ring_buffer/src/lib.rs#L302
hiding a lifetime that's elided elsewhere is confusing
cargo-test-all-features
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-test-all-features
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-test-all-features
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-test-all-features
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/