Skip to content

Merge branch 'feature/opengl-codegen' of https://github.com/dotnet/Si… #308

Merge branch 'feature/opengl-codegen' of https://github.com/dotnet/Si…

Merge branch 'feature/opengl-codegen' of https://github.com/dotnet/Si… #308

Triggered via push May 23, 2024 01:00
Status Failure
Total duration 3m 8s
Artifacts 2

dotnet.yml

on: push
Matrix: Test
Report-Coverage
0s
Report-Coverage
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 29 warnings
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void CreateTests([NativeTypeName(\"uint*\")] uint* test1mo)\n => InnerCreateTest(test1mo);","public static uint CreateTest()\n{\n uint test1mo = default;\n ...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424859463_2024-05-23_01_01_23.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 114 but was 121. Strings differ at index 82. Expected: "...;\n InnerCreateTest(&test1mo);\n return test1mo;\n}" But was: "...;\n InnerCreateTest((uint*)&test1mo);\n return test1mo;\n}" -------------------------------------^
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void CreateTests(int cnt, [NativeTypeName(\"uint*\")] uint* testm)\n => InnerCreateTest(cnt, testm);","public static uint CreateTest()\n{\n uint testm = defaul...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424859463_2024-05-23_01_01_23.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 111 but was 118. Strings differ at index 83. Expected: "...t;\n InnerCreateTest(1, &testm);\n return testm;\n}" But was: "...t;\n InnerCreateTest(1, (uint*)&testm);\n return testm;\n}" -----------------------------------------^
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void CreateTests(int cnt, [NativeTypeName(\"uint*\")] uint* testmo)\n => InnerCreateTest(cnt, testmo);","public static uint CreateTest()\n{\n uint testmo = def...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424859463_2024-05-23_01_01_23.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 114 but was 121. Strings differ at index 84. Expected: "...\n InnerCreateTest(1, &testmo);\n return testmo;\n}" But was: "...\n InnerCreateTest(1, (uint*)&testmo);\n return testmo;\n}" ---------------------------------------^
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void CreateTests(int cnt, [NativeTypeName(\"uint*\")] uint* tst)\n => InnerCreateTest(cnt, tst);","public static uint CreateTest()\n{\n uint tst = default;\n ...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424859463_2024-05-23_01_01_23.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 105 but was 112. Strings differ at index 81. Expected: "...fault;\n InnerCreateTest(1, &tst);\n return tst;\n}" But was: "...fault;\n InnerCreateTest(1, (uint*)&tst);\n return tst;\n}" ---------------------------------------------^
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void DeleteTests([NativeTypeName(\"const uint*\")] uint* test1i)\n => InnerDeleteTest(test1i);","public static void DeleteTest([NativeTypeName(\"const uint*\")] u...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424859463_2024-05-23_01_01_23.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 108 but was 115. Strings differ at index 97. Expected: "...int*")] uint test1i)\n{\n InnerDeleteTest(&test1i);\n}" But was: "...int*")] uint test1i)\n{\n InnerDeleteTest((uint*)&test1i);\n}" -----------------------------------------------------------^
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void DeleteTests(int cnt, [NativeTypeName(\"const uint*\")] uint* test)\n => InnerDeleteTest(cnt, test);","public static void DeleteTest([NativeTypeName(\"const u...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424859463_2024-05-23_01_01_23.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 107 but was 114. Strings differ at index 98. Expected: "...uint*")] uint test)\n{\n InnerDeleteTest(1, &test);\n}" But was: "...uint*")] uint test)\n{\n InnerDeleteTest(1, (uint*)&test);\n}" -------------------------------------------------------------^
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void DeleteTests(int cnt, [NativeTypeName(\"const uint*\")] uint* testi)\n => InnerDeleteTest(cnt, testi);","public static void DeleteTest([NativeTypeName(\"const...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424859463_2024-05-23_01_01_23.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 109 but was 116. Strings differ at index 99. Expected: "...nt*")] uint testi)\n{\n InnerDeleteTest(1, &testi);\n}" But was: "...nt*")] uint testi)\n{\n InnerDeleteTest(1, (uint*)&testi);\n}" ------------------------------------------------------------^
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void DeleteTests(int cnt, [NativeTypeName(\"const uint*\")] uint* tst)\n => InnerDeleteTest(cnt, tst);","public static void DeleteTest([NativeTypeName(\"const uin...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424859463_2024-05-23_01_01_23.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 105 but was 112. Strings differ at index 97. Expected: "...t uint*")] uint tst)\n{\n InnerDeleteTest(1, &tst);\n}" But was: "...t uint*")] uint tst)\n{\n InnerDeleteTest(1, (uint*)&tst);\n}" --------------------------------------------------------------^
Test (osx-arm64, macos-latest, osx-arm64)
Process completed with exit code 1.
Test (osx-arm64, macos-latest, osx-arm64)
Failed test were found and 'fail-on-error' option is set to true
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void CreateTests([NativeTypeName(\"uint*\")] uint* test1mo)\n => InnerCreateTest(test1mo);","public static uint CreateTest()\n{\n uint test1mo = default;\n ...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424916528_2024-05-23_01_01_30.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 114 but was 121. Strings differ at index 82. Expected: "...;\n InnerCreateTest(&test1mo);\n return test1mo;\n}" But was: "...;\n InnerCreateTest((uint*)&test1mo);\n return test1mo;\n}" -------------------------------------^
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void CreateTests(int cnt, [NativeTypeName(\"uint*\")] uint* testm)\n => InnerCreateTest(cnt, testm);","public static uint CreateTest()\n{\n uint testm = defaul...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424916528_2024-05-23_01_01_30.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 111 but was 118. Strings differ at index 83. Expected: "...t;\n InnerCreateTest(1, &testm);\n return testm;\n}" But was: "...t;\n InnerCreateTest(1, (uint*)&testm);\n return testm;\n}" -----------------------------------------^
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void CreateTests(int cnt, [NativeTypeName(\"uint*\")] uint* testmo)\n => InnerCreateTest(cnt, testmo);","public static uint CreateTest()\n{\n uint testmo = def...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424916528_2024-05-23_01_01_30.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 114 but was 121. Strings differ at index 84. Expected: "...\n InnerCreateTest(1, &testmo);\n return testmo;\n}" But was: "...\n InnerCreateTest(1, (uint*)&testmo);\n return testmo;\n}" ---------------------------------------^
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void CreateTests(int cnt, [NativeTypeName(\"uint*\")] uint* tst)\n => InnerCreateTest(cnt, tst);","public static uint CreateTest()\n{\n uint tst = default;\n ...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424916528_2024-05-23_01_01_30.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 105 but was 112. Strings differ at index 81. Expected: "...fault;\n InnerCreateTest(1, &tst);\n return tst;\n}" But was: "...fault;\n InnerCreateTest(1, (uint*)&tst);\n return tst;\n}" ---------------------------------------------^
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void DeleteTests([NativeTypeName(\"const uint*\")] uint* test1i)\n => InnerDeleteTest(test1i);","public static void DeleteTest([NativeTypeName(\"const uint*\")] u...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424916528_2024-05-23_01_01_30.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 108 but was 115. Strings differ at index 97. Expected: "...int*")] uint test1i)\n{\n InnerDeleteTest(&test1i);\n}" But was: "...int*")] uint test1i)\n{\n InnerDeleteTest((uint*)&test1i);\n}" -----------------------------------------------------------^
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void DeleteTests(int cnt, [NativeTypeName(\"const uint*\")] uint* test)\n => InnerDeleteTest(cnt, test);","public static void DeleteTest([NativeTypeName(\"const u...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424916528_2024-05-23_01_01_30.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 107 but was 114. Strings differ at index 98. Expected: "...uint*")] uint test)\n{\n InnerDeleteTest(1, &test);\n}" But was: "...uint*")] uint test)\n{\n InnerDeleteTest(1, (uint*)&test);\n}" -------------------------------------------------------------^
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void DeleteTests(int cnt, [NativeTypeName(\"const uint*\")] uint* testi)\n => InnerDeleteTest(cnt, testi);","public static void DeleteTest([NativeTypeName(\"const...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424916528_2024-05-23_01_01_30.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 109 but was 116. Strings differ at index 99. Expected: "...nt*")] uint testi)\n{\n InnerDeleteTest(1, &testi);\n}" But was: "...nt*")] uint testi)\n{\n InnerDeleteTest(1, (uint*)&testi);\n}" ------------------------------------------------------------^
Silk.NET.SilkTouch.UnitTests.ArrayParameterTransformerTests ► Transform("public static void DeleteTests(int cnt, [NativeTypeName(\"const uint*\")] uint* tst)\n => InnerDeleteTest(cnt, tst);","public static void DeleteTest([NativeTypeName(\"const uin...: tests/SilkTouch/ArrayParameterTransformerTests.cs#L204
Failed test found in: ./coverage/_Mac-1716424916528_2024-05-23_01_01_30.trx Error: Assert.That(result.NormalizeWhitespace().ToFullString().ReplaceLineEndings(), Is.EqualTo(expectedMethod.ReplaceLineEndings())) Expected string length 105 but was 112. Strings differ at index 97. Expected: "...t uint*")] uint tst)\n{\n InnerDeleteTest(1, &tst);\n}" But was: "...t uint*")] uint tst)\n{\n InnerDeleteTest(1, (uint*)&tst);\n}" --------------------------------------------------------------^
Test (linux-x64, ubuntu-20.04, linux-x64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (linux-x64, ubuntu-20.04, linux-x64)
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (linux-x64, ubuntu-20.04, linux-x64)
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (linux-x64, ubuntu-20.04, linux-x64)
A PackageReference for 'NUnit3TestAdapter' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (linux-x64, ubuntu-20.04, linux-x64)
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (linux-x64, ubuntu-20.04, linux-x64)
A PackageReference for 'NUnit3TestAdapter' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (linux-x64, ubuntu-20.04, linux-x64)
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (osx-arm64, macos-latest, osx-arm64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (osx-arm64, macos-latest, osx-arm64)
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (osx-arm64, macos-latest, osx-arm64)
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (osx-arm64, macos-latest, osx-arm64)
A PackageReference for 'NUnit3TestAdapter' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (osx-arm64, macos-latest, osx-arm64)
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (osx-arm64, macos-latest, osx-arm64)
A PackageReference for 'NUnit3TestAdapter' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (osx-arm64, macos-latest, osx-arm64)
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, 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
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Build
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Build
A PackageReference for 'NUnit3TestAdapter' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Build
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Build
A PackageReference for 'NUnit3TestAdapter' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Build
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (win-x64, windows-latest, win-x64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (win-x64, windows-latest, win-x64)
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (win-x64, windows-latest, win-x64)
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (win-x64, windows-latest, win-x64)
A PackageReference for 'NUnit3TestAdapter' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (win-x64, windows-latest, win-x64)
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (win-x64, windows-latest, win-x64)
A PackageReference for 'NUnit3TestAdapter' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Test (win-x64, windows-latest, win-x64)
A PackageReference for 'Microsoft.NET.Test.Sdk' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "coverage-linux-x64", "coverage-win-x64". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
coverage-linux-x64 Expired
571 KB
coverage-win-x64 Expired
581 KB