Skip to content

Utils Cleanup

Utils Cleanup #33

Triggered via pull request August 7, 2023 01:13
Status Success
Total duration 4m 56s
Artifacts

main.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

44 warnings
Test (linux-release)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@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 (linux-release): LLama/OldVersion/LLamaModel.cs#L107
Cannot convert null literal to non-nullable reference type.
Test (linux-release): LLama/OldVersion/LLamaModel.cs#L112
Cannot convert null literal to non-nullable reference type.
Test (linux-release): LLama/OldVersion/LLamaParams.cs#L61
Cannot convert null literal to non-nullable reference type.
Test (linux-release): LLama/OldVersion/LLamaParams.cs#L67
Cannot convert null literal to non-nullable reference type.
Test (linux-release): LLama/OldVersion/LLamaModel.cs#L236
Dereference of a possibly null reference.
Test (linux-release): LLama/OldVersion/LLamaModel.cs#L172
Non-nullable field '_embed_inp' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Test (linux-release): LLama/OldVersion/LLamaModel.cs#L422
Possible null reference argument for parameter 'prompt' in 'LLamaModel LLamaModel.WithPrompt(string prompt, string encoding = "UTF-8")'.
Test (linux-release): LLama/Common/Logger.cs#L38
Cannot convert null literal to non-nullable reference type.
Test (linux-release): LLama/Common/Logger.cs#L72
Cannot convert null literal to non-nullable reference type.
Test (linux-release): LLama/Common/Logger.cs#L116
Dereference of a possibly null reference.
Test (linux-debug)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@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 (linux-debug): LLama/OldVersion/LLamaModel.cs#L107
Cannot convert null literal to non-nullable reference type.
Test (linux-debug): LLama/OldVersion/LLamaModel.cs#L112
Cannot convert null literal to non-nullable reference type.
Test (linux-debug): LLama/OldVersion/LLamaParams.cs#L61
Cannot convert null literal to non-nullable reference type.
Test (linux-debug): LLama/OldVersion/LLamaParams.cs#L67
Cannot convert null literal to non-nullable reference type.
Test (linux-debug): LLama/Common/Logger.cs#L38
Cannot convert null literal to non-nullable reference type.
Test (linux-debug): LLama/Common/Logger.cs#L72
Cannot convert null literal to non-nullable reference type.
Test (linux-debug): LLama/Utils.cs#L92
Possible null reference return.
Test (linux-debug): LLama/Utils.cs#L96
Possible null reference return.
Test (linux-debug): LLama/Utils.cs#L100
Possible null reference return.
Test (linux-debug): LLama/OldVersion/Utils.cs#L66
Possible null reference return.
Test (windows-debug)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@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 (windows-debug): LLama/OldVersion/LLamaModel.cs#L107
Cannot convert null literal to non-nullable reference type.
Test (windows-debug): LLama/OldVersion/LLamaModel.cs#L112
Cannot convert null literal to non-nullable reference type.
Test (windows-debug): LLama/OldVersion/LLamaParams.cs#L61
Cannot convert null literal to non-nullable reference type.
Test (windows-debug): LLama/OldVersion/LLamaParams.cs#L67
Cannot convert null literal to non-nullable reference type.
Test (windows-debug): LLama/OldVersion/LLamaModel.cs#L236
Dereference of a possibly null reference.
Test (windows-debug): LLama/OldVersion/LLamaModel.cs#L172
Non-nullable field '_embed_inp' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Test (windows-debug): LLama/OldVersion/LLamaModel.cs#L422
Possible null reference argument for parameter 'prompt' in 'LLamaModel LLamaModel.WithPrompt(string prompt, string encoding = "UTF-8")'.
Test (windows-debug): LLama/LLamaStatelessExecutor.cs#L126
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Test (windows-debug): LLama/Common/Logger.cs#L38
Cannot convert null literal to non-nullable reference type.
Test (windows-debug): LLama/Common/Logger.cs#L72
Cannot convert null literal to non-nullable reference type.
Test (windows-release)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@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 (windows-release): LLama/OldVersion/LLamaModel.cs#L107
Cannot convert null literal to non-nullable reference type.
Test (windows-release): LLama/OldVersion/LLamaModel.cs#L112
Cannot convert null literal to non-nullable reference type.
Test (windows-release): LLama/OldVersion/LLamaModel.cs#L107
Cannot convert null literal to non-nullable reference type.
Test (windows-release): LLama/OldVersion/LLamaModel.cs#L112
Cannot convert null literal to non-nullable reference type.
Test (windows-release): LLama/OldVersion/LLamaParams.cs#L61
Cannot convert null literal to non-nullable reference type.
Test (windows-release): LLama/OldVersion/LLamaParams.cs#L67
Cannot convert null literal to non-nullable reference type.
Test (windows-release): LLama/Utils.cs#L92
Possible null reference return.
Test (windows-release): LLama/Utils.cs#L96
Possible null reference return.
Test (windows-release): LLama/Utils.cs#L100
Possible null reference return.
Test (windows-release): LLama/OldVersion/Utils.cs#L66
Possible null reference return.