Skip to content

Include API support for CommandsFeature #1145

Include API support for CommandsFeature

Include API support for CommandsFeature #1145

Triggered via push April 9, 2024 05:19
Status Failure
Total duration 5m 50s
Artifacts
build-servicestack
5m 42s
build-servicestack
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 31 warnings
ServiceStack.WebHost.Endpoints.Tests.RequestLogsFeatureTests ► Does_log_Options_request: ServiceStack/tests/ServiceStack.WebHost.Endpoints.Tests/RequestLogsFeatureTests.cs#L144
Failed test found in: ./ServiceStack/tests/ServiceStack.WebHost.Endpoints.Tests/TestResults/results.trx Error: Expected string length 7 but was 3. Strings differ at index 0. Expected: "OPTIONS" But was: "GET" -----------^
build-servicestack
Process completed with exit code 1.
build-servicestack
Failed test were found and 'fail-on-error' option is set to true
build-servicestack: ServiceStack/src/ServiceStack.GoogleCloud/GoogleCloudVirtualDirectory.cs#L82
Async-iterator 'GoogleCloudVirtualDirectory.EnumerateFilesAsync(string, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
build-servicestack: ServiceStack/src/ServiceStack.GoogleCloud/GoogleCloudVirtualFiles.cs#L229
Async-iterator 'GoogleCloudVirtualFiles.EnumerateFilesAsync(string?, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
build-servicestack: ServiceStack/src/ServiceStack.GoogleCloud/GoogleCloudVirtualFiles.cs#L156
Cannot convert null literal to non-nullable reference type.
build-servicestack: ServiceStack/src/ServiceStack.GoogleCloud/GoogleCloudVirtualFiles.cs#L25
Cannot convert null literal to non-nullable reference type.
build-servicestack: ServiceStack/src/ServiceStack.GoogleCloud/GoogleCloudVirtualFiles.cs#L48
Possible null reference argument for parameter 'filePath' in 'string? GoogleCloudVirtualFiles.GetDirPath(string filePath)'.
build-servicestack: ServiceStack/src/ServiceStack.GoogleCloud/GoogleCloudVirtualFiles.cs#L52
Possible null reference argument for parameter 'directory' in 'GoogleCloudVirtualFile.GoogleCloudVirtualFile(GoogleCloudVirtualFiles pathProvider, IVirtualDirectory directory)'.
build-servicestack: ServiceStack/src/ServiceStack.GoogleCloud/GoogleCloudVirtualFile.cs#L17
Non-nullable property 'Stream' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack/src/ServiceStack.GoogleCloud/GoogleCloudVirtualFile.cs#L29
Possible null reference argument for parameter 'filePath' in 'string GoogleCloudVirtualFiles.GetFileName(string filePath)'.
build-servicestack: ServiceStack/src/ServiceStack.GoogleCloud/GoogleCloudVirtualFile.cs#L49
'Object.Updated' is obsolete: 'This property is obsolete and may behave unexpectedly; please use UpdatedDateTimeOffset instead.'
build-servicestack: ServiceStack/src/ServiceStack.GoogleCloud/GoogleCloudVirtualFile.cs#L79
The variable 'ex' is declared but never used
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/Diagnostics.cs#L227
Non-nullable property 'Client' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/Diagnostics.cs#L228
Non-nullable property 'Socket' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/Diagnostics.cs#L229
Non-nullable property 'Host' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/Diagnostics.cs#L195
Non-nullable property 'EventType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/Diagnostics.cs#L197
Non-nullable property 'Operation' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/Diagnostics.cs#L203
Non-nullable property 'DiagnosticEntry' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/Diagnostics.cs#L207
Non-nullable property 'Meta' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/LicenseUtils.cs#L253
The variable 'pex' is declared but never used
build-servicestack: ServiceStack/src/ServiceStack.Interfaces/AI/ITypeChat.cs#L96
Non-nullable property 'Result' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack/src/ServiceStack.Interfaces/AI/ISpeechToText.cs#L43
Non-nullable property 'Transcript' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/Diagnostics.cs#L195
Non-nullable property 'EventType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/Diagnostics.cs#L197
Non-nullable property 'Operation' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/Diagnostics.cs#L203
Non-nullable property 'DiagnosticEntry' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/Diagnostics.cs#L207
Non-nullable property 'Meta' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/Diagnostics.cs#L227
Non-nullable property 'Client' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/Diagnostics.cs#L228
Non-nullable property 'Socket' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/Diagnostics.cs#L229
Non-nullable property 'Host' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/ObjectDictionary.cs#L17
'Dictionary<string, object>.Dictionary(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-servicestack: ServiceStack.Text/src/ServiceStack.Text/ObjectDictionary.cs#L31
'Dictionary<string, string>.Dictionary(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-servicestack: ServiceStack/src/ServiceStack.HttpClient/JsonHttpClient.cs#L28
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.