Skip to content

Fix clippy lints

Fix clippy lints #347

Triggered via push November 1, 2024 11:53
Status Failure
Total duration 1m 59s
Artifacts

ci.yaml

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

Annotations

34 errors and 97 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 check and test (macos-latest, stable): rspirv/lift/mod.rs#L265
pattern does not mention field `floating_point_encoding`
Cargo check and test (macos-latest, stable): rspirv/sr/types.rs#L37
pattern does not mention field `floating_point_encoding`
Cargo check and test (macos-latest, stable): rspirv/sr/types.rs#L37
pattern does not mention field `floating_point_encoding`
Cargo check and test (macos-latest, stable)
could not compile `rspirv` (lib) due to 3 previous errors
Cargo check and test (macos-latest, stable)
The process '/Users/runner/.cargo/bin/cargo' failed with exit code 101
Cargo check and test (ubuntu-latest, stable): rspirv/sr/types.rs#L37
pattern does not mention field `floating_point_encoding`
Cargo check and test (ubuntu-latest, stable): rspirv/sr/types.rs#L37
pattern does not mention field `floating_point_encoding`
Cargo check and test (ubuntu-latest, stable)
could not compile `rspirv` (lib) due to 3 previous errors
Cargo check and test (ubuntu-latest, stable)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Cargo check and test (ubuntu-latest, nightly): rspirv/lift/mod.rs#L265
pattern does not mention field `floating_point_encoding`
Cargo check and test (ubuntu-latest, nightly): rspirv/sr/types.rs#L37
pattern does not mention field `floating_point_encoding`
Cargo check and test (ubuntu-latest, nightly): rspirv/sr/types.rs#L37
pattern does not mention field `floating_point_encoding`
Cargo check and test (ubuntu-latest, nightly)
could not compile `rspirv` (lib) due to 3 previous errors
Cargo check and test (ubuntu-latest, nightly)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Cargo check and test (macos-latest, nightly): rspirv/lift/mod.rs#L265
pattern does not mention field `floating_point_encoding`
Cargo check and test (macos-latest, nightly): rspirv/sr/types.rs#L37
pattern does not mention field `floating_point_encoding`
Cargo check and test (macos-latest, nightly): rspirv/sr/types.rs#L37
pattern does not mention field `floating_point_encoding`
Cargo check and test (macos-latest, nightly)
could not compile `rspirv` (lib) due to 3 previous errors
Cargo check and test (macos-latest, nightly)
The process '/Users/runner/.cargo/bin/cargo' failed with exit code 101
Cargo check and test (windows-latest, nightly): rspirv/sr/types.rs#L37
pattern does not mention field `floating_point_encoding`
Cargo check and test (windows-latest, nightly): rspirv/sr/types.rs#L37
pattern does not mention field `floating_point_encoding`
Cargo check and test (windows-latest, nightly)
could not compile `rspirv` (lib) due to 3 previous errors
Cargo check and test (windows-latest, nightly)
The process 'C:\Users\runneradmin\.cargo\bin\cargo.exe' failed with exit code 101
Cargo check and test (windows-latest, stable): rspirv/lift/mod.rs#L265
pattern does not mention field `floating_point_encoding`
Cargo check and test (windows-latest, stable): rspirv/sr/types.rs#L37
pattern does not mention field `floating_point_encoding`
Cargo check and test (windows-latest, stable): rspirv/sr/types.rs#L37
pattern does not mention field `floating_point_encoding`
Cargo check and test (windows-latest, stable)
could not compile `rspirv` (lib) due to 3 previous errors
Cargo check and test (windows-latest, stable)
could not compile `rspirv` (lib test) due to 3 previous errors
Cargo check and test (windows-latest, stable)
The process 'C:\Users\runneradmin\.cargo\bin\cargo.exe' 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/
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)
build failed, waiting for other jobs to finish...
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)
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/
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 (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)
build failed, waiting for other jobs to finish...
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, 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)
build failed, waiting for other jobs to finish...
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 (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)
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)
build failed, waiting for other jobs to finish...
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 (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)
build failed, waiting for other jobs to finish...
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, 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)
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)
build failed, waiting for other jobs to finish...