Skip to content

Upgrade unittest target framework to .NET 8.0 #625

Upgrade unittest target framework to .NET 8.0

Upgrade unittest target framework to .NET 8.0 #625

Re-run triggered December 14, 2023 01:15
Status Success
Total duration 6m 59s
Artifacts 1

main.yml

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

Annotations

30 warnings
Test (linux-release): LLama/LLamaEmbedder.cs#L101
'LLamaContext.Eval(int[], int)' is obsolete: 'use llama_decode() instead'
Test (linux-release): LLama/LLamaInstructExecutor.cs#L109
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
Test (linux-release): LLama/LLamaInteractExecutor.cs#L92
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
Test (linux-release): LLama/LLamaInteractExecutor.cs#L137
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (linux-release): LLama/LLamaInteractExecutor.cs#L133
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 (linux-release): LLama/LLamaInstructExecutor.cs#L154
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (linux-release): LLama/LLamaInstructExecutor.cs#L150
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 (linux-release): LLama/LLamaInteractExecutor.cs#L170
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (linux-release): LLama/LLamaInteractExecutor.cs#L189
Possible null reference argument for parameter 'filename' in 'void StatefulExecutorBase.SaveSessionFile(string filename)'.
Test (linux-release): LLama/LLamaInteractExecutor.cs#L159
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-release): LLama/LLamaEmbedder.cs#L101
'LLamaContext.Eval(int[], int)' is obsolete: 'use llama_decode() instead'
Test (windows-release): LLama/LLamaInstructExecutor.cs#L109
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
Test (windows-release): LLama/LLamaInteractExecutor.cs#L92
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
Test (windows-release): LLama/LLamaInteractExecutor.cs#L137
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (windows-release): LLama/LLamaInstructExecutor.cs#L154
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (windows-release): LLama/LLamaInteractExecutor.cs#L133
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-release): LLama/LLamaInstructExecutor.cs#L150
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-release): LLama/LLamaInstructExecutor.cs#L191
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (windows-release): LLama/LLamaInstructExecutor.cs#L210
Possible null reference argument for parameter 'filename' in 'void StatefulExecutorBase.SaveSessionFile(string filename)'.
Test (windows-release): LLama/LLamaExecutorBase.cs#L365
Non-nullable property 'Embeds' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (osx-release): LLama/LLamaEmbedder.cs#L101
'LLamaContext.Eval(int[], int)' is obsolete: 'use llama_decode() instead'
Test (osx-release): LLama/LLamaInteractExecutor.cs#L92
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
Test (osx-release): LLama/LLamaInteractExecutor.cs#L137
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (osx-release): LLama/LLamaInteractExecutor.cs#L133
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 (osx-release): LLama/LLamaInteractExecutor.cs#L170
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (osx-release): LLama/LLamaInteractExecutor.cs#L159
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 (osx-release): LLama/Native/NativeApi.Load.cs#L132
Possible null reference return.
Test (osx-release): LLama/LLamaStatelessExecutor.cs#L81
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (osx-release): LLama/LLamaStatelessExecutor.cs#L135
'LLamaContext.Eval(List<int>, int)' is obsolete: 'use llama_decode() instead'
Test (osx-release): LLama/LLamaInstructExecutor.cs#L109
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.

Artifacts

Produced during runtime
Name Size
logs Expired
3.83 MB