Skip to content

fix build error caused by package latest detection problem #98

fix build error caused by package latest detection problem

fix build error caused by package latest detection problem #98

Triggered via pull request June 10, 2024 15:16
Status Failure
Total duration 9m 35s
Artifacts 2

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 20 warnings
[@traits.Category] Discover bindings from Reqnroll using different test runners(testRunnerTool: "MsTest": Tests/Reqnroll.VisualStudio.Specs/Features/Discovery/DiscoveryReqnrollVersionCompatibility.feature#L31
System.IO.DirectoryNotFoundException : Could not find a part of the path 'C:\Users\runneradmin\.nuget\packages\MSTest.TestAdapter'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileSystemEnumerableIterator`1.CommonInit() at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) at System.IO.Directory.GetDirectories(String path) at Reqnroll.SampleProjectGenerator.NewProjectFormatProjectChanger.InstallNuGetPackage(String packagesFolder, String packageName, String sourcePlatform, String packageVersion, Boolean dependency) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.SampleProjectGenerator.Core\NewProjectFormatProjectChanger.cs:line 39 at Reqnroll.SampleProjectGenerator.ProjectGenerator.InstallMsTest(String packagesFolder, String projectFilePath) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.SampleProjectGenerator.Core\ProjectGenerator.cs:line 304 at Reqnroll.SampleProjectGenerator.ProjectGenerator.Generate() in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.SampleProjectGenerator.Core\ProjectGenerator.cs:line 76 at Reqnroll.VisualStudio.Specs.StepDefinitions.DeveroomSteps.GetProjectScope() in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\StepDefinitions\DeveroomSteps.cs:line 239 at Reqnroll.VisualStudio.Specs.StepDefinitions.DeveroomSteps.<WhenTheBindingDiscoveryPerformed>d__27.MoveNext() in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\StepDefinitions\DeveroomSteps.cs:line 217 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Reqnroll.Bindings.AsyncMethodHelper.<ConvertTaskOfT>d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Reqnroll.Bindings.BindingDelegateInvoker.<InvokeDelegateAsync>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Reqnroll.Bindings.BindingInvoker.<InvokeBindingAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Reqnroll.Infrastructure.TestExecutionEngine.<ExecuteStepMatchAsync>d__57.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Reqnroll.Infrastructure.TestExecutionEngine.<ExecuteStepAsync>d__54.MoveNext() at Reqnroll.Infrastructure.TestExecutionEngine.<OnAfterLastStepAsync>d__33.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Reqnroll.TestRunner.<CollectScenarioErrorsAsync>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Reqnroll.VisualStudio.
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/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/Discovery/ProjectBindingRegistry.cs#L219
Dereference of a possibly null reference.
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/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.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/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/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
243 KB
vsix Expired
16 MB