Skip to content

Fix build warnings #346

Fix build warnings

Fix build warnings #346

Triggered via push November 7, 2024 13:08
Status Failure
Total duration 15m 8s
Artifacts

maui.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
build
Process completed with exit code 1.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: BTCPayApp.Maui/HostedServiceInitializer.cs#L12
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: BTCPayApp.Core/Helpers/ObservableConcurrentDictionary.cs#L14
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'ConcurrentDictionary<TKey, TValue>'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
build: BTCPayApp.Core/Helpers/ObservableConcurrentDictionary.cs#L112
Nullability of reference types in type of 'event NotifyCollectionChangedEventHandler ObservableConcurrentDictionary<TKey, TValue>.CollectionChanged' doesn't match implicitly implemented member 'event NotifyCollectionChangedEventHandler? INotifyCollectionChanged.CollectionChanged'.
build: BTCPayApp.Core/Helpers/ObservableConcurrentDictionary.cs#L115
Nullability of reference types in type of 'event PropertyChangedEventHandler ObservableConcurrentDictionary<TKey, TValue>.PropertyChanged' doesn't match implicitly implemented member 'event PropertyChangedEventHandler? INotifyPropertyChanged.PropertyChanged'.
build: BTCPayApp.Core/Helpers/ObservableConcurrentDictionary.cs#L322
Cannot convert null literal to non-nullable reference type.
build: BTCPayApp.Core/Helpers/SystemTextJsonMergeExtensions.cs#L78
Cannot convert null literal to non-nullable reference type.
build: BTCPayApp.Core/Migrations/20240726135741_triggers.cs#L9
The type name 'triggers' only contains lower-cased ascii characters. Such names may become reserved for the language.
build: BTCPayApp.Core/Migrations/20240726135741_triggers.Designer.cs#L15
The type name 'triggers' only contains lower-cased ascii characters. Such names may become reserved for the language.
build: BTCPayApp.Core/Migrations/20240805085647_checkpoitnchannels.cs#L8
The type name 'checkpoitnchannels' only contains lower-cased ascii characters. Such names may become reserved for the language.
build: BTCPayApp.Core/Migrations/20240805085647_checkpoitnchannels.Designer.cs#L15
The type name 'checkpoitnchannels' only contains lower-cased ascii characters. Such names may become reserved for the language.
build: BTCPayApp.Core/Migrations/20240820073346_channelpimp.cs#L8
The type name 'channelpimp' only contains lower-cased ascii characters. Such names may become reserved for the language.