Skip to content

升级net9.0;升级NetHandlerContext,支持ProxyProtocol之后直接设置Remote。 #74

升级net9.0;升级NetHandlerContext,支持ProxyProtocol之后直接设置Remote。

升级net9.0;升级NetHandlerContext,支持ProxyProtocol之后直接设置Remote。 #74

Triggered via push November 18, 2024 06:08
Status Failure
Total duration 5m 25s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build-publish
Process completed with exit code 1.
build-publish: NewLife.MQTT/Messaging/ConnectMessage.cs#L99
Non-nullable property 'WillMessage' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-publish: NewLife.MQTT/Messaging/ConnectMessage.cs#L99
Non-nullable property 'WillMessage' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-publish: NewLife.MQTT/Messaging/ConnectMessage.cs#L99
Non-nullable property 'WillMessage' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-publish: NewLife.MQTT/Messaging/ConnectMessage.cs#L99
Non-nullable property 'WillMessage' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-publish: NewLife.MqttServer/DefaultManagedMqttClient.cs#L114
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.
build-publish: NewLife.MqttServer/DefaultManagedMqttClient.cs#L155
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.
build-publish: NewLife.MqttServer/DefaultManagedMqttClient.cs#L166
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.
build-publish: XUnitTestClient/MqttClientTests.cs#L71
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
build-publish: XUnitTestClient/MqttClientTests.cs#L82
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
build-publish: XUnitTestClient/MqttClientTests.cs#L96
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)