Hello, I'm currently making a library.
It successed building and running test on macOS big sur and swift 5.3.
However, when I install swift 5.3 on ubuntu 16.04, it failed following commands.
swift build -v
I tried in github actions ubuntu 18.04, but it also failed with same error messages.
Because it seems no problem with importing Unsupported Module, I can't know why this is wrong.
Please help me, thanks.
(Here are the some lines error messages. These errors are nonsense)
/home/runner/work/HwpKit/HwpKit/Sources/HwpKitFramework/Utils/Type.swift:13:26: error: cannot find type 'UniChar' in scope
public typealias WCHAR = UniChar
^~~~~~~
/home/runner/work/HwpKit/HwpKit/Sources/HwpKitFramework/Models/DocInfo/Id Mappings/HwpBinData.swift:8:15: error: type 'HwpBinData' does not conform to protocol 'Decodable'
public struct HwpBinData: HwpFromData {
^
Swift.Decodable:2:5: note: protocol requires initializer 'init(from:)' with type 'Decodable'
init(from decoder: Decoder) throws
^
/home/runner/work/HwpKit/HwpKit/Sources/HwpKitFramework/Models/DocInfo/Id Mappings/HwpBinData.swift:17:16: note: cannot automatically synthesize 'Decodable' because '<<error type>>' does not conform to 'Decodable'
public var absolutePath: [WCHAR]?
^
/home/runner/work/HwpKit/HwpKit/Sources/HwpKitFramework/Models/DocInfo/Id Mappings/HwpBinData.swift:21:16: note: cannot automatically synthesize 'Decodable' because '<<error type>>' does not conform to 'Decodable'
public var relativePath: [WCHAR]?
(here is deps of package.swift)
dependencies: [
.package(url: "https://github.com/CoreOffice/OLEKit.git", .exact("0.2.0")),
.package(url: "https://github.com/tsolomko/SWCompression.git", .exact("4.5.7")),
.package(url: "https://github.com/Carthage/Commandant.git", .exact("0.17.0"))
],