Skip to content

Add "Show native TWAIN progress" compat option #225

Add "Show native TWAIN progress" compat option

Add "Show native TWAIN progress" compat option #225

Triggered via push February 18, 2024 19:46
Status Success
Total duration 6m 23s
Artifacts

dotnet.yml

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

Annotations

52 warnings
build (ubuntu-22.04)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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.Internals/Threading/AsyncProducers.cs#L6
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.Internals/Threading/AsyncProducers.cs#L6
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.Internals/Threading/AsyncProducers.cs#L6
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.Images/ImageContext.cs#L245
Possible null reference argument for parameter 'pdfRenderer' in 'IMemoryImage ImageContext.RenderFromStorage(IImageStorage storage, IPdfRenderer pdfRenderer)'.
build (ubuntu-22.04): NAPS2.Images/ImageContext.cs#L245
Possible null reference argument for parameter 'pdfRenderer' in 'IMemoryImage ImageContext.RenderFromStorage(IImageStorage storage, IPdfRenderer pdfRenderer)'.
build (ubuntu-22.04): NAPS2.Sdk/Util/EventThrottle.cs#L10
The type 'MaybeNullAttribute' in '/home/runner/.nuget/packages/nullable/1.3.1/contentFiles/cs/net40/Nullable/MaybeNullAttribute.cs' conflicts with the imported type 'MaybeNullAttribute' in 'NAPS2.Images, Version=7.3.1.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/.nuget/packages/nullable/1.3.1/contentFiles/cs/net40/Nullable/MaybeNullAttribute.cs'.
build (ubuntu-22.04): NAPS2.Sdk/ImportExport/Placeholders.cs#L50
The type 'NotNullIfNotNullAttribute' in '/home/runner/.nuget/packages/nullable/1.3.1/contentFiles/cs/net40/Nullable/NotNullIfNotNullAttribute.cs' conflicts with the imported type 'NotNullIfNotNullAttribute' in 'NAPS2.Images, Version=7.3.1.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/.nuget/packages/nullable/1.3.1/contentFiles/cs/net40/Nullable/NotNullIfNotNullAttribute.cs'.
build (ubuntu-22.04): NAPS2.Sdk/ImportExport/Placeholders.cs#L100
The type 'NotNullIfNotNullAttribute' in '/home/runner/.nuget/packages/nullable/1.3.1/contentFiles/cs/net40/Nullable/NotNullIfNotNullAttribute.cs' conflicts with the imported type 'NotNullIfNotNullAttribute' in 'NAPS2.Images, Version=7.3.1.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/.nuget/packages/nullable/1.3.1/contentFiles/cs/net40/Nullable/NotNullIfNotNullAttribute.cs'.
build (ubuntu-22.04): NAPS2.Lib/EtoForms/Ui/OcrSetupForm.cs#L42
Nullability of reference types in type of parameter 'sender' of 'void OcrSetupForm.OcrLang_SelectedIndexChanged(object sender, EventArgs e)' doesn't match the target delegate 'EventHandler<EventArgs>' (possibly because of nullability attributes).
build (ubuntu-22.04): NAPS2.Images/ImageContext.cs#L245
Possible null reference argument for parameter 'pdfRenderer' in 'IMemoryImage ImageContext.RenderFromStorage(IImageStorage storage, IPdfRenderer pdfRenderer)'.
build (ubuntu-22.04): NAPS2.Sdk.Tests/Pdf/PdfFontTests.cs#L39
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.Tests/Pdf/PdfFontTests.cs#L39
Theory method 'MapLanguageCodeToAlphabet' on test class 'PdfFontTests' does not use parameter 'text'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build (ubuntu-22.04): NAPS2.Sdk.Tests/Pdf/PdfFontTests.cs#L39
Theory method 'MapLanguageCodeToAlphabet' on test class 'PdfFontTests' does not use parameter 'rtl'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build (ubuntu-22.04): NAPS2.Sdk.Tests/Pdf/PdfFontTests.cs#L46
Theory method 'ExportAlphabetsWithPdfSharp' on test class 'PdfFontTests' does not use parameter 'alphabet'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build (ubuntu-22.04): NAPS2.Sdk.Tests/Pdf/PdfFontTests.cs#L64
Theory method 'ExportAlphabetsWithPdfium' on test class 'PdfFontTests' does not use parameter 'alphabet'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build (ubuntu-22.04): NAPS2.Lib/EtoForms/Ui/OcrSetupForm.cs#L42
Nullability of reference types in type of parameter 'sender' of 'void OcrSetupForm.OcrLang_SelectedIndexChanged(object sender, EventArgs e)' doesn't match the target delegate 'EventHandler<EventArgs>' (possibly because of nullability attributes).
build (macos-14)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (macos-14)
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-14): NAPS2.Internals/Threading/AsyncProducers.cs#L6
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-14): NAPS2.Internals/Threading/AsyncProducers.cs#L6
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-14): NAPS2.Internals/Threading/AsyncProducers.cs#L6
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-14): NAPS2.Images/ImageContext.cs#L245
Possible null reference argument for parameter 'pdfRenderer' in 'IMemoryImage ImageContext.RenderFromStorage(IImageStorage storage, IPdfRenderer pdfRenderer)'.
build (macos-14): NAPS2.Images/ImageContext.cs#L245
Possible null reference argument for parameter 'pdfRenderer' in 'IMemoryImage ImageContext.RenderFromStorage(IImageStorage storage, IPdfRenderer pdfRenderer)'.
build (macos-14): NAPS2.Images/ImageContext.cs#L245
Possible null reference argument for parameter 'pdfRenderer' in 'IMemoryImage ImageContext.RenderFromStorage(IImageStorage storage, IPdfRenderer pdfRenderer)'.
build (macos-14): NAPS2.Sdk.Tests/Pdf/PdfFontTests.cs#L39
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-14): NAPS2.Sdk.Tests/Pdf/PdfFontTests.cs#L46
Theory method 'ExportAlphabetsWithPdfSharp' on test class 'PdfFontTests' does not use parameter 'alphabet'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build (macos-14): NAPS2.Sdk.Tests/Pdf/PdfFontTests.cs#L39
Theory method 'MapLanguageCodeToAlphabet' on test class 'PdfFontTests' does not use parameter 'text'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build (macos-14): NAPS2.Sdk.Tests/Pdf/PdfFontTests.cs#L39
Theory method 'MapLanguageCodeToAlphabet' on test class 'PdfFontTests' does not use parameter 'rtl'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build (windows-2022)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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): NAPS2.Internals/Threading/AsyncProducers.cs#L6
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/ImageContext.cs#L245
Possible null reference argument for parameter 'pdfRenderer' in 'IMemoryImage ImageContext.RenderFromStorage(IImageStorage storage, IPdfRenderer pdfRenderer)'.
build (windows-2022): NAPS2.Internals/Threading/AsyncProducers.cs#L6
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.Sdk/Util/EventThrottle.cs#L10
The type 'MaybeNullAttribute' in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\MaybeNullAttribute.cs' conflicts with the imported type 'MaybeNullAttribute' in 'NAPS2.Images, Version=7.3.1.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\MaybeNullAttribute.cs'.
build (windows-2022): NAPS2.Sdk/ImportExport/Placeholders.cs#L50
The type 'NotNullIfNotNullAttribute' in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\NotNullIfNotNullAttribute.cs' conflicts with the imported type 'NotNullIfNotNullAttribute' in 'NAPS2.Images, Version=7.3.1.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\NotNullIfNotNullAttribute.cs'.
build (windows-2022): NAPS2.Sdk/ImportExport/Placeholders.cs#L100
The type 'NotNullIfNotNullAttribute' in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\NotNullIfNotNullAttribute.cs' conflicts with the imported type 'NotNullIfNotNullAttribute' in 'NAPS2.Images, Version=7.3.1.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\NotNullIfNotNullAttribute.cs'.
build (windows-2022): NAPS2.Images/ImageContext.cs#L245
Possible null reference argument for parameter 'pdfRenderer' in 'IMemoryImage ImageContext.RenderFromStorage(IImageStorage storage, IPdfRenderer pdfRenderer)'.
build (windows-2022)
ProjectReference 'D:\a\naps2\naps2\NAPS2.Lib.Tests\NAPS2.Lib.Tests.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.Sdk.Tests\NAPS2.Sdk.Tests.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/Placeholders.cs#L50
The type 'NotNullIfNotNullAttribute' in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\NotNullIfNotNullAttribute.cs' conflicts with the imported type 'NotNullIfNotNullAttribute' in 'NAPS2.Images, Version=7.3.1.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\NotNullIfNotNullAttribute.cs'.
build (windows-2022): NAPS2.Sdk/ImportExport/Placeholders.cs#L100
The type 'NotNullIfNotNullAttribute' in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\NotNullIfNotNullAttribute.cs' conflicts with the imported type 'NotNullIfNotNullAttribute' in 'NAPS2.Images, Version=7.3.1.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\NotNullIfNotNullAttribute.cs'.
build (windows-2022): NAPS2.Sdk/Util/EventThrottle.cs#L10
The type 'MaybeNullAttribute' in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\MaybeNullAttribute.cs' conflicts with the imported type 'MaybeNullAttribute' in 'NAPS2.Images, Version=7.3.1.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\MaybeNullAttribute.cs'.
build (windows-2022): NAPS2.Sdk.Tests/Pdf/PdfFontTests.cs#L39
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.Sdk.Tests/Pdf/PdfFontTests.cs#L39
Theory method 'MapLanguageCodeToAlphabet' on test class 'PdfFontTests' does not use parameter 'text'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build (windows-2022): NAPS2.Sdk.Tests/Pdf/PdfFontTests.cs#L39
Theory method 'MapLanguageCodeToAlphabet' on test class 'PdfFontTests' does not use parameter 'rtl'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build (windows-2022): NAPS2.Sdk.Tests/Pdf/PdfFontTests.cs#L64
Theory method 'ExportAlphabetsWithPdfium' on test class 'PdfFontTests' does not use parameter 'alphabet'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build (windows-2022): NAPS2.Sdk.Tests/Pdf/PdfFontTests.cs#L46
Theory method 'ExportAlphabetsWithPdfSharp' on test class 'PdfFontTests' does not use parameter 'alphabet'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build (windows-2022): NAPS2.Sdk.Tests/Pdf/PdfFontTests.cs#L39
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.Sdk.Tests/Pdf/PdfFontTests.cs#L39
Theory method 'MapLanguageCodeToAlphabet' on test class 'PdfFontTests' does not use parameter 'text'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)