Skip to content

feat: add Meziantou.Analyzer #1627

feat: add Meziantou.Analyzer

feat: add Meziantou.Analyzer #1627

Triggered via pull request March 22, 2024 12:17
Status Failure
Total duration 19m 7s
Artifacts 5

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 41 warnings
Test (Examples): Examples/ZipFile/ZipFile.Tests/ZipFileHelperTests.cs#L7
The type or namespace name 'FileSystemInitializer' does not exist in the namespace 'Testably.Abstractions.Testing' (are you missing an assembly reference?)
Test (Examples): Examples/ZipFile/ZipFile.Tests/ZipFileHelperTests.cs#L7
The type or namespace name 'FileSystemInitializer' does not exist in the namespace 'Testably.Abstractions.Testing' (are you missing an assembly reference?)
Test (Examples)
Process completed with exit code 1.
Test (Ubuntu)
Process returned exit code 1 Launched as "bash --noprofile --norc -eo pipefail /home/runner/work/_actions/Wandalen/wretry.action/v1.4.10_js_action/src/script.sh" Launched at "/home/runner/work/Testably.Abstractions/Testably.Abstractions" Attempts exhausted, made 2 attempts : Attempt #1 started at : 12:18:35 GMT+0000 (Coordinated Universal Time) Attempt #2 started at : 12:22:04 GMT+0000 (Coordinated Universal Time)
Test (MacOS)
Process returned exit code 1 Launched as "bash --noprofile --norc -eo pipefail /Users/runner/work/_actions/Wandalen/wretry.action/v1.4.10_js_action/src/script.sh" Launched at "/Users/runner/work/Testably.Abstractions/Testably.Abstractions" Attempts exhausted, made 2 attempts : Attempt #1 started at : 12:19:29 GMT+0000 (Coordinated Universal Time) Attempt #2 started at : 12:23:24 GMT+0000 (Coordinated Universal Time)
Test (Windows)
Process returned exit code 1 Launched as "pwsh -command ". 'D:\a\_actions\Wandalen\wretry.action\v1.4.10_js_action\src\script.ps1'"" Launched at "/D/a/Testably.Abstractions/Testably.Abstractions" Attempts exhausted, made 2 attempts : Attempt #1 started at : 12:20:57 GMT+0000 (Coordinated Universal Time) Attempt #2 started at : 12:28:22 GMT+0000 (Coordinated Universal Time)
Testably.Abstractions.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyAbstractionsTesting("net6.0"): Tests/Api/Testably.Abstractions.Api.Tests/ApiApprovalTests.cs#L62
Failed test found in: _Mac-1711108976471_2024-03-22_12_20_07.trx _Mac-1711108976471_2024-03-22_12_23_54.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 26655 but was 26541. Strings differ at index 4084. Expected: "... Testably.Abstractions.Testing.FileSystemInitializer\n{\n ..." But was: "... Testably.Abstractions.Testing\n{\n public static class F..." --------------------------------------------^
Testably.Abstractions.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyAbstractionsTesting("net7.0"): Tests/Api/Testably.Abstractions.Api.Tests/ApiApprovalTests.cs#L62
Failed test found in: _Mac-1711108976471_2024-03-22_12_20_07.trx _Mac-1711108976471_2024-03-22_12_23_54.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 26655 but was 26541. Strings differ at index 4084. Expected: "... Testably.Abstractions.Testing.FileSystemInitializer\n{\n ..." But was: "... Testably.Abstractions.Testing\n{\n public static class F..." --------------------------------------------^
Testably.Abstractions.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyAbstractionsTesting("net8.0"): Tests/Api/Testably.Abstractions.Api.Tests/ApiApprovalTests.cs#L62
Failed test found in: _Mac-1711108976471_2024-03-22_12_20_07.trx _Mac-1711108976471_2024-03-22_12_23_54.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 26482 but was 26368. Strings differ at index 4084. Expected: "... Testably.Abstractions.Testing.FileSystemInitializer\n{\n ..." But was: "... Testably.Abstractions.Testing\n{\n public static class F..." --------------------------------------------^
Testably.Abstractions.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyAbstractionsTesting("netstandard2.0"): Tests/Api/Testably.Abstractions.Api.Tests/ApiApprovalTests.cs#L62
Failed test found in: _Mac-1711108976471_2024-03-22_12_20_07.trx _Mac-1711108976471_2024-03-22_12_23_54.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 25853 but was 25739. Strings differ at index 3852. Expected: "... Testably.Abstractions.Testing.FileSystemInitializer\n{\n ..." But was: "... Testably.Abstractions.Testing\n{\n public static class F..." --------------------------------------------^
Testably.Abstractions.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyAbstractionsTesting("netstandard2.1"): Tests/Api/Testably.Abstractions.Api.Tests/ApiApprovalTests.cs#L62
Failed test found in: _Mac-1711108976471_2024-03-22_12_20_07.trx _Mac-1711108976471_2024-03-22_12_23_54.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 26252 but was 26138. Strings differ at index 3852. Expected: "... Testably.Abstractions.Testing.FileSystemInitializer\n{\n ..." But was: "... Testably.Abstractions.Testing\n{\n public static class F..." --------------------------------------------^
Testably.Abstractions.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyAbstractionsTesting("net6.0"): Tests/Api/Testably.Abstractions.Api.Tests/ApiApprovalTests.cs#L62
Failed test found in: _fv-az1435-536_2024-03-22_12_19_14.trx _fv-az1435-536_2024-03-22_12_22_43.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 26655 but was 26541. Strings differ at index 4084. Expected: "... Testably.Abstractions.Testing.FileSystemInitializer\n{\n ..." But was: "... Testably.Abstractions.Testing\n{\n public static class F..." --------------------------------------------^
Testably.Abstractions.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyAbstractionsTesting("net7.0"): Tests/Api/Testably.Abstractions.Api.Tests/ApiApprovalTests.cs#L62
Failed test found in: _fv-az1435-536_2024-03-22_12_19_14.trx _fv-az1435-536_2024-03-22_12_22_43.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 26655 but was 26541. Strings differ at index 4084. Expected: "... Testably.Abstractions.Testing.FileSystemInitializer\n{\n ..." But was: "... Testably.Abstractions.Testing\n{\n public static class F..." --------------------------------------------^
Testably.Abstractions.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyAbstractionsTesting("net8.0"): Tests/Api/Testably.Abstractions.Api.Tests/ApiApprovalTests.cs#L62
Failed test found in: _fv-az1435-536_2024-03-22_12_19_14.trx _fv-az1435-536_2024-03-22_12_22_43.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 26482 but was 26368. Strings differ at index 4084. Expected: "... Testably.Abstractions.Testing.FileSystemInitializer\n{\n ..." But was: "... Testably.Abstractions.Testing\n{\n public static class F..." --------------------------------------------^
Testably.Abstractions.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyAbstractionsTesting("netstandard2.0"): Tests/Api/Testably.Abstractions.Api.Tests/ApiApprovalTests.cs#L62
Failed test found in: _fv-az1435-536_2024-03-22_12_19_14.trx _fv-az1435-536_2024-03-22_12_22_43.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 25853 but was 25739. Strings differ at index 3852. Expected: "... Testably.Abstractions.Testing.FileSystemInitializer\n{\n ..." But was: "... Testably.Abstractions.Testing\n{\n public static class F..." --------------------------------------------^
Testably.Abstractions.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyAbstractionsTesting("netstandard2.1"): Tests/Api/Testably.Abstractions.Api.Tests/ApiApprovalTests.cs#L62
Failed test found in: _fv-az1435-536_2024-03-22_12_19_14.trx _fv-az1435-536_2024-03-22_12_22_43.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 26252 but was 26138. Strings differ at index 3852. Expected: "... Testably.Abstractions.Testing.FileSystemInitializer\n{\n ..." But was: "... Testably.Abstractions.Testing\n{\n public static class F..." --------------------------------------------^
Testably.Abstractions.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyAbstractionsTesting("net6.0"): Tests/Api/Testably.Abstractions.Api.Tests/ApiApprovalTests.cs#L62
Failed test found in: runneradmin_fv-az836-149_2024-03-22_12_21_35.trx runneradmin_fv-az836-149_2024-03-22_12_29_04.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 26655 but was 26541. Strings differ at index 4084. Expected: "... Testably.Abstractions.Testing.FileSystemInitializer\n{\n ..." But was: "... Testably.Abstractions.Testing\n{\n public static class F..." --------------------------------------------^
Testably.Abstractions.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyAbstractionsTesting("net7.0"): Tests/Api/Testably.Abstractions.Api.Tests/ApiApprovalTests.cs#L62
Failed test found in: runneradmin_fv-az836-149_2024-03-22_12_21_35.trx runneradmin_fv-az836-149_2024-03-22_12_29_04.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 26655 but was 26541. Strings differ at index 4084. Expected: "... Testably.Abstractions.Testing.FileSystemInitializer\n{\n ..." But was: "... Testably.Abstractions.Testing\n{\n public static class F..." --------------------------------------------^
Testably.Abstractions.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyAbstractionsTesting("net8.0"): Tests/Api/Testably.Abstractions.Api.Tests/ApiApprovalTests.cs#L62
Failed test found in: runneradmin_fv-az836-149_2024-03-22_12_21_35.trx runneradmin_fv-az836-149_2024-03-22_12_29_04.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 26482 but was 26368. Strings differ at index 4084. Expected: "... Testably.Abstractions.Testing.FileSystemInitializer\n{\n ..." But was: "... Testably.Abstractions.Testing\n{\n public static class F..." --------------------------------------------^
Testably.Abstractions.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyAbstractionsTesting("netstandard2.0"): Tests/Api/Testably.Abstractions.Api.Tests/ApiApprovalTests.cs#L62
Failed test found in: runneradmin_fv-az836-149_2024-03-22_12_21_35.trx runneradmin_fv-az836-149_2024-03-22_12_29_04.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 25853 but was 25739. Strings differ at index 3852. Expected: "... Testably.Abstractions.Testing.FileSystemInitializer\n{\n ..." But was: "... Testably.Abstractions.Testing\n{\n public static class F..." --------------------------------------------^
Testably.Abstractions.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyAbstractionsTesting("netstandard2.1"): Tests/Api/Testably.Abstractions.Api.Tests/ApiApprovalTests.cs#L62
Failed test found in: runneradmin_fv-az836-149_2024-03-22_12_21_35.trx runneradmin_fv-az836-149_2024-03-22_12_29_04.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 26252 but was 26138. Strings differ at index 3852. Expected: "... Testably.Abstractions.Testing.FileSystemInitializer\n{\n ..." But was: "... Testably.Abstractions.Testing\n{\n public static class F..." --------------------------------------------^
Test (Examples)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 35123 , Maximum supported length: 32766
Test (Examples)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 35123 , Maximum supported length: 32766
Test (Examples)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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 (.NET Framework)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 35128 , Maximum supported length: 32766
Test (.NET Framework)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 35128 , Maximum supported length: 32766
Test (.NET Framework)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 35128 , Maximum supported length: 32766
Test (.NET Framework)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: darenm/Setup-VSTest@v1, 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 (.NET Framework)
The following actions uses node12 which is deprecated and will be forced to run on node16: darenm/Setup-VSTest@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (.NET Framework): Tests/Testably.Abstractions.Testing.Tests/Statistics/StatisticsTests.Helpers.cs#L335
The type 'NotNullWhenAttribute' in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\NotNullWhenAttribute.cs' conflicts with the imported type 'NotNullWhenAttribute' in 'Testably.Abstractions.Testing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\NotNullWhenAttribute.cs'.
Test (.NET Framework): Tests/Testably.Abstractions.Testing.Tests/Statistics/StatisticsTests.Helpers.cs#L378
The type 'NotNullWhenAttribute' in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\NotNullWhenAttribute.cs' conflicts with the imported type 'NotNullWhenAttribute' in 'Testably.Abstractions.Testing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\NotNullWhenAttribute.cs'.
Test (Ubuntu)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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 (MacOS)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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 (Windows)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 35122 , Maximum supported length: 32766
Test (Windows)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 35122 , Maximum supported length: 32766
Test (Windows)
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 35122 , Maximum supported length: 32766
Test (Windows)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
PR_NUMBER Expired
5 Bytes
Test results (.NET Framework) Expired
5.72 MB
Test results (MacOS) Expired
111 MB
Test results (Ubuntu) Expired
110 MB
Test results (Windows) Expired
110 MB