Skip to content

Restores all disabled compiler warnings. 649 and 8765 were missing. #747

Restores all disabled compiler warnings. 649 and 8765 were missing.

Restores all disabled compiler warnings. 649 and 8765 were missing. #747

Status Failure
Total duration 6m 5s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 33 warnings
macos-latest
[xUnit.net 00:00:08.11] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET80Minimal", targetFramework: "net8.0", generatesCode: True) [FAIL]
macos-latest
Target "Test" has thrown an exception
macos-latest
Process completed with exit code 255.
ubuntu-latest
[xUnit.net 00:00:11.68] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET80Minimal", targetFramework: "net8.0", generatesCode: True) [FAIL]
ubuntu-latest
Target "Test" has thrown an exception
ubuntu-latest
Process completed with exit code 255.
windows-latest
[xUnit.net 00:00:16.82] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET80Minimal", targetFramework: "net8.0", generatesCode: True) [FAIL]
windows-latest
Target "Test" has thrown an exception
windows-latest
Process completed with exit code 1.
macos-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
macos-latest
#pragma warning disable 108 // Disable "CS0108 '{derivedDto}.ToJson()' hides inherited member '{dtoBase}.ToJson()'. Use the new keyword if hiding was intended."
macos-latest
#pragma warning disable 114 // Disable "CS0114 '{derivedDto}.RaisePropertyChanged(String)' hides inherited member 'dtoBase.RaisePropertyChanged(String)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword."
macos-latest
#pragma warning disable 472 // Disable "CS0472 The result of the expression is always 'false' since a value of type 'Int32' is never equal to 'null' of type 'Int32?'
macos-latest
#pragma warning disable 612 // Disable "CS0612 '...' is obsolete"
macos-latest
#pragma warning disable 649 // Disable "CS0649 Field is never assigned to, and will always have its default value null"
macos-latest
#pragma warning disable 1573 // Disable "CS1573 Parameter '...' has no matching param tag in the XML comment for ...
macos-latest
#pragma warning disable 1591 // Disable "CS1591 Missing XML comment for publicly visible type or member ..."
macos-latest
#pragma warning disable 8073 // Disable "CS8073 The result of the expression is always 'false' since a value of type 'T' is never equal to 'null' of type 'T?'"
macos-latest
#pragma warning disable 3016 // Disable "CS3016 Arrays as attribute arguments is not CLS-compliant"
macos-latest
#pragma warning disable 8603 // Disable "CS8603 Possible null reference return"
ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ubuntu-latest
#pragma warning disable 108 // Disable "CS0108 '{derivedDto}.ToJson()' hides inherited member '{dtoBase}.ToJson()'. Use the new keyword if hiding was intended."
ubuntu-latest
#pragma warning disable 114 // Disable "CS0114 '{derivedDto}.RaisePropertyChanged(String)' hides inherited member 'dtoBase.RaisePropertyChanged(String)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword."
ubuntu-latest
#pragma warning disable 472 // Disable "CS0472 The result of the expression is always 'false' since a value of type 'Int32' is never equal to 'null' of type 'Int32?'
ubuntu-latest
#pragma warning disable 612 // Disable "CS0612 '...' is obsolete"
ubuntu-latest
#pragma warning disable 649 // Disable "CS0649 Field is never assigned to, and will always have its default value null"
ubuntu-latest
#pragma warning disable 1573 // Disable "CS1573 Parameter '...' has no matching param tag in the XML comment for ...
ubuntu-latest
#pragma warning disable 1591 // Disable "CS1591 Missing XML comment for publicly visible type or member ..."
ubuntu-latest
#pragma warning disable 8073 // Disable "CS8073 The result of the expression is always 'false' since a value of type 'T' is never equal to 'null' of type 'T?'"
ubuntu-latest
#pragma warning disable 3016 // Disable "CS3016 Arrays as attribute arguments is not CLS-compliant"
ubuntu-latest
#pragma warning disable 8603 // Disable "CS8603 Possible null reference return"
windows-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
windows-latest
D:\a\NSwag\NSwag\src\NSwagStudio.Installer\NSwagStudio.Installer.wixproj : warning NU1503: Skipping restore for project 'D:\a\NSwag\NSwag\src\NSwagStudio.Installer\NSwagStudio.Installer.wixproj'. The project file may be invalid or missing targets required for restore. [D:\a\NSwag\NSwag\src\NSwag.sln]
windows-latest
C:\Program Files\dotnet\sdk\8.0.303\Microsoft.Common.CurrentVersion.targets(2401,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "x86" and the processor architecture of the reference "D:\a\NSwag\NSwag\artifacts\bin\NSwag.AspNetCore.Launcher\release_net462\NSwag.AspNetCore.Launcher.exe", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [D:\a\NSwag\NSwag\src\NSwag.Console\NSwag.Console.csproj]
windows-latest
#pragma warning disable 108 // Disable "CS0108 '{derivedDto}.ToJson()' hides inherited member '{dtoBase}.ToJson()'. Use the new keyword if hiding was intended."
windows-latest
#pragma warning disable 114 // Disable "CS0114 '{derivedDto}.RaisePropertyChanged(String)' hides inherited member 'dtoBase.RaisePropertyChanged(String)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword."
windows-latest
#pragma warning disable 472 // Disable "CS0472 The result of the expression is always 'false' since a value of type 'Int32' is never equal to 'null' of type 'Int32?'
windows-latest
#pragma warning disable 612 // Disable "CS0612 '...' is obsolete"
windows-latest
#pragma warning disable 649 // Disable "CS0649 Field is never assigned to, and will always have its default value null"
windows-latest
#pragma warning disable 1573 // Disable "CS1573 Parameter '...' has no matching param tag in the XML comment for ...
windows-latest
#pragma warning disable 1591 // Disable "CS1591 Missing XML comment for publicly visible type or member ..."
windows-latest
#pragma warning disable 8073 // Disable "CS8073 The result of the expression is always 'false' since a value of type 'T' is never equal to 'null' of type 'T?'"