Skip to content

fix compile error

fix compile error #301

Triggered via pull request December 17, 2023 12:36
Status Failure
Total duration 1m 44s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build
Process completed with exit code 1.
build: src/Infrastructure/Services/ExcelService.cs#L136
Dereference of a possibly null reference.
build: src/Infrastructure/Services/PaddleOCR/DocumentOcrJob.cs#L41
This call site is reachable on all platforms. 'Image.Save(Stream, ImageFormat)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build: src/Infrastructure/Services/PaddleOCR/DocumentOcrJob.cs#L37
This call site is reachable on all platforms. 'Image.FromFile(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build: src/Infrastructure/Services/PaddleOCR/DocumentOcrJob.cs#L41
This call site is reachable on all platforms. 'Image.RawFormat' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build
Found version-specific or distribution-specific runtime identifier(s): win7-x64, win7-x86. Affected libraries: SQLite. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
build
Found version-specific or distribution-specific runtime identifier(s): win7-x64, win7-x86. Affected libraries: SQLite. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
build
Found version-specific or distribution-specific runtime identifier(s): win7-x64, win7-x86. Affected libraries: SQLite. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
build
Found version-specific or distribution-specific runtime identifier(s): win7-x64, win7-x86. Affected libraries: SQLite. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
build
Found version-specific or distribution-specific runtime identifier(s): win7-x64, win7-x86. Affected libraries: SQLite. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
build: tests/Application.UnitTests/Common/Mappings/MappingTests.cs#L54
'FormatterServices' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)