-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-System.IOblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
Description
Related to #68908. I can see multiple PRs with CI reporting this error as well.
I'm just not sure if a CompatibilitySuppresions.xml is what may fix this error (considering that this is S.P.CoreLib code).
ApiCompat -> Comparing net7.0 reference assemblies against .NETStandard2.x and .NETCoreApp6.0...
C:\repos\runtime2\src\libraries\apicompat\ApiCompat.proj(82,5): error : Compat issues with assembly mscorlib:
C:\repos\runtime2\src\libraries\apicompat\ApiCompat.proj(82,5): error : CannotChangeAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' on 'System.IO.FileStream.Lock(System.Int64, System.Int64)' changed from '[UnsupportedOSPlatformAttribute("ios")]' in the contract to '[UnsupportedOSPlatformAttribute("freebsd")]' in the implementation.
C:\repos\runtime2\src\libraries\apicompat\ApiCompat.proj(82,5): error : CannotChangeAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' on 'System.IO.FileStream.Unlock(System.Int64, System.Int64)' changed from '[UnsupportedOSPlatformAttribute("ios")]' in the contract to '[UnsupportedOSPlatformAttribute("freebsd")]' in the implementation.
C:\repos\runtime2\src\libraries\apicompat\ApiCompat.proj(82,5): error : Compat issues with assembly netstandard:
C:\repos\runtime2\src\libraries\apicompat\ApiCompat.proj(82,5): error : CannotChangeAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' on 'System.IO.FileStream.Lock(System.Int64, System.Int64)' changed from '[UnsupportedOSPlatformAttribute("ios")]' in the contract to '[UnsupportedOSPlatformAttribute("freebsd")]' in the implementation.
C:\repos\runtime2\src\libraries\apicompat\ApiCompat.proj(82,5): error : CannotChangeAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' on 'System.IO.FileStream.Unlock(System.Int64, System.Int64)' changed from '[UnsupportedOSPlatformAttribute("ios")]' in the contract to '[UnsupportedOSPlatformAttribute("freebsd")]' in the implementation.
C:\repos\runtime2\src\libraries\apicompat\ApiCompat.proj(82,5): error : Compat issues with assembly System.IO.FileSystem:
C:\repos\runtime2\src\libraries\apicompat\ApiCompat.proj(82,5): error : CannotChangeAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' on 'System.IO.FileStream.Lock(System.Int64, System.Int64)' changed from '[UnsupportedOSPlatformAttribute("ios")]' in the contract to '[UnsupportedOSPlatformAttribute("freebsd")]' in the implementation.
C:\repos\runtime2\src\libraries\apicompat\ApiCompat.proj(82,5): error : CannotChangeAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' on 'System.IO.FileStream.Unlock(System.Int64, System.Int64)' changed from '[UnsupportedOSPlatformAttribute("ios")]' in the contract to '[UnsupportedOSPlatformAttribute("freebsd")]' in the implementation.
C:\repos\runtime2\src\libraries\apicompat\ApiCompat.proj(82,5): error : Compat issues with assembly System.Runtime:
C:\repos\runtime2\src\libraries\apicompat\ApiCompat.proj(82,5): error : CannotChangeAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' on 'System.IO.FileStream.Lock(System.Int64, System.Int64)' changed from '[UnsupportedOSPlatformAttribute("ios")]' in the contract to '[UnsupportedOSPlatformAttribute("freebsd")]' in the implementation.
C:\repos\runtime2\src\libraries\apicompat\ApiCompat.proj(82,5): error : CannotChangeAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' on 'System.IO.FileStream.Unlock(System.Int64, System.Int64)' changed from '[UnsupportedOSPlatformAttribute("ios")]' in the contract to '[UnsupportedOSPlatformAttribute("freebsd")]' in the implementation.
{ "ErrorMessage":"error : CannotChangeAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' on 'System.IO.FileStream.Lock(System.Int64, System.Int64)' changed from '[UnsupportedOSPlatformAttribute(\"ios\")]' in the contract to '[UnsupportedOSPlatformAttribute(\"freebsd\")]' in the implementation." }Report
| Build | Definition | Step Name | Console log |
|---|---|---|---|
| 1755080 | dotnet/runtime | Build product | https://dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_apis/build/builds/1755080/logs/450 |
| 1755031 | dotnet/runtime | Build product | https://dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_apis/build/builds/1755031/logs/400 |
| 1755052 | dotnet/runtime | Build product | https://dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_apis/build/builds/1755052/logs/476 |
Summary
| Day Hit Count | Week Hit Count | Month Hit Count |
|---|---|---|
| 0 | 3 | 3 |
Metadata
Metadata
Assignees
Labels
area-System.IOblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'