Skip to content

Fix csharp_style_namespace_declarations EditorConfig support for step definition generation #306

Fix csharp_style_namespace_declarations EditorConfig support for step definition generation

Fix csharp_style_namespace_declarations EditorConfig support for step definition generation #306

Triggered via pull request August 10, 2025 22:14
Status Failure
Total duration 10m 58s
Artifacts 2

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 24 warnings, and 1 notice
build
Process completed with exit code 1.
[@traits.Category] All steps are defined: Tests/Reqnroll.VisualStudio.Specs/Features/Editor/Commands/DefineStepsCommand.feature#L67
System.ArgumentNullException : Value cannot be null. Parameter name: guardedOperations at Microsoft.VisualStudio.Text.Projection.Implementation.BufferGraph..ctor(ITextBuffer topBuffer, GuardedOperations guardedOperations) at Microsoft.VisualStudio.Text.Projection.Implementation.BufferGraphFactoryService.<>c__DisplayClass1_0.<CreateBufferGraph>b__0() at Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func`1 creator) at Microsoft.VisualStudio.Text.Projection.Implementation.BufferGraphFactoryService.CreateBufferGraph(ITextBuffer textBuffer) at Reqnroll.VisualStudio.VsxStubs.StubBufferTagAggregatorFactoryService.CreateTagAggregator[T](ITextBuffer textBuffer, TagAggregatorOptions options) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.VsxStubs\StubBufferTagAggregatorFactoryService.cs:line 21 at Reqnroll.VisualStudio.VsxStubs.StubBufferTagAggregatorFactoryService.CreateTagAggregator[T](ITextBuffer textBuffer) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.VsxStubs\StubBufferTagAggregatorFactoryService.cs:line 13 at Reqnroll.VisualStudio.Specs.StepDefinitions.ProjectSystemSteps.CreateTagAggregator() in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\StepDefinitions\ProjectSystemSteps.cs:line 647 at Reqnroll.VisualStudio.Specs.StepDefinitions.ProjectSystemSteps.GivenTheFollowingFeatureFileInTheEditor(String featureFileContent) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\StepDefinitions\ProjectSystemSteps.cs:line 354 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 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__59.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__56.MoveNext() at Reqnroll.Infrastructure.TestExecutionEngine.<OnAfterLastStepAsync>d__38.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 System.Runtime.CompilerServices.TaskAwaiter.GetResult() at Reqnroll.VisualStudio.Specs.Features.Editor.Commands.DefineStepsCommandFeature.<ScenarioCleanupAsync>d__10.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 System.Runtime.CompilerServices.TaskAwaiter.GetResult() at Reqnroll.VisualStudio.Specs.Features.Editor.Commands.DefineStepsCommandFeature.<AllStepsAreDefined>d__15.MoveNext() in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\Features\Editor\Commands\DefineStepsCommand.feature:line 67 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.Exceptio
[@traits.Category] Matches scenario scoped step definitions: Tests/Reqnroll.VisualStudio.Specs/Features/Editor/StepAnalysis.feature#L235
System.ArgumentNullException : Value cannot be null. Parameter name: guardedOperations at Microsoft.VisualStudio.Text.Projection.Implementation.BufferGraph..ctor(ITextBuffer topBuffer, GuardedOperations guardedOperations) at Microsoft.VisualStudio.Text.Projection.Implementation.BufferGraphFactoryService.<>c__DisplayClass1_0.<CreateBufferGraph>b__0() at Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func`1 creator) at Microsoft.VisualStudio.Text.Projection.Implementation.BufferGraphFactoryService.CreateBufferGraph(ITextBuffer textBuffer) at Reqnroll.VisualStudio.VsxStubs.StubBufferTagAggregatorFactoryService.CreateTagAggregator[T](ITextBuffer textBuffer, TagAggregatorOptions options) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.VsxStubs\StubBufferTagAggregatorFactoryService.cs:line 21 at Reqnroll.VisualStudio.VsxStubs.StubBufferTagAggregatorFactoryService.CreateTagAggregator[T](ITextBuffer textBuffer) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.VsxStubs\StubBufferTagAggregatorFactoryService.cs:line 13 at Reqnroll.VisualStudio.Specs.StepDefinitions.ProjectSystemSteps.CreateTagAggregator() in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\StepDefinitions\ProjectSystemSteps.cs:line 647 at Reqnroll.VisualStudio.Specs.StepDefinitions.ProjectSystemSteps.GivenTheFollowingFeatureFileInTheEditor(String featureFileContent) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\StepDefinitions\ProjectSystemSteps.cs:line 354 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 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__59.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__56.MoveNext() at Reqnroll.Infrastructure.TestExecutionEngine.<OnAfterLastStepAsync>d__38.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 System.Runtime.CompilerServices.TaskAwaiter.GetResult() at Reqnroll.VisualStudio.Specs.Features.Editor.StepAnalysisFeature.<ScenarioCleanupAsync>d__10.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 System.Runtime.CompilerServices.TaskAwaiter.GetResult() at Reqnroll.VisualStudio.Specs.Features.Editor.StepAnalysisFeature.<MatchesScenarioScopedStepDefinitions>d__20.MoveNext() in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\Features\Editor\StepAnalysis.feature:line 235 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatc
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#L134
Dereference of a possibly null reference.
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/Editor/Commands/RenameStepStepDefinitionClassAction.cs#L50
Dereference of a possibly null reference.
build: Reqnroll.VisualStudio/Discovery/ProjectBindingRegistry.cs#L227
Dereference of a possibly null reference.
build: Reqnroll.VisualStudio/Editor/Services/StepFinderBase.cs#L61
Cannot convert null literal to non-nullable reference type.
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.Generic/AssemblyLoading/NugetCacheAssemblyResolver.cs#L5
Nullability of reference types in type of parameter 'assemblies' of 'bool NugetCacheAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List<string> assemblies)' doesn't match implicitly implemented member 'bool ICompilationAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List<string>? assemblies)' (possibly because of nullability attributes).
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.Generic/AssemblyLoading/AspNetCoreAssemblyResolver.cs#L5
Nullability of reference types in type of parameter 'assemblies' of 'bool AspNetCoreAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List<string> assemblies)' doesn't match implicitly implemented member 'bool ICompilationAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List<string>? assemblies)' (possibly because of nullability attributes).
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
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/Discovery/NoInvokeDependencyProvider.cs#L14
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677

Artifacts

Produced during runtime
Name Size Digest
build-trx-v2025.2.306-ci20250810-306 Expired
292 KB
sha256:6e3200d045675c9d58252b3b3d1378fb0b78b4e88d9cd39312a8542b7bb29cec
vsix-v2025.2.306-ci20250810-306 Expired
19.8 MB
sha256:4d8c08a22e90a14f7a4d39474d7d678214bf66821e56f548faf788cbf63873df