Skip to content

Fix clippy lints

Fix clippy lints #349

Triggered via push November 1, 2024 12:18
Status Failure
Total duration 2m 4s
Artifacts

ci.yaml

on: push
Matrix: Cargo check and test
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 140 warnings
Cargo clippy: spirv/autogen_spirv.rs#L3115
unreachable call
Cargo clippy: spirv/autogen_spirv.rs#L3115
this match could be replaced by its body itself
Cargo clippy: spirv/autogen_spirv.rs#L3125
this match could be replaced by its body itself
Cargo clippy
could not compile `spirv` (lib) due to 3 previous errors
Cargo clippy
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Cargo fmt
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/
Cargo fmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Cargo fmt
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
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
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
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 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/
Cargo clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Cargo 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/
Cargo 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/
Cargo 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/
Cargo 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/
Run autogen
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/
Run autogen
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run autogen: autogen/src/structs.rs#L47
fields `doc` and `bases` are never read
Run autogen: autogen/src/structs.rs#L56
field `copyright` is never read
Run autogen: autogen/src/structs.rs#L68
fields `copyright`, `version`, and `revision` are never read
Run autogen
`rspirv-autogen` (bin "rspirv-autogen") generated 3 warnings
Run autogen
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/
Run autogen
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/
Run autogen
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/
Run autogen
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 check and test (macos-latest, 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/
Cargo check and test (macos-latest, stable)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Cargo check and test (macos-latest, stable)
`spirv` (lib) generated 1 warning
Cargo check and test (macos-latest, stable): autogen/src/structs.rs#L47
fields `doc` and `bases` are never read
Cargo check and test (macos-latest, stable): autogen/src/structs.rs#L56
field `copyright` is never read
Cargo check and test (macos-latest, stable): autogen/src/structs.rs#L68
fields `copyright`, `version`, and `revision` are never read
Cargo check and test (macos-latest, stable)
`rspirv-autogen` (bin "rspirv-autogen") generated 3 warnings
Cargo check and test (macos-latest, stable)
`rspirv-autogen` (bin "rspirv-autogen" test) generated 3 warnings (3 duplicates)
Cargo check and test (macos-latest, stable)
`spirv` (lib) generated 1 warning
Cargo check and test (macos-latest, stable): autogen/src/structs.rs#L47
fields `doc` and `bases` are never read
Cargo check and test (macos-latest, stable): autogen/src/structs.rs#L56
field `copyright` is never read
Cargo check and test (macos-latest, stable): autogen/src/structs.rs#L68
fields `copyright`, `version`, and `revision` are never read
Cargo check and test (macos-latest, stable)
`rspirv-autogen` (bin "rspirv-autogen" test) generated 3 warnings
Cargo check and test (macos-latest, stable)
`spirv` (lib test) generated 1 warning (1 duplicate)
Cargo check and test (macos-latest, 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 check and test (macos-latest, 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 check and test (macos-latest, 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 check and test (macos-latest, 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 check and test (ubuntu-latest, nightly)
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/
Cargo check and test (ubuntu-latest, nightly)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Cargo check and test (ubuntu-latest, nightly)
`spirv` (lib) generated 1 warning
Cargo check and test (ubuntu-latest, nightly)
`spirv` (lib test) generated 1 warning (1 duplicate)
Cargo check and test (ubuntu-latest, nightly): autogen/src/structs.rs#L47
fields `doc` and `bases` are never read
Cargo check and test (ubuntu-latest, nightly): autogen/src/structs.rs#L56
field `copyright` is never read
Cargo check and test (ubuntu-latest, nightly): autogen/src/structs.rs#L68
fields `copyright`, `version`, and `revision` are never read
Cargo check and test (ubuntu-latest, nightly)
`rspirv-autogen` (bin "rspirv-autogen" test) generated 3 warnings
Cargo check and test (ubuntu-latest, 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 check and test (ubuntu-latest, 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 check and test (ubuntu-latest, 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 check and test (ubuntu-latest, 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 check and test (ubuntu-latest, nightly)
`spirv` (lib) generated 1 warning
Cargo check and test (ubuntu-latest, nightly): autogen/src/structs.rs#L47
fields `doc` and `bases` are never read
Cargo check and test (ubuntu-latest, nightly): autogen/src/structs.rs#L56
field `copyright` is never read
Cargo check and test (ubuntu-latest, nightly): autogen/src/structs.rs#L68
fields `copyright`, `version`, and `revision` are never read
Cargo check and test (ubuntu-latest, nightly)
`rspirv-autogen` (bin "rspirv-autogen" test) generated 3 warnings
Cargo check and test (ubuntu-latest, nightly)
`spirv` (lib test) generated 1 warning (1 duplicate)
Cargo check and test (macos-latest, nightly)
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/
Cargo check and test (macos-latest, nightly)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Cargo check and test (macos-latest, nightly)
`spirv` (lib) generated 1 warning
Cargo check and test (macos-latest, nightly): autogen/src/structs.rs#L47
fields `doc` and `bases` are never read
Cargo check and test (macos-latest, nightly): autogen/src/structs.rs#L56
field `copyright` is never read
Cargo check and test (macos-latest, nightly): autogen/src/structs.rs#L68
fields `copyright`, `version`, and `revision` are never read
Cargo check and test (macos-latest, nightly)
`rspirv-autogen` (bin "rspirv-autogen" test) generated 3 warnings
Cargo check and test (macos-latest, nightly)
`spirv` (lib test) generated 1 warning (1 duplicate)
Cargo check and test (macos-latest, 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 check and test (macos-latest, 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 check and test (macos-latest, 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 check and test (macos-latest, 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 check and test (macos-latest, nightly)
`spirv` (lib) generated 1 warning
Cargo check and test (macos-latest, nightly): autogen/src/structs.rs#L47
fields `doc` and `bases` are never read
Cargo check and test (macos-latest, nightly): autogen/src/structs.rs#L56
field `copyright` is never read
Cargo check and test (macos-latest, nightly): autogen/src/structs.rs#L68
fields `copyright`, `version`, and `revision` are never read
Cargo check and test (macos-latest, nightly)
`rspirv-autogen` (bin "rspirv-autogen") generated 3 warnings
Cargo check and test (macos-latest, nightly)
`rspirv-autogen` (bin "rspirv-autogen" test) generated 3 warnings (3 duplicates)
Cargo check and test (ubuntu-latest, 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/
Cargo check and test (ubuntu-latest, stable)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Cargo check and test (ubuntu-latest, stable)
`spirv` (lib) generated 1 warning
Cargo check and test (ubuntu-latest, stable)
`spirv` (lib test) generated 1 warning (1 duplicate)
Cargo check and test (ubuntu-latest, stable): autogen/src/structs.rs#L47
fields `doc` and `bases` are never read
Cargo check and test (ubuntu-latest, stable): autogen/src/structs.rs#L56
field `copyright` is never read
Cargo check and test (ubuntu-latest, stable): autogen/src/structs.rs#L68
fields `copyright`, `version`, and `revision` are never read
Cargo check and test (ubuntu-latest, stable)
`rspirv-autogen` (bin "rspirv-autogen" test) generated 3 warnings
Cargo check and test (ubuntu-latest, 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 check and test (ubuntu-latest, 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 check and test (ubuntu-latest, 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 check and test (ubuntu-latest, 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 check and test (ubuntu-latest, stable)
`spirv` (lib) generated 1 warning
Cargo check and test (ubuntu-latest, stable): autogen/src/structs.rs#L47
fields `doc` and `bases` are never read
Cargo check and test (ubuntu-latest, stable): autogen/src/structs.rs#L56
field `copyright` is never read
Cargo check and test (ubuntu-latest, stable): autogen/src/structs.rs#L68
fields `copyright`, `version`, and `revision` are never read
Cargo check and test (ubuntu-latest, stable)
`rspirv-autogen` (bin "rspirv-autogen" test) generated 3 warnings
Cargo check and test (windows-latest, nightly)
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/
Cargo check and test (windows-latest, nightly)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Cargo check and test (windows-latest, nightly)
`spirv` (lib) generated 1 warning
Cargo check and test (windows-latest, nightly)
`spirv` (lib test) generated 1 warning (1 duplicate)
Cargo check and test (windows-latest, nightly): autogen/src/structs.rs#L47
fields `doc` and `bases` are never read
Cargo check and test (windows-latest, nightly): autogen/src/structs.rs#L56
field `copyright` is never read
Cargo check and test (windows-latest, nightly): autogen/src/structs.rs#L68
fields `copyright`, `version`, and `revision` are never read
Cargo check and test (windows-latest, nightly)
`rspirv-autogen` (bin "rspirv-autogen") generated 3 warnings
Cargo check and test (windows-latest, 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 check and test (windows-latest, 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 check and test (windows-latest, 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 check and test (windows-latest, 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 check and test (windows-latest, nightly)
`spirv` (lib) generated 1 warning
Cargo check and test (windows-latest, nightly): autogen/src/structs.rs#L47
fields `doc` and `bases` are never read
Cargo check and test (windows-latest, nightly): autogen/src/structs.rs#L56
field `copyright` is never read
Cargo check and test (windows-latest, nightly): autogen/src/structs.rs#L68
fields `copyright`, `version`, and `revision` are never read
Cargo check and test (windows-latest, nightly)
`rspirv-autogen` (bin "rspirv-autogen" test) generated 3 warnings
Cargo check and test (windows-latest, nightly)
`spirv` (lib test) generated 1 warning (1 duplicate)
Cargo check and test (windows-latest, 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/
Cargo check and test (windows-latest, stable)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Cargo check and test (windows-latest, stable)
`spirv` (lib) generated 1 warning
Cargo check and test (windows-latest, stable): autogen/src/structs.rs#L47
fields `doc` and `bases` are never read
Cargo check and test (windows-latest, stable): autogen/src/structs.rs#L56
field `copyright` is never read
Cargo check and test (windows-latest, stable): autogen/src/structs.rs#L68
fields `copyright`, `version`, and `revision` are never read
Cargo check and test (windows-latest, stable)
`rspirv-autogen` (bin "rspirv-autogen" test) generated 3 warnings
Cargo check and test (windows-latest, 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 check and test (windows-latest, 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 check and test (windows-latest, 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 check and test (windows-latest, 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 check and test (windows-latest, stable)
`spirv` (lib) generated 1 warning
Cargo check and test (windows-latest, stable)
`spirv` (lib test) generated 1 warning (1 duplicate)
Cargo check and test (windows-latest, stable): autogen/src/structs.rs#L47
fields `doc` and `bases` are never read
Cargo check and test (windows-latest, stable): autogen/src/structs.rs#L56
field `copyright` is never read
Cargo check and test (windows-latest, stable): autogen/src/structs.rs#L68
fields `copyright`, `version`, and `revision` are never read
Cargo check and test (windows-latest, stable)
`rspirv-autogen` (bin "rspirv-autogen" test) generated 3 warnings (1 duplicate)