Skip to content

Fix TempFile usage while temp dir was deleted in same process #219

Fix TempFile usage while temp dir was deleted in same process

Fix TempFile usage while temp dir was deleted in same process #219

Triggered via pull request September 1, 2023 17:14
Status Failure
Total duration 11m 34s
Artifacts 1

PR.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 20 warnings
ubuntu-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
ubuntu-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
TestCreateTempFile: testcases/main/Util/TestTempFile.cs#L22
System.IO.IOException : The process cannot access the file 'poi-sxssf-sheet08a472aa-db4b-46a8-95f2-41d2326fc860.xml' because it is being used by another process.
TestGetTempFilePath: testcases/main/Util/TestTempFile.cs#L45
System.IO.IOException : The process cannot access the file 'poi-sxssf-sheet08a472aa-db4b-46a8-95f2-41d2326fc860.xml' because it is being used by another process.
TestCreateTempFile: testcases/main/Util/TestTempFile.cs#L22
System.IO.IOException : The process cannot access the file 'poi-sxssf-sheet06c9c3a2-465d-4712-86d8-e195897c205a.xml' because it is being used by another process.
TestGetTempFilePath: testcases/main/Util/TestTempFile.cs#L45
System.IO.IOException : The process cannot access the file 'poi-sxssf-sheet06c9c3a2-465d-4712-86d8-e195897c205a.xml' because it is being used by another process.
windows-latest
Target "Test" has thrown an exception
windows-latest
Process completed with exit code 1.
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/Standard/StandardDecryptor.cs(225,20): warning CS0114: 'CipherInputStream.Read(byte[])' hides inherited member 'InputStream.Read(byte[])'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/Standard/StandardDecryptor.cs(262,21): warning CS0114: 'CipherInputStream.Skip(long)' hides inherited member 'InputStream.Skip(long)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/Standard/StandardDecryptor.cs(305,21): warning CS0114: 'CipherInputStream.MarkSupported()' hides inherited member 'ByteArrayInputStream.MarkSupported()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/FileSystem/POIFSFileSystem.cs(66,30): warning CS0108: 'POIFSFileSystem.CreateNonClosingInputStream(Stream)' hides inherited member 'NPOIFSFileSystem.CreateNonClosingInputStream(Stream)'. Use the new keyword if hiding was intended. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Eval/FunctionEval.cs(62,37): warning CS0628: 'FunctionEval.functions': new protected member declared in sealed type [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/UserModel/Workbook.cs(447,14): warning CS0108: 'IWorkbook.Close()' hides inherited member 'ICloseable.Close()'. Use the new keyword if hiding was intended. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Functions/FloorCeilingMathBase.cs(101,17): warning CS0162: Unreachable code detected [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Functions/FinanceFunction.cs(96,13): warning CS0162: Unreachable code detected [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Atp/DateParser.cs(86,17): warning CS0162: Unreachable code detected [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Functions/Countif.cs(341,21): warning CS0162: Unreachable code detected [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(225,20): warning CS0114: 'CipherInputStream.Read(byte[])' hides inherited member 'InputStream.Read(byte[])'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(262,21): warning CS0114: 'CipherInputStream.Skip(long)' hides inherited member 'InputStream.Skip(long)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(305,21): warning CS0114: 'CipherInputStream.MarkSupported()' hides inherited member 'ByteArrayInputStream.MarkSupported()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\POIFS\FileSystem\POIFSFileSystem.cs(66,30): warning CS0108: 'POIFSFileSystem.CreateNonClosingInputStream(Stream)' hides inherited member 'NPOIFSFileSystem.CreateNonClosingInputStream(Stream)'. Use the new keyword if hiding was intended. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Eval\FunctionEval.cs(62,37): warning CS0628: 'FunctionEval.functions': new protected member declared in sealed type [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\SS\UserModel\Workbook.cs(447,14): warning CS0108: 'IWorkbook.Close()' hides inherited member 'ICloseable.Close()'. Use the new keyword if hiding was intended. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Atp\DateParser.cs(86,17): warning CS0162: Unreachable code detected [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Functions\FloorCeilingMathBase.cs(101,17): warning CS0162: Unreachable code detected [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Functions\FinanceFunction.cs(96,13): warning CS0162: Unreachable code detected [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Functions\Countif.cs(341,21): warning CS0162: Unreachable code detected [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]

Artifacts

Produced during runtime
Name Size
publish Expired
11.4 MB