Skip to content

Merge pull request #132 from xueshaoyu/master #238

Merge pull request #132 from xueshaoyu/master

Merge pull request #132 from xueshaoyu/master #238

Triggered via push December 20, 2023 12:28
Status Failure
Total duration 9m 44s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 20 warnings
test
Process completed with exit code 1.
test: NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
test: NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
test: NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
test: NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
test: NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
test: NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
test: Test/Program.cs#L33
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: Test/Program.cs#L358
'SslProtocols.Tls' is obsolete: 'TLS versions 1.0 and 1.1 have known vulnerabilities and are not recommended. Use a newer TLS version instead, or use SslProtocols.None to defer to OS defaults.' (https://aka.ms/dotnet-warnings/SYSLIB0039)
test: Test/Program.cs#L374
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: XUnitTest.Core/Collections/CollectionHelperTests.cs#L37
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
test: NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
test: NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
test: NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
test: NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
test: NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
test: Test/Program.cs#L33
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: Test/Program.cs#L358
'SslProtocols.Tls' is obsolete: 'TLS versions 1.0 and 1.1 have known vulnerabilities and are not recommended. Use a newer TLS version instead, or use SslProtocols.None to defer to OS defaults.' (https://aka.ms/dotnet-warnings/SYSLIB0039)
test: Test/Program.cs#L374
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: XUnitTest.Core/Collections/CollectionHelperTests.cs#L37
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.