Skip to content

Fix clippy

Fix clippy #113

Triggered via push December 29, 2023 03:18
Status Failure
Total duration 2m 49s
Artifacts

tests.yml

on: push
Matrix: Check
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

35 errors and 68 warnings
Test x86_64: float/src/lib.rs#L89
unused import: `third_party::*`
Test x86_64
could not compile `dashu-float` (lib) due to previous error
Test x86_64
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Test no-std: integer/tests/modular.rs#L136
expected `{[email protected]:136:38}` to be a closure that returns `&(Reduced<'_>, Reduced<'_>, Reduced<'_>)`, but it returns `(&Reduced<'_>, &Reduced<'_>, &Reduced<'_>)`
Test no-std: integer/tests/modular.rs#L138
expected `{[email protected]:136:38}` to be a closure that returns `&(Reduced<'_>, Reduced<'_>, Reduced<'_>)`, but it returns `(&Reduced<'_>, &Reduced<'_>, &Reduced<'_>)`
Test no-std: integer/tests/modular.rs#L138
expected `{[email protected]:136:38}` to be a closure that returns `&(Reduced<'_>, Reduced<'_>, Reduced<'_>)`, but it returns `(&Reduced<'_>, &Reduced<'_>, &Reduced<'_>)`
Test no-std: integer/tests/modular.rs#L205
expected `{[email protected]:205:38}` to be a closure that returns `&(Reduced<'_>, Reduced<'_>, Reduced<'_>)`, but it returns `(&Reduced<'_>, &Reduced<'_>, &Reduced<'_>)`
Test no-std: integer/tests/modular.rs#L207
expected `{[email protected]:205:38}` to be a closure that returns `&(Reduced<'_>, Reduced<'_>, Reduced<'_>)`, but it returns `(&Reduced<'_>, &Reduced<'_>, &Reduced<'_>)`
Test no-std: integer/tests/modular.rs#L207
expected `{[email protected]:205:38}` to be a closure that returns `&(Reduced<'_>, Reduced<'_>, Reduced<'_>)`, but it returns `(&Reduced<'_>, &Reduced<'_>, &Reduced<'_>)`
Test no-std
could not compile `dashu-int` (test "modular") due to 6 previous errors
Test no-std
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Clippy: integer/tests/modular.rs#L136
expected `{[email protected]:136:38}` to be a closure that returns `&(Reduced<'_>, Reduced<'_>, Reduced<'_>)`, but it returns `(&Reduced<'_>, &Reduced<'_>, &Reduced<'_>)`
Clippy: integer/tests/modular.rs#L138
expected `{[email protected]:136:38}` to be a closure that returns `&(Reduced<'_>, Reduced<'_>, Reduced<'_>)`, but it returns `(&Reduced<'_>, &Reduced<'_>, &Reduced<'_>)`
Clippy: integer/tests/modular.rs#L138
expected `{[email protected]:136:38}` to be a closure that returns `&(Reduced<'_>, Reduced<'_>, Reduced<'_>)`, but it returns `(&Reduced<'_>, &Reduced<'_>, &Reduced<'_>)`
Clippy: integer/tests/modular.rs#L205
expected `{[email protected]:205:38}` to be a closure that returns `&(Reduced<'_>, Reduced<'_>, Reduced<'_>)`, but it returns `(&Reduced<'_>, &Reduced<'_>, &Reduced<'_>)`
Clippy: integer/tests/modular.rs#L207
expected `{[email protected]:205:38}` to be a closure that returns `&(Reduced<'_>, Reduced<'_>, Reduced<'_>)`, but it returns `(&Reduced<'_>, &Reduced<'_>, &Reduced<'_>)`
Clippy: integer/tests/modular.rs#L207
expected `{[email protected]:205:38}` to be a closure that returns `&(Reduced<'_>, Reduced<'_>, Reduced<'_>)`, but it returns `(&Reduced<'_>, &Reduced<'_>, &Reduced<'_>)`
Clippy
could not compile `dashu-int` (test "modular") due to 6 previous errors
Clippy
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Test x86: float/src/lib.rs#L89
unused import: `third_party::*`
Test x86
could not compile `dashu-float` (lib) due to previous error
Test x86
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Test (16): float/src/lib.rs#L89
unused import: `third_party::*`
Test (16): rational/src/lib.rs#L76
unused import: `third_party::*`
Test (16)
could not compile `dashu-ratio` (lib) due to previous error
Test (16)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Test (64): float/src/lib.rs#L89
unused import: `third_party::*`
Test (64): rational/src/lib.rs#L76
unused import: `third_party::*`
Test (64)
could not compile `dashu-float` (lib) due to previous error
Test (64)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Test (32)
The operation was canceled.
Build benchmark: float/src/lib.rs#L89
unused import: `third_party::*`
Build benchmark: rational/src/lib.rs#L76
unused import: `third_party::*`
Build benchmark
could not compile `dashu-ratio` (lib) due to previous error
Build benchmark
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Rustfmt
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Rustfmt
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
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
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
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/
Check (stable)
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check (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/
Check (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/
Check (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/
Check (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/
Check (stable): rational/src/lib.rs#L76
unused import: `third_party::*`
Check (stable)
`dashu-ratio` (lib) generated 1 warning (run `cargo fix --lib -p dashu-ratio` to apply 1 suggestion)
Check (stable): float/src/lib.rs#L89
unused import: `third_party::*`
Check (stable)
`dashu-float` (lib) generated 1 warning (run `cargo fix --lib -p dashu-float` to apply 1 suggestion)
Test x86_64
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test x86_64
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/
Test x86_64
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/
Test x86_64
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/
Test x86_64
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/
Test no-std
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test 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/
Test 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/
Test 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/
Test 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/
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
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/
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/
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/
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/
Build aarch64
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build aarch64: float/src/lib.rs#L89
unused import: `third_party::*`
Build aarch64
`dashu-float` (lib) generated 1 warning (run `cargo fix --lib -p dashu-float` to apply 1 suggestion)
Build aarch64: rational/src/lib.rs#L76
unused import: `third_party::*`
Build aarch64
`dashu-ratio` (lib) generated 1 warning (run `cargo fix --lib -p dashu-ratio` to apply 1 suggestion)
Build aarch64
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/
Build aarch64
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/
Build aarch64
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/
Build aarch64
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/
Test x86
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test x86
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/
Test x86
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/
Test x86
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/
Test x86
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/
Test (16)
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (16)
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/
Test (16)
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/
Test (16)
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/
Test (16)
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/
Test (64)
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (64)
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/
Test (64)
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/
Test (64)
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/
Test (64)
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/
Test (32)
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (32)
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/
Test (32)
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/
Test (32)
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/
Test (32)
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/
Check (1.64)
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check (1.64)
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/
Check (1.64)
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/
Check (1.64)
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/
Check (1.64)
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/
Build benchmark
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build benchmark
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/
Build benchmark
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/
Build benchmark
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/
Build benchmark
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/