Skip to content

Fix build warnings

Fix build warnings #89

Triggered via push January 22, 2025 17:42
Status Failure
Total duration 10m 39s
Artifacts 4

build-test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 62 warnings
build-desktop-mac
Process completed with exit code 3.
build-desktop-mac
Process completed with exit code 3.
build-desktop-mac
Process completed with exit code 3.
build-desktop-mac
Process completed with exit code 3.
test-desktop
Process completed with exit code 1.
build-desktop-linux
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-desktop-linux: BTCPayApp.Core/Data/TriggerRecord.cs#L5
Non-nullable property 'name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-desktop-linux: BTCPayApp.Core/Data/TriggerRecord.cs#L6
Non-nullable property 'sql' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-desktop-linux: BTCPayApp.Core/Data/AppDbContext.cs#L29
Dereference of a possibly null reference.
build-desktop-linux: BTCPayApp.Core/Data/AppDbContext.cs#L34
Dereference of a possibly null reference.
build-desktop-linux: BTCPayApp.Core/Data/AppDbContext.cs#L39
Dereference of a possibly null reference.
build-desktop-linux: BTCPayApp.Core/Data/AppDbContext.cs#L44
Dereference of a possibly null reference.
build-desktop-linux: BTCPayApp.Core/Helpers/EventHelpers.cs#L32
Nullability of reference types in type of parameter 's' of 'lambda expression' doesn't match the target delegate 'EventHandler<TArgs>' (possibly because of nullability attributes).
build-desktop-linux: BTCPayApp.Core/Helpers/ConfigHelpers.cs#L28
Possible null reference return.
build-desktop-linux: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-desktop-linux: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_network' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-desktop-mac: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-desktop-mac: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_network' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-desktop-mac: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_node' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-desktop-mac: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_channelManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-desktop-mac: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-desktop-mac: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_openChannelRequestEventHandler' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-desktop-mac: BTCPayApp.Core/LSP/JIT/FlowInfoResponse.cs#L11
Non-nullable property 'ConnectionMethods' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-desktop-mac: BTCPayApp.Core/LSP/JIT/FlowInfoResponse.cs#L22
Non-nullable property 'Address' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-desktop-mac: BTCPayApp.Core/LSP/JIT/FlowInfoResponse.cs#L24
Non-nullable property 'Type' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-desktop-mac: BTCPayApp.Core/LSP/JIT/FlowFeeRequest.cs#L9
Non-nullable property 'PubKey' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test-desktop
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-desktop: BTCPayApp.Core/Data/TriggerRecord.cs#L5
Non-nullable property 'name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test-desktop: BTCPayApp.Core/Data/TriggerRecord.cs#L6
Non-nullable property 'sql' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test-desktop: BTCPayApp.Core/Helpers/ConfigHelpers.cs#L28
Possible null reference return.
test-desktop: BTCPayApp.Core/Helpers/EventHelpers.cs#L32
Nullability of reference types in type of parameter 's' of 'lambda expression' doesn't match the target delegate 'EventHandler<TArgs>' (possibly because of nullability attributes).
test-desktop: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test-desktop: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_network' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test-desktop: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_node' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test-desktop: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_channelManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test-desktop: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test-desktop: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_openChannelRequestEventHandler' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test-desktop: BTCPayApp.Core/Data/TriggerRecord.cs#L5
Non-nullable property 'name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test-desktop: BTCPayApp.Core/Data/TriggerRecord.cs#L6
Non-nullable property 'sql' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test-desktop: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test-desktop: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_network' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test-desktop: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_node' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test-desktop: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_channelManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test-desktop: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test-desktop: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_openChannelRequestEventHandler' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test-desktop: BTCPayApp.Core/Data/AppDbContext.cs#L29
Dereference of a possibly null reference.
test-desktop: BTCPayApp.Core/Data/AppDbContext.cs#L34
Dereference of a possibly null reference.
build-desktop-win: BTCPayApp.Core/Data/TriggerRecord.cs#L5
Non-nullable property 'name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-desktop-win: BTCPayApp.Core/Data/TriggerRecord.cs#L6
Non-nullable property 'sql' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-desktop-win: BTCPayApp.Core/Helpers/EventHelpers.cs#L32
Nullability of reference types in type of parameter 's' of 'lambda expression' doesn't match the target delegate 'EventHandler<TArgs>' (possibly because of nullability attributes).
build-desktop-win: BTCPayApp.Core/Helpers/ConfigHelpers.cs#L28
Possible null reference return.
build-desktop-win: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-desktop-win: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_network' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-desktop-win: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_node' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-desktop-win: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_channelManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-desktop-win: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-desktop-win: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_openChannelRequestEventHandler' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-android: BTCPayApp.Core/Helpers/EventHelpers.cs#L32
Nullability of reference types in type of parameter 's' of 'lambda expression' doesn't match the target delegate 'EventHandler<TArgs>' (possibly because of nullability attributes).
build-android: BTCPayApp.Core/Data/TriggerRecord.cs#L5
Non-nullable property 'name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-android: BTCPayApp.Core/Data/TriggerRecord.cs#L6
Non-nullable property 'sql' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-android: BTCPayApp.Core/Helpers/ConfigHelpers.cs#L28
Possible null reference return.
build-android: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-android: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_network' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-android: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_node' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-android: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_channelManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-android: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-android: BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L40
Non-nullable field '_openChannelRequestEventHandler' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Artifacts

Produced during runtime
Name Size
android build
52.9 MB
linux build
77.7 MB
mac-dmg
73.4 MB
windows build
117 MB