Swift 6 Foundation.Decimal issue on Linux

I am working on and using this library:

The library builds successfully on MacOS 15, Swift 6.0, but is having trouble building on Linux, the build result is here:

I found that the issues on Foundation.Decimal on Linux are as follows:

'_length' is inaccessible due to 'internal' protection level SourceKit
'_exponent' is inaccessible due to 'internal' protection level SourceKit

The following constructor does not exist:

init(_exponent: Int32, _length: UInt32, _isNegative: UInt32, _isCompact: UInt32, _reserved: UInt32, _mantissa: (UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16))

The above issues do not occur on Linux with swift 5.10.1.

Any suggestions on how to handle this case? Many thanks in advance.

@icharleshu, I'm able to reproduce, an incompatibility with the linux version?