Skip to content

Fix .NET 4.6.2 Discovery #226

Fix .NET 4.6.2 Discovery

Fix .NET 4.6.2 Discovery #226

Triggered via pull request January 22, 2025 15:06
Status Failure
Total duration 10m 6s
Artifacts 2

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 24 warnings
[@traits.Category] Misformatted feature file is cleaned up: Tests/Reqnroll.VisualStudio.Specs/Features/Editor/Commands/AutoFormatDocumentCommand.feature#L55
Expected tagged.WaitOne(TimeSpan.FromSeconds(5)) to be True because Auto Format Document() haven't triggered a text change, but found False. at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc) at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs) at Reqnroll.VisualStudio.Specs.StepDefinitions.ProjectSystemSteps.PerformCommand(String commandName, String parameter, Nullable`1 commandTargetKey, Boolean waitForTager) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\StepDefinitions\ProjectSystemSteps.cs:line 491 at Reqnroll.VisualStudio.Specs.StepDefinitions.ProjectSystemSteps.WhenIInvokeTheCommand(String commandName) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\StepDefinitions\ProjectSystemSteps.cs:line 341 --- 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.AutoFormatDocumentCommandFeature.<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.AutoFormatDocumentCommandFeature.<MisformattedFeatureFileIsCleanedUp>d__13.MoveNext() in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\Features\Editor\Commands\AutoFormatDocumentCommand.feature:line 55 --- 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) --- 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) --- 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)
[@traits.Category] Uncomment ignores non-comment lines: Tests/Reqnroll.VisualStudio.Specs/Features/Editor/Commands/CommentUncommentCommand.feature#L80
Expected tagged.WaitOne(TimeSpan.FromSeconds(5)) to be True because Uncomment() haven't triggered a text change, but found False. at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc) at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs) at Reqnroll.VisualStudio.Specs.StepDefinitions.ProjectSystemSteps.PerformCommand(String commandName, String parameter, Nullable`1 commandTargetKey, Boolean waitForTager) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\StepDefinitions\ProjectSystemSteps.cs:line 491 at Reqnroll.VisualStudio.Specs.StepDefinitions.ProjectSystemSteps.WhenIInvokeTheCommand(String commandName) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\StepDefinitions\ProjectSystemSteps.cs:line 341 --- 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.CommentAndUncommentCommandsFeature.<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.CommentAndUncommentCommandsFeature.<UncommentIgnoresNon_CommentLines>d__16.MoveNext() in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\Features\Editor\Commands\CommentUncommentCommand.feature:line 80 --- 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) --- 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) --- 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)
build
Process completed with exit code 1.
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/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
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/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: 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
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: 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/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
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.

Artifacts

Produced during runtime
Name Size
build-trx-v2024.8.226-ci20250122-226
366 KB
vsix-v2024.8.226-ci20250122-226
19.8 MB