Fix build warnings #88
build-test.yml
on: push
test-desktop
2m 23s
build-desktop-win
3m 32s
build-desktop-linux
58s
build-desktop-mac
1m 16s
build-android
9m 41s
Annotations
4 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.
|
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/Helpers/ChannelExtensions.cs#L41
Converting null literal or possible null value to non-nullable type.
|
build-desktop-linux:
BTCPayApp.Core/Helpers/ChannelExtensions.cs#L50
Possible null reference argument for parameter 'network' in 'OutputDescriptor OutputDescriptor.Parse(string desc, Network network, bool requireCheckSum = false, ISigningRepository? repo = null)'.
|
build-desktop-linux:
BTCPayApp.Core/Helpers/ChannelExtensions.cs#L59
Cannot convert null literal to non-nullable reference type.
|
build-desktop-linux:
BTCPayApp.Core/Helpers/ChannelExtensions.cs#L63
Nullability of reference types in value of type '(BitcoinExtPubKey Extkey, RootedKeyPath?)' doesn't match target type '(BitcoinExtPubKey, RootedKeyPath)'.
|
build-desktop-linux:
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.
|
build-desktop-linux:
BTCPayApp.Core/LDK/LDKAnnouncementBroadcaster.cs#L24
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-desktop-linux:
BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L66
Possible null reference return.
|
build-desktop-linux:
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/VoltageFlow2Jit.cs#L66
Possible null reference return.
|
build-desktop-mac:
BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L84
Possible null reference return.
|
build-desktop-mac:
BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L175
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-desktop-mac:
BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L236
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#L236
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#L236
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#L236
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#L236
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#L236
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.
|
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/Helpers/ChannelExtensions.cs#L41
Converting null literal or possible null value to non-nullable type.
|
test-desktop:
BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L66
Possible null reference return.
|
test-desktop:
BTCPayApp.Core/Helpers/ConfigHelpers.cs#L17
Possible null reference return.
|
test-desktop:
BTCPayApp.Core/Helpers/ConfigHelpers.cs#L30
Possible null reference return.
|
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/ChannelExtensions.cs#L50
Possible null reference argument for parameter 'network' in 'OutputDescriptor OutputDescriptor.Parse(string desc, Network network, bool requireCheckSum = false, ISigningRepository? repo = null)'.
|
test-desktop:
BTCPayApp.Core/Helpers/ChannelExtensions.cs#L59
Cannot convert null literal to non-nullable reference type.
|
test-desktop:
BTCPayApp.Core/Helpers/ChannelExtensions.cs#L63
Nullability of reference types in value of type '(BitcoinExtPubKey Extkey, RootedKeyPath?)' doesn't match target type '(BitcoinExtPubKey, RootedKeyPath)'.
|
test-desktop:
BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L84
Possible null reference return.
|
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/Data/AppDbContext.cs#L29
Dereference of a possibly null reference.
|
test-desktop:
BTCPayApp.Core/Data/AppDbContext.cs#L34
Dereference of a possibly null reference.
|
test-desktop:
BTCPayApp.Core/Data/AppDbContext.cs#L39
Dereference of a possibly null reference.
|
test-desktop:
BTCPayApp.Core/Data/AppDbContext.cs#L44
Dereference of a possibly null reference.
|
test-desktop:
BTCPayApp.Core/Helpers/ObservableConcurrentDictionary.cs#L280
Possible null reference assignment.
|
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/Helpers/EndPointParser.cs#L80
Possible null reference argument for parameter 's' in 'bool IPEndPoint.TryParse(string s, out IPEndPoint? result)'.
|
test-desktop:
BTCPayApp.Core/Helpers/ConfigHelpers.cs#L17
Possible null reference return.
|
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/ObservableConcurrentDictionary.cs#L280
Possible null reference assignment.
|
build-desktop-win:
BTCPayApp.Core/Data/AppDbContext.cs#L29
Dereference of a possibly null reference.
|
build-desktop-win:
BTCPayApp.Core/Data/AppDbContext.cs#L34
Dereference of a possibly null reference.
|
build-desktop-win:
BTCPayApp.Core/Data/AppDbContext.cs#L39
Dereference of a possibly null reference.
|
build-desktop-win:
BTCPayApp.Core/Data/AppDbContext.cs#L44
Dereference of a possibly null reference.
|
build-desktop-win:
BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L66
Possible null reference return.
|
build-desktop-win:
BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L84
Possible null reference return.
|
build-desktop-win:
BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L175
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-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/LSP/JIT/VoltageFlow2Jit.cs#L66
Possible null reference return.
|
build-android:
BTCPayApp.Core/Helpers/ObservableConcurrentDictionary.cs#L280
Possible null reference assignment.
|
build-android:
BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L84
Possible null reference return.
|
build-android:
BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L175
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-android:
BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L236
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#L236
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#L236
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#L236
Non-nullable field '_channelManager' 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 |
|