Skip to content

异步操作加上 CancellationToken #80

异步操作加上 CancellationToken

异步操作加上 CancellationToken #80

Triggered via push December 11, 2024 06:05
Status Failure
Total duration 1m 11s
Artifacts

test.yml

on: push
build-publish
1m 2s
build-publish
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build-publish
Process completed with exit code 1.
build-publish
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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: 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.