Skip to content

Mac: Don't depend on ClipRectangle #141

Mac: Don't depend on ClipRectangle

Mac: Don't depend on ClipRectangle #141

Triggered via push November 19, 2023 18:09
Status Success
Total duration 6m 59s
Artifacts

dotnet.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

48 warnings
build (ubuntu-22.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-22.04): NAPS2.Sdk/ImportExport/FileImporter.cs#L17
Nullability of reference types in type of parameter 'importParams' of 'IAsyncEnumerable<ProcessedImage> FileImporter.Import(string filePath, ImportParams importParams, ProgressHandler progress = default(ProgressHandler))' doesn't match implicitly implemented member 'IAsyncEnumerable<ProcessedImage> IFileImporter.Import(string filePath, ImportParams? importParams = null, ProgressHandler progress = default(ProgressHandler))' (possibly because of nullability attributes).
build (ubuntu-22.04): NAPS2.Lib/EtoForms/Ui/SharedDeviceForm.cs#L108
Cannot convert null literal to non-nullable reference type.
build (ubuntu-22.04): NAPS2.Lib/EtoForms/Ui/SharedDeviceForm.cs#L209
Possible null reference assignment.
build (ubuntu-22.04): NAPS2.Lib/EtoForms/Ui/SharedDeviceForm.cs#L236
Cannot convert null literal to non-nullable reference type.
build (ubuntu-22.04): NAPS2.Lib/EtoForms/StubDarkModeProvider.cs#L6
The event 'StubDarkModeProvider.DarkModeChanged' is never used
build (ubuntu-22.04): NAPS2.Escl.Server/MdnsAdvertiser.cs#L23
Dereference of a possibly null reference.
build (ubuntu-22.04): NAPS2.Escl.Server/EsclServer.cs#L66
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 (ubuntu-22.04): NAPS2.Escl.Server/MdnsAdvertiser.cs#L23
Dereference of a possibly null reference.
build (ubuntu-22.04): NAPS2.Escl.Server/EsclServer.cs#L66
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 (ubuntu-22.04): NAPS2.Escl.Server/MdnsAdvertiser.cs#L23
Dereference of a possibly null reference.
build (ubuntu-22.04): NAPS2.Escl.Server/EsclServer.cs#L66
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 (ubuntu-22.04): NAPS2.Sdk/ImportExport/FileImporter.cs#L17
Nullability of reference types in type of parameter 'importParams' of 'IAsyncEnumerable<ProcessedImage> FileImporter.Import(string filePath, ImportParams importParams, ProgressHandler progress = default(ProgressHandler))' doesn't match implicitly implemented member 'IAsyncEnumerable<ProcessedImage> IFileImporter.Import(string filePath, ImportParams? importParams = null, ProgressHandler progress = default(ProgressHandler))' (possibly because of nullability attributes).
build (ubuntu-22.04): NAPS2.Sdk/ImportExport/FileImporter.cs#L17
Nullability of reference types in type of parameter 'importParams' of 'IAsyncEnumerable<ProcessedImage> FileImporter.Import(string filePath, ImportParams importParams, ProgressHandler progress = default(ProgressHandler))' doesn't match implicitly implemented member 'IAsyncEnumerable<ProcessedImage> IFileImporter.Import(string filePath, ImportParams? importParams = null, ProgressHandler progress = default(ProgressHandler))' (possibly because of nullability attributes).
build (ubuntu-22.04): NAPS2.Lib/EtoForms/Ui/SharedDeviceForm.cs#L108
Cannot convert null literal to non-nullable reference type.
build (ubuntu-22.04): NAPS2.Lib/EtoForms/Ui/SharedDeviceForm.cs#L209
Possible null reference assignment.
build (macos-12)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (macos-12): NAPS2.Escl.Server/MdnsAdvertiser.cs#L23
Dereference of a possibly null reference.
build (macos-12): NAPS2.Escl.Server/EsclServer.cs#L66
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 (macos-12): NAPS2.Escl.Server/MdnsAdvertiser.cs#L23
Dereference of a possibly null reference.
build (macos-12): NAPS2.Escl.Server/EsclServer.cs#L66
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 (macos-12): NAPS2.Sdk/ImportExport/FileImporter.cs#L17
Nullability of reference types in type of parameter 'importParams' of 'IAsyncEnumerable<ProcessedImage> FileImporter.Import(string filePath, ImportParams importParams, ProgressHandler progress = default(ProgressHandler))' doesn't match implicitly implemented member 'IAsyncEnumerable<ProcessedImage> IFileImporter.Import(string filePath, ImportParams? importParams = null, ProgressHandler progress = default(ProgressHandler))' (possibly because of nullability attributes).
build (macos-12): NAPS2.Images.Mac/MacImageContext.cs#L32
Dereference of a possibly null reference.
build (macos-12): NAPS2.Images.Mac/MacTiffWriter.cs#L40
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'UTType.TIFF' is obsoleted on: 'macOS/OSX' 11.0 and later (Use the 'UniformTypeIdentifiers.UTType' API instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
build (macos-12): NAPS2.Images.Mac/MacImage.cs#L33
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'NSImageRep.ColorSpaceName' is obsoleted on: 'macOS/OSX' 10.14 and later (Use 'Type' and 'NSColorType' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
build (macos-12): NAPS2.Images.Mac/MacImage.cs#L32
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'NSImageRep.ColorSpaceName' is obsoleted on: 'macOS/OSX' 10.14 and later (Use 'Type' and 'NSColorType' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
build (macos-12): NAPS2.Images.Mac/MacImage.cs#L158
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'UTType.PNG' is obsoleted on: 'macOS/OSX' 11.0 and later (Use the 'UniformTypeIdentifiers.UTType' API instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
build (windows-2022)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (windows-2022)
ProjectReference 'D:\a\naps2\naps2\NAPS2.Images.Wpf\NAPS2.Images.Wpf.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v8.0'. This project may not be fully compatible with your project.
build (windows-2022): NAPS2.Sdk/ImportExport/FileImporter.cs#L17
Nullability of reference types in type of parameter 'importParams' of 'IAsyncEnumerable<ProcessedImage> FileImporter.Import(string filePath, ImportParams importParams, ProgressHandler progress = default(ProgressHandler))' doesn't match implicitly implemented member 'IAsyncEnumerable<ProcessedImage> IFileImporter.Import(string filePath, ImportParams? importParams = null, ProgressHandler progress = default(ProgressHandler))' (possibly because of nullability attributes).
build (windows-2022): NAPS2.Sdk/ImportExport/FileImporter.cs#L17
Nullability of reference types in type of parameter 'importParams' of 'IAsyncEnumerable<ProcessedImage> FileImporter.Import(string filePath, ImportParams importParams, ProgressHandler progress = default(ProgressHandler))' doesn't match implicitly implemented member 'IAsyncEnumerable<ProcessedImage> IFileImporter.Import(string filePath, ImportParams? importParams = null, ProgressHandler progress = default(ProgressHandler))' (possibly because of nullability attributes).
build (windows-2022)
ProjectReference 'D:\a\naps2\naps2\NAPS2.Images.Wpf\NAPS2.Images.Wpf.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v8.0'. This project may not be fully compatible with your project.
build (windows-2022)
ProjectReference 'D:\a\naps2\naps2\NAPS2.Images.Wpf\NAPS2.Images.Wpf.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v8.0'. This project may not be fully compatible with your project.
build (windows-2022): NAPS2.Lib/EtoForms/Ui/SharedDeviceForm.cs#L108
Cannot convert null literal to non-nullable reference type.
build (windows-2022): NAPS2.Lib/EtoForms/Ui/SharedDeviceForm.cs#L209
Possible null reference assignment.
build (windows-2022): NAPS2.Lib/EtoForms/Ui/SharedDeviceForm.cs#L236
Cannot convert null literal to non-nullable reference type.
build (windows-2022): NAPS2.Lib/EtoForms/StubDarkModeProvider.cs#L6
The event 'StubDarkModeProvider.DarkModeChanged' is never used
build (windows-2022): NAPS2.Lib/EtoForms/Ui/SharedDeviceForm.cs#L108
Cannot convert null literal to non-nullable reference type.
build (windows-2022)
ProjectReference 'D:\a\naps2\naps2\NAPS2.Images.Wpf\NAPS2.Images.Wpf.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v8.0'. This project may not be fully compatible with your project.
build (windows-2022)
ProjectReference 'D:\a\naps2\naps2\NAPS2.Images.Wpf\NAPS2.Images.Wpf.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v8.0'. This project may not be fully compatible with your project.
build (windows-2022)
ProjectReference 'D:\a\naps2\naps2\NAPS2.Images.Wpf\NAPS2.Images.Wpf.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v8.0'. This project may not be fully compatible with your project.
build (windows-2022): NAPS2.Escl.Server/MdnsAdvertiser.cs#L23
Dereference of a possibly null reference.
build (windows-2022): NAPS2.Escl.Server/EsclServer.cs#L66
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 (windows-2022): NAPS2.Images.Mac/MacImageContext.cs#L32
Dereference of a possibly null reference.
build (windows-2022): NAPS2.Images.Mac/MacTiffWriter.cs#L40
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'UTType.TIFF' is obsoleted on: 'macOS/OSX' 11.0 and later (Use the 'UniformTypeIdentifiers.UTType' API instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
build (windows-2022): NAPS2.Images.Mac/MacImage.cs#L158
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'UTType.PNG' is obsoleted on: 'macOS/OSX' 11.0 and later (Use the 'UniformTypeIdentifiers.UTType' API instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
build (windows-2022): NAPS2.Images.Mac/MacImage.cs#L33
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'NSImageRep.ColorSpaceName' is obsoleted on: 'macOS/OSX' 10.14 and later (Use 'Type' and 'NSColorType' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
build (windows-2022): NAPS2.Images.Mac/MacImage.cs#L160
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'UTType.TIFF' is obsoleted on: 'macOS/OSX' 11.0 and later (Use the 'UniformTypeIdentifiers.UTType' API instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)