Fix build warnings #82
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/Channel.cs#L9
Non-nullable property 'Data' 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/Channel.cs#L10
Non-nullable property 'Aliases' 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/Channel.cs#L27
Non-nullable property 'ChannelId' 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/Channel.cs#L29
Non-nullable property 'Channel' 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/DatabaseConfigProvider.cs#L134
Possible null reference assignment.
|
build-desktop-linux:
BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L66
Possible null reference return.
|
build-desktop-linux:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L143
Possible null reference argument for parameter 'source' in 'bool Enumerable.Contains<string?>(IEnumerable<string?> source, string? value)'.
|
build-desktop-linux:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L150
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
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-mac:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L143
Possible null reference argument for parameter 'source' in 'bool Enumerable.Contains<string?>(IEnumerable<string?> source, string? value)'.
|
build-desktop-mac:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L150
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
build-desktop-mac:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L231
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
build-desktop-mac:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L270
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
build-desktop-mac:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L340
Possible null reference argument for parameter 'source' in 'bool Enumerable.Contains<string?>(IEnumerable<string?> source, string? value)'.
|
build-desktop-mac:
BTCPayApp.Core/Wallet/LightningNodeService.cs#L84
Dereference of a possibly null reference.
|
build-desktop-mac:
BTCPayApp.Core/Wallet/LightningNodeService.cs#L90
Dereference of a possibly null reference.
|
build-desktop-mac:
BTCPayApp.Core/Wallet/LightningNodeService.cs#L174
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/Wallet/LightningNodeService.cs#L184
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#L66
Possible null reference return.
|
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/Wallet/OnChainWalletManager.cs#L143
Possible null reference argument for parameter 'source' in 'bool Enumerable.Contains<string?>(IEnumerable<string?> source, string? value)'.
|
test-desktop:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L150
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
test-desktop:
BTCPayApp.Core/BTCPayServer/BTCPayConnectionManager.cs#L65
Non-nullable property 'ReportedNodeInfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
test-desktop:
BTCPayApp.Core/BTCPayServer/BTCPayConnectionManager.cs#L103
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.
|
test-desktop:
BTCPayApp.Core/DatabaseConfigProvider.cs#L134
Possible null reference assignment.
|
test-desktop:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L231
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
test-desktop:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L270
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
test-desktop:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L340
Possible null reference argument for parameter 'source' in 'bool Enumerable.Contains<string?>(IEnumerable<string?> source, string? value)'.
|
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/DatabaseConfigProvider.cs#L134
Possible null reference assignment.
|
test-desktop:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L143
Possible null reference argument for parameter 'source' in 'bool Enumerable.Contains<string?>(IEnumerable<string?> source, string? value)'.
|
test-desktop:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L150
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
test-desktop:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L231
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
test-desktop:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L270
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
test-desktop:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L340
Possible null reference argument for parameter 'source' in 'bool Enumerable.Contains<string?>(IEnumerable<string?> source, string? value)'.
|
test-desktop:
BTCPayApp.Core/BTCPayServer/BTCPayConnectionManager.cs#L65
Non-nullable property 'ReportedNodeInfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
test-desktop:
BTCPayApp.Core/BTCPayServer/BTCPayConnectionManager.cs#L103
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.
|
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.
|
build-desktop-win:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L143
Possible null reference argument for parameter 'source' in 'bool Enumerable.Contains<string?>(IEnumerable<string?> source, string? value)'.
|
build-desktop-win:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L150
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
build-desktop-win:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L231
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
build-desktop-win:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L270
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
build-desktop-win:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L340
Possible null reference argument for parameter 'source' in 'bool Enumerable.Contains<string?>(IEnumerable<string?> source, string? value)'.
|
build-desktop-win:
BTCPayApp.Core/BTCPayServer/BTCPayConnectionManager.cs#L65
Non-nullable property 'ReportedNodeInfo' 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/BTCPayServer/BTCPayConnectionManager.cs#L103
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-win:
BTCPayApp.Core/DatabaseConfigProvider.cs#L134
Possible null reference assignment.
|
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-android:
BTCPayApp.Core/DatabaseConfigProvider.cs#L134
Possible null reference assignment.
|
build-android:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L143
Possible null reference argument for parameter 'source' in 'bool Enumerable.Contains<string?>(IEnumerable<string?> source, string? value)'.
|
build-android:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L150
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
build-android:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L231
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
build-android:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L270
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
build-android:
BTCPayApp.Core/BTCPayServer/BTCPayConnectionManager.cs#L65
Non-nullable property 'ReportedNodeInfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build-android:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L340
Possible null reference argument for parameter 'source' in 'bool Enumerable.Contains<string?>(IEnumerable<string?> source, string? value)'.
|
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/BTCPayServer/BTCPayConnectionManager.cs#L103
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.
|
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 |
|