Skip to content

Stage 2 Builds failing during runtime build #4355

Closed
@Winniexu01

Description

@Winniexu01

Build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2437450&view=logs&j=3121c41d-6088-53a5-4ef6-9a86f3460fe9&t=334539f4-dcef-5cad-a240-02997b3146e7

Error:

/vmr/src/runtime/artifacts/sb/package-cache/microsoft.dotnet.apicompat.task/9.0.100-preview.4.24223.12/build/Microsoft.DotNet.ApiCompat.ValidateAssemblies.Common.targets(16,5): error : API compatibility errors between 'ref/net9.0/System.Private.CoreLib.dll' (left) and 'lib/net9.0/System.Private.CoreLib.dll' (right): [/vmr/src/runtime/src/coreclr/System.Private.CoreLib/System.Private.CoreLib.csproj]
/vmr/src/runtime/artifacts/sb/package-cache/microsoft.dotnet.apicompat.task/9.0.100-preview.4.24223.12/build/Microsoft.DotNet.ApiCompat.ValidateAssemblies.Common.targets(16,5): error CP0021: Cannot add constraint 'T:System.Enum' on type parameter 'TEnum' of 'System.Enum.TryFormat<TEnum>(TEnum, System.Span<char>, out int, System.ReadOnlySpan<char>)'. [/vmr/src/runtime/src/coreclr/System.Private.CoreLib/System.Private.CoreLib.csproj]
/vmr/src/runtime/artifacts/sb/package-cache/microsoft.dotnet.apicompat.task/9.0.100-preview.4.24223.12/build/Microsoft.DotNet.ApiCompat.ValidateAssemblies.Common.targets(16,5): error CP0021: Cannot add constraint 'T:System.Enum' on type parameter 'T' of 'System.Collections.Generic.EnumEqualityComparer<T>'. [/vmr/src/runtime/src/coreclr/System.Private.CoreLib/System.Private.CoreLib.csproj]
/vmr/src/runtime/artifacts/sb/package-cache/microsoft.dotnet.apicompat.task/9.0.100-preview.4.24223.12/build/Microsoft.DotNet.ApiCompat.ValidateAssemblies.Common.targets(16,5): error : API breaking changes found. If those are intentional, the APICompat suppression file can be updated by rebuilding with '/p:ApiCompatGenerateSuppressionFile=true' [/vmr/src/runtime/src/coreclr/System.Private.CoreLib/System.Private.CoreLib.csproj]
    0 Warning(s)
    4 Error(s)

Metadata

Metadata

Assignees

No one assigned

    Labels

    ops-monitorIssues created/handled by the source build monitor role

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions