Skip to content

fix build error caused by package latest detection problem #101

fix build error caused by package latest detection problem

fix build error caused by package latest detection problem #101

Triggered via pull request June 10, 2024 15:53
Status Failure
Total duration 6m 48s
Artifacts 2

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 20 warnings
[@traits.Category] Reqnroll.VisualStudio.ReqnrollConnector.Tests.GeneratedProjectTests.Approval(testName: "DS_1.0.0-pre_nunit_nprj_net6.0_bt_992117478"): Tests/Connector/Reqnroll.VisualStudio.ReqnrollConnector.Tests/GeneratedProjectTests.cs#L26
System.Exception : exit code: 0, last package: { "id": "NUnit", "version": "4.1.0" }, StdOut: { "version": 2, "problems": [], "searchResult": [ { "sourceName": "nuget.org", "packages": [ { "id": "NUnit", "version": "2.5.7.10213" }, { "id": "NUnit", "version": "2.5.9.10348" }, { "id": "NUnit", "version": "2.5.10.11092" }, { "id": "NUnit", "version": "2.6.0.12054" }, { "id": "NUnit", "version": "2.6.1" }, { "id": "NUnit", "version": "2.6.2" }, { "id": "NUnit", "version": "2.6.3" }, { "id": "NUnit", "version": "2.6.4" }, { "id": "NUnit", "version": "2.6.5" }, { "id": "NUnit", "version": "2.6.6" }, { "id": "NUnit", "version": "2.6.7" }, { "id": "NUnit", "version": "2.7.0" }, { "id": "NUnit", "version": "2.7.1" }, { "id": "NUnit", "version": "3.0.0" }, { "id": "NUnit", "version": "3.0.1" }, { "id": "NUnit", "version": "3.2.0" }, { "id": "NUnit", "version": "3.2.1" }, { "id": "NUnit", "version": "3.4.0" }, { "id": "NUnit", "version": "3.4.1" }, { "id": "NUnit", "version": "3.5.0" }, { "id": "NUnit", "version": "3.6.0" }, { "id": "NUnit", "version": "3.6.1" }, { "id": "NUnit", "version": "3.7.0" }, { "id": "NUnit", "version": "3.7.1" }, { "id": "NUnit", "version": "3.8.0" }, { "id": "NUnit", "version": "3.8.1" }, { "id": "NUnit", "version": "3.9.0" }, { "id": "NUnit", "version": "3.10.0" }, { "id": "NUnit", "version": "3.10.1" }, { "id": "NUnit", "version": "3.11.0" }, { "id": "NUnit", "version": "3.12.0" }, { "id": "NUnit", "version": "3.13.0" }, { "id": "NUnit", "version": "3.13.1" }, { "id": "NUnit", "version": "3.13.2" }, { "id": "NUnit", "version": "3.13.3" }, { "id": "NUnit", "version": "3.14.0" }, { "id": "NUnit", "version": "4.0.0" }, { "id": "NUnit", "version": "4.0.1" }, { "id": "NUnit", "version": "4.1.0" } ] } ] } , StdErr: at Reqnroll.SampleProjectGenerator.ProjectGenerator.DetectLatestPackage(String packageName) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.SampleProjectGenerator.Core\ProjectGenerator.cs:line 349 at Reqnroll.SampleProjectGenerator.ProjectGenerator.InstallNuGetPackage(ProjectChanger projectChanger, String packagesFolder, String packageName, String sourcePlatform, String packageVersion, Boolean dependency) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.SampleProjectGenerator.Core\ProjectGenerator.cs:line 325 at Reqnroll.SampleProjectGenerator.ProjectGenerator.InstallNUnit(String packagesFolder, String projectFilePath) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStud
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: microsoft/[email protected], nuget/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: Reqnroll.VisualStudio/Editor/Services/StepFinderBase.cs#L61
Cannot convert null literal to non-nullable reference type.
build: Reqnroll.VisualStudio/Editor/Commands/RenameStepStepDefinitionClassAction.cs#L50
Dereference of a possibly null reference.
build: Reqnroll.VisualStudio/Editor/Services/DeveroomTaggerProvider.cs#L31
Possible null reference argument for parameter 'projectScope' in 'IDeveroomConfigurationProvider ConfigurationProjectSystemExtensions.GetDeveroomConfigurationProvider(IProjectScope projectScope)'.
build: Reqnroll.VisualStudio/Discovery/ProjectBindingRegistry.cs#L219
Dereference of a possibly null reference.
build: Reqnroll.VisualStudio/Editor/Commands/FindUnusedStepDefinitionsCommand.cs#L111
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: Reqnroll.VisualStudio/Discovery/ProjectBindingRegistryCache.cs#L124
Argument of type 'IEnumerable<SourceLocation?>' cannot be used for parameter 'sourceLocations' of type 'IEnumerable<SourceLocation>' in 'void IIdeScope.CalculateSourceLocationTrackingPositions(IEnumerable<SourceLocation> sourceLocations)' due to differences in the nullability of reference types.
build: Reqnroll.VisualStudio/Discovery/ProjectBindingRegistryCache.cs#L134
Dereference of a possibly null reference.
build: Reqnroll.VisualStudio.Package/ProjectSystem/VsIdeScopeLoader.cs#L108
Possible null reference return.
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector/Discovery/NoInvokeDependencyProvider.cs#L14
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.V1/Discovery/RemotingBaseDiscoverer.cs#L40
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector/Discovery/NoInvokeDependencyProvider.cs#L10
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector/Discovery/NoInvokeDependencyProvider.cs#L14
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector/Discovery/NoInvokeDependencyProvider.cs#L10
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.V1/Discovery/RemotingBaseDiscoverer.cs#L40
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.Generic/ReqnrollProxies/BindingRegistryFactory.cs#L15
Converting null literal or possible null value to non-nullable type.
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.Generic/ReqnrollProxies/BindingRegistryFactory.cs#L15
Cannot convert null literal to non-nullable reference type.
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.Generic/ReqnrollProxies/BindingRegistryFactory.cs#L15
Converting null literal or possible null value to non-nullable type.
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.Generic/ReqnrollProxies/BindingRegistryFactory.cs#L15
Cannot convert null literal to non-nullable reference type.

Artifacts

Produced during runtime
Name Size
trx-test-results Expired
129 KB
vsix Expired
16 MB