Cross-Platform Test #1
Annotations
3 errors and 38 warnings
|
test (macos-14, osx-arm64, PowerShell.MCP.Proxy)
Process completed with exit code 1.
|
|
test (windows-latest, win-x64, PowerShell.MCP.Proxy.exe)
Process completed with exit code 1.
|
|
test (ubuntu-latest, linux-x64, PowerShell.MCP.Proxy)
Process completed with exit code 1.
|
|
test (macos-14, osx-arm64, PowerShell.MCP.Proxy):
PowerShell.MCP.Proxy/Extensions/LocalizedMcpServerBuilderExtensions.cs#L35
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods' in call to 'System.Type.GetMethods(BindingFlags)'. The return value of method 'System.Collections.Generic.IEnumerator<T>.Current.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
test (macos-14, osx-arm64, PowerShell.MCP.Proxy):
PowerShell.MCP.Proxy/Extensions/LocalizedMcpServerBuilderExtensions.cs#L30
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
|
|
test (macos-14, osx-arm64, PowerShell.MCP.Proxy):
PowerShell.MCP.Proxy/Program.cs#L30
Using member 'Microsoft.Extensions.DependencyInjection.McpServerBuilderExtensions.WithToolsFromAssembly(IMcpServerBuilder, Assembly, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. The non-generic WithTools and WithToolsFromAssembly methods require dynamic lookup of method metadataand may not work in Native AOT. Use the generic WithTools method instead.
|
|
test (macos-14, osx-arm64, PowerShell.MCP.Proxy):
PowerShell.MCP.Proxy/Extensions/LocalizedMcpServerBuilderExtensions.cs#L141
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 'targetType' of method 'Microsoft.Extensions.DependencyInjection.LocalizedMcpServerBuilderExtensions.CreateTarget(IServiceProvider, Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
test (macos-14, osx-arm64, PowerShell.MCP.Proxy)
Found version-specific or distribution-specific runtime identifier(s): win10-x64, win10-x86, win7-x64, win7-x86, win8-x64, win8-x86, win81-x64, win81-x86. Affected libraries: Microsoft.Management.Infrastructure.Runtime.Win. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
|
|
test (macos-14, osx-arm64, PowerShell.MCP.Proxy):
PowerShell.MCP/Cmdlets/ShowTextFileCmdlet.cs#L197
Possible null reference argument for parameter 'pattern' in 'Regex.Regex(string pattern, RegexOptions options)'.
|
|
test (macos-14, osx-arm64, PowerShell.MCP.Proxy):
PowerShell.MCP/Cmdlets/TextFileUtility.cs#L15
Non-nullable property 'NewlineSequence' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
test (macos-14, osx-arm64, PowerShell.MCP.Proxy):
PowerShell.MCP/Cmdlets/TextFileUtility.cs#L14
Non-nullable property 'Encoding' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
test (macos-14, osx-arm64, PowerShell.MCP.Proxy)
Found version-specific or distribution-specific runtime identifier(s): win10-x64, win10-x86, win7-x64, win7-x86, win8-x64, win8-x86, win81-x64, win81-x86. Affected libraries: Microsoft.Management.Infrastructure.Runtime.Win. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
|
|
test (macos-14, osx-arm64, PowerShell.MCP.Proxy):
PowerShell.MCP/Cmdlets/ShowTextFileCmdlet.cs#L197
Possible null reference argument for parameter 'pattern' in 'Regex.Regex(string pattern, RegexOptions options)'.
|
|
test (macos-14, osx-arm64, PowerShell.MCP.Proxy):
PowerShell.MCP/Cmdlets/TextFileUtility.cs#L15
Non-nullable property 'NewlineSequence' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
test (macos-14, osx-arm64, PowerShell.MCP.Proxy):
PowerShell.MCP/Cmdlets/TextFileUtility.cs#L14
Non-nullable property 'Encoding' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
test (macos-14, osx-arm64, PowerShell.MCP.Proxy)
Calling `depends_on macos: :high_sierra` is deprecated! There is no replacement.
Please report this issue to the powershell/homebrew-tap tap (not Homebrew/* repositories):
/opt/homebrew/Library/Taps/powershell/homebrew-tap/Formula/powershell.rb:33
|
|
test (macos-14, osx-arm64, PowerShell.MCP.Proxy)
Calling `depends_on macos: :high_sierra` is deprecated! There is no replacement.
Please report this issue to the powershell/homebrew-tap tap (not Homebrew/* repositories):
/opt/homebrew/Library/Taps/powershell/homebrew-tap/Formula/powershell.rb:33
|
|
test (windows-latest, win-x64, PowerShell.MCP.Proxy.exe):
PowerShell.MCP.Proxy/Extensions/LocalizedMcpServerBuilderExtensions.cs#L35
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods' in call to 'System.Type.GetMethods(BindingFlags)'. The return value of method 'System.Collections.Generic.IEnumerator<T>.Current.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
test (windows-latest, win-x64, PowerShell.MCP.Proxy.exe):
PowerShell.MCP.Proxy/Extensions/LocalizedMcpServerBuilderExtensions.cs#L30
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
|
|
test (windows-latest, win-x64, PowerShell.MCP.Proxy.exe):
PowerShell.MCP.Proxy/Program.cs#L30
Using member 'Microsoft.Extensions.DependencyInjection.McpServerBuilderExtensions.WithToolsFromAssembly(IMcpServerBuilder, Assembly, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. The non-generic WithTools and WithToolsFromAssembly methods require dynamic lookup of method metadataand may not work in Native AOT. Use the generic WithTools method instead.
|
|
test (windows-latest, win-x64, PowerShell.MCP.Proxy.exe):
PowerShell.MCP.Proxy/Extensions/LocalizedMcpServerBuilderExtensions.cs#L141
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 'targetType' of method 'Microsoft.Extensions.DependencyInjection.LocalizedMcpServerBuilderExtensions.CreateTarget(IServiceProvider, Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
test (windows-latest, win-x64, PowerShell.MCP.Proxy.exe)
Found version-specific or distribution-specific runtime identifier(s): win10-x64, win10-x86, win7-x64, win7-x86, win8-x64, win8-x86, win81-x64, win81-x86. Affected libraries: Microsoft.Management.Infrastructure.Runtime.Win. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
|
|
test (windows-latest, win-x64, PowerShell.MCP.Proxy.exe):
PowerShell.MCP/Cmdlets/ShowTextFileCmdlet.cs#L197
Possible null reference argument for parameter 'pattern' in 'Regex.Regex(string pattern, RegexOptions options)'.
|
|
test (windows-latest, win-x64, PowerShell.MCP.Proxy.exe):
PowerShell.MCP/Cmdlets/TextFileUtility.cs#L15
Non-nullable property 'NewlineSequence' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
test (windows-latest, win-x64, PowerShell.MCP.Proxy.exe):
PowerShell.MCP/Cmdlets/TextFileUtility.cs#L14
Non-nullable property 'Encoding' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
test (windows-latest, win-x64, PowerShell.MCP.Proxy.exe)
Found version-specific or distribution-specific runtime identifier(s): win10-x64, win10-x86, win7-x64, win7-x86, win8-x64, win8-x86, win81-x64, win81-x86. Affected libraries: Microsoft.Management.Infrastructure.Runtime.Win. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
|
|
test (windows-latest, win-x64, PowerShell.MCP.Proxy.exe):
PowerShell.MCP/Cmdlets/ShowTextFileCmdlet.cs#L197
Possible null reference argument for parameter 'pattern' in 'Regex.Regex(string pattern, RegexOptions options)'.
|
|
test (windows-latest, win-x64, PowerShell.MCP.Proxy.exe):
PowerShell.MCP/Cmdlets/TextFileUtility.cs#L15
Non-nullable property 'NewlineSequence' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
test (windows-latest, win-x64, PowerShell.MCP.Proxy.exe):
PowerShell.MCP/Cmdlets/TextFileUtility.cs#L14
Non-nullable property 'Encoding' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
test (ubuntu-latest, linux-x64, PowerShell.MCP.Proxy):
PowerShell.MCP.Proxy/Extensions/LocalizedMcpServerBuilderExtensions.cs#L35
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods' in call to 'System.Type.GetMethods(BindingFlags)'. The return value of method 'System.Collections.Generic.IEnumerator<T>.Current.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
test (ubuntu-latest, linux-x64, PowerShell.MCP.Proxy):
PowerShell.MCP.Proxy/Extensions/LocalizedMcpServerBuilderExtensions.cs#L30
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
|
|
test (ubuntu-latest, linux-x64, PowerShell.MCP.Proxy):
PowerShell.MCP.Proxy/Extensions/LocalizedMcpServerBuilderExtensions.cs#L141
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 'targetType' of method 'Microsoft.Extensions.DependencyInjection.LocalizedMcpServerBuilderExtensions.CreateTarget(IServiceProvider, Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
test (ubuntu-latest, linux-x64, PowerShell.MCP.Proxy):
PowerShell.MCP.Proxy/Program.cs#L30
Using member 'Microsoft.Extensions.DependencyInjection.McpServerBuilderExtensions.WithToolsFromAssembly(IMcpServerBuilder, Assembly, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. The non-generic WithTools and WithToolsFromAssembly methods require dynamic lookup of method metadataand may not work in Native AOT. Use the generic WithTools method instead.
|
|
test (ubuntu-latest, linux-x64, PowerShell.MCP.Proxy)
Found version-specific or distribution-specific runtime identifier(s): win10-x64, win10-x86, win7-x64, win7-x86, win8-x64, win8-x86, win81-x64, win81-x86. Affected libraries: Microsoft.Management.Infrastructure.Runtime.Win. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
|
|
test (ubuntu-latest, linux-x64, PowerShell.MCP.Proxy):
PowerShell.MCP/Cmdlets/ShowTextFileCmdlet.cs#L197
Possible null reference argument for parameter 'pattern' in 'Regex.Regex(string pattern, RegexOptions options)'.
|
|
test (ubuntu-latest, linux-x64, PowerShell.MCP.Proxy):
PowerShell.MCP/Cmdlets/TextFileUtility.cs#L15
Non-nullable property 'NewlineSequence' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
test (ubuntu-latest, linux-x64, PowerShell.MCP.Proxy):
PowerShell.MCP/Cmdlets/TextFileUtility.cs#L14
Non-nullable property 'Encoding' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
test (ubuntu-latest, linux-x64, PowerShell.MCP.Proxy)
Found version-specific or distribution-specific runtime identifier(s): win10-x64, win10-x86, win7-x64, win7-x86, win8-x64, win8-x86, win81-x64, win81-x86. Affected libraries: Microsoft.Management.Infrastructure.Runtime.Win. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
|
|
test (ubuntu-latest, linux-x64, PowerShell.MCP.Proxy):
PowerShell.MCP/Cmdlets/ShowTextFileCmdlet.cs#L197
Possible null reference argument for parameter 'pattern' in 'Regex.Regex(string pattern, RegexOptions options)'.
|
|
test (ubuntu-latest, linux-x64, PowerShell.MCP.Proxy):
PowerShell.MCP/Cmdlets/TextFileUtility.cs#L15
Non-nullable property 'NewlineSequence' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
test (ubuntu-latest, linux-x64, PowerShell.MCP.Proxy):
PowerShell.MCP/Cmdlets/TextFileUtility.cs#L14
Non-nullable property 'Encoding' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|