Skip to content

还原丢失的消息转发代码 #42

还原丢失的消息转发代码

还原丢失的消息转发代码 #42

Triggered via push January 26, 2024 09:18
Status Success
Total duration 40s
Artifacts

test.yml

on: push
build-publish
30s
build-publish
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build-publish
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-publish: NewLife.MQTT/Messaging/MqttMessage.cs#L79
Nullability of reference types in type of parameter 'context' of 'bool MqttMessage.Read(Stream stream, object context)' doesn't match implicitly implemented member 'bool IAccessor.Read(Stream stream, object? context)' (possibly because of nullability attributes).
build-publish: NewLife.MQTT/Messaging/MqttMessage.cs#L105
Nullability of reference types in type of parameter 'context' of 'bool MqttMessage.Write(Stream stream, object context)' doesn't match implicitly implemented member 'bool IAccessor.Write(Stream stream, object? context)' (possibly because of nullability attributes).
build-publish: NewLife.MQTT/MqttCodec.cs#L68
Nullability of type of parameter 'request' doesn't match overridden member (possibly because of nullability attributes).
build-publish: NewLife.MQTT/MqttCodec.cs#L68
Nullability of type of parameter 'response' doesn't match overridden member (possibly because of nullability attributes).
build-publish: NewLife.MQTT/MqttSign.cs#L14
Non-nullable property 'UserName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-publish: NewLife.MQTT/MqttSign.cs#L17
Non-nullable property 'Password' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-publish: NewLife.MQTT/MqttSign.cs#L20
Non-nullable property 'ClientId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-publish: NewLife.MQTT/MqttSign.cs#L23
Non-nullable property 'Module' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-publish: NewLife.MQTT/MqttSign.cs#L26
Non-nullable property 'Version' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-publish: NewLife.MQTT/MqttServer.cs#L92
Possible null reference argument for parameter 'msg' in 'void XTrace.WriteLine(string msg)'.