Build Information
Failed to build PerfectFileMaker, reference master (e7c694), with Swift 6.3 for Linux on 10 Apr 2026 18:26:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-filemaker.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/perfectlysoft/perfect-filemaker
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e7c6943 Merge pull request #1 from RockfordWei/master
Cloned https://github.com/perfectlysoft/perfect-filemaker.git
Revision (git rev-parse @):
e7c69432e2f9f5a45a36c85b6a87056d96078108
SUCCESS checkout https://github.com/perfectlysoft/perfect-filemaker.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-filemaker.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/PerfectlySoft/Perfect-XML.git
Fetching https://github.com/PerfectlySoft/Perfect-CURL.git
[1/227] Fetching perfect-xml
[228/731] Fetching perfect-xml, perfect-curl
Fetched https://github.com/PerfectlySoft/Perfect-XML.git from cache (0.25s)
Fetched https://github.com/PerfectlySoft/Perfect-CURL.git from cache (0.25s)
Computing version for https://github.com/PerfectlySoft/Perfect-XML.git
Computed https://github.com/PerfectlySoft/Perfect-XML.git at 3.1.3 (0.67s)
Fetching https://github.com/PerfectlySoft/Perfect-libxml2.git
[1/89] Fetching perfect-libxml2
Fetched https://github.com/PerfectlySoft/Perfect-libxml2.git from cache (0.41s)
Computing version for https://github.com/PerfectlySoft/Perfect-libxml2.git
Computed https://github.com/PerfectlySoft/Perfect-libxml2.git at 3.0.1 (0.83s)
Computing version for https://github.com/PerfectlySoft/Perfect-CURL.git
Computed https://github.com/PerfectlySoft/Perfect-CURL.git at 3.1.0 (0.41s)
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git
Fetching https://github.com/PerfectlySoft/Perfect-HTTP.git
[1/808] Fetching perfect-http
[252/885] Fetching perfect-http, perfect-libcurl
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git from cache (0.26s)
Fetched https://github.com/PerfectlySoft/Perfect-HTTP.git from cache (0.26s)
Computing version for https://github.com/PerfectlySoft/Perfect-libcurl.git
Computed https://github.com/PerfectlySoft/Perfect-libcurl.git at 2.1.0 (0.66s)
Computing version for https://github.com/PerfectlySoft/Perfect-HTTP.git
Computed https://github.com/PerfectlySoft/Perfect-HTTP.git at 3.3.0 (0.40s)
Fetching https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
Fetching https://github.com/PerfectlySoft/Perfect-Net.git
[1/65] Fetching perfect-linuxbridge
[66/635] Fetching perfect-linuxbridge, perfect-net
[636/11419] Fetching perfect-linuxbridge, perfect-net, perfectlib
Fetched https://github.com/PerfectlySoft/Perfect-LinuxBridge.git from cache (3.31s)
Fetched https://github.com/PerfectlySoft/Perfect-Net.git from cache (3.31s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (3.40s)
Computing version for https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
Computed https://github.com/PerfectlySoft/Perfect-LinuxBridge.git at 3.1.0 (3.79s)
Computing version for https://github.com/PerfectlySoft/Perfect-Net.git
Computed https://github.com/PerfectlySoft/Perfect-Net.git at 3.3.0 (0.44s)
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git
Fetching https://github.com/PerfectlySoft/Perfect-Crypto.git
[1/612] Fetching perfect-crypto
[87/991] Fetching perfect-crypto, perfect-thread
Fetched https://github.com/PerfectlySoft/Perfect-Crypto.git from cache (0.22s)
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git from cache (0.22s)
Computing version for https://github.com/PerfectlySoft/Perfect-Crypto.git
Computed https://github.com/PerfectlySoft/Perfect-Crypto.git at 3.3.0 (0.63s)
Fetching https://github.com/PerfectlySoft/Perfect-COpenSSL-Linux.git
[1/188] Fetching perfect-copenssl-linux
Fetched https://github.com/PerfectlySoft/Perfect-COpenSSL-Linux.git from cache (0.19s)
Computing version for https://github.com/PerfectlySoft/Perfect-COpenSSL-Linux.git
Computed https://github.com/PerfectlySoft/Perfect-COpenSSL-Linux.git at 4.0.2 (2.28s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.40s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.39s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-HTTP.git
Working copy of https://github.com/PerfectlySoft/Perfect-HTTP.git resolved at 3.3.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-Thread.git
Working copy of https://github.com/PerfectlySoft/Perfect-Thread.git resolved at 3.0.7
Creating working copy for https://github.com/PerfectlySoft/Perfect-COpenSSL-Linux.git
Working copy of https://github.com/PerfectlySoft/Perfect-COpenSSL-Linux.git resolved at 4.0.2
Creating working copy for https://github.com/PerfectlySoft/Perfect-CURL.git
Working copy of https://github.com/PerfectlySoft/Perfect-CURL.git resolved at 3.1.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-LinuxBridge.git
Working copy of https://github.com/PerfectlySoft/Perfect-LinuxBridge.git resolved at 3.1.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-Net.git
Working copy of https://github.com/PerfectlySoft/Perfect-Net.git resolved at 3.3.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-Crypto.git
Working copy of https://github.com/PerfectlySoft/Perfect-Crypto.git resolved at 3.3.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-XML.git
Working copy of https://github.com/PerfectlySoft/Perfect-XML.git resolved at 3.1.3
Creating working copy for https://github.com/PerfectlySoft/Perfect-libcurl.git
Working copy of https://github.com/PerfectlySoft/Perfect-libcurl.git resolved at 2.1.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-libxml2.git
Working copy of https://github.com/PerfectlySoft/Perfect-libxml2.git resolved at 3.0.1
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 3.1.4
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: 'perfect-libxml2': ignoring declared target(s) 'libxml2' in the system package
Building for debugging...
[0/10] Write sources
[8/10] Compiling LinuxBridge LinuxBridge.c
[9/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/29] Emitting module PerfectLib
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:128:54: error: cannot find type 'dirent' in scope
126 |
127 | #if os(Linux)
128 | func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
| `- error: cannot find type 'dirent' in scope
129 | return readdir_r(d, &dirEnt, endPtr)
130 | }
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:128:114: error: cannot find type 'dirent' in scope
126 |
127 | #if os(Linux)
128 | func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
| `- error: cannot find type 'dirent' in scope
129 | return readdir_r(d, &dirEnt, endPtr)
130 | }
[12/30] Compiling PerfectThread Threading.swift
[13/30] Compiling PerfectLib PerfectError.swift
[14/30] Compiling PerfectLib PerfectServer.swift
[15/30] Compiling PerfectLib SysProcess.swift
[16/30] Compiling PerfectThread ThreadQueue.swift
[17/30] Compiling PerfectThread Promise.swift
[18/30] Emitting module PerfectThread
[19/31] Compiling PerfectXML XPath.swift
[20/31] Compiling PerfectLib JSONConvertible.swift
[21/31] Compiling PerfectLib Log.swift
[23/31] Compiling PerfectLib File.swift
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:66:16: error: cannot find 'access' in scope
64 | /// - returns: True if the file exists or false otherwise
65 | public var exists: Bool {
66 | return access(internalPath, F_OK) != -1
| `- error: cannot find 'access' in scope
67 | }
68 |
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:85:19: error: cannot find 'readlink' in scope
83 | var ary = [UInt8](repeating: 0, count: maxPath)
84 | let buffer = UnsafeMutableRawPointer(mutating: ary).assumingMemoryBound(to: Int8.self)
85 | let res = readlink(internalPath, buffer, maxPath)
| `- error: cannot find 'readlink' in scope
86 | guard res != -1 else {
87 | return internalPath
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:116:15: error: cannot find 'wordexp_t' in scope
114 | #if !os(iOS) && !os(tvOS)
115 | if !inPath.isEmpty && inPath[inPath.startIndex] == "~" {
116 | var wexp = wordexp_t()
| `- error: cannot find 'wordexp_t' in scope
117 | guard 0 == wordexp(inPath, &wexp, 0),
118 | let we_wordv = wexp.we_wordv else {
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:117:15: error: cannot find 'wordexp' in scope
115 | if !inPath.isEmpty && inPath[inPath.startIndex] == "~" {
116 | var wexp = wordexp_t()
117 | guard 0 == wordexp(inPath, &wexp, 0),
| `- error: cannot find 'wordexp' in scope
118 | let we_wordv = wexp.we_wordv else {
119 | return inPath
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:122:5: error: cannot find 'wordfree' in scope
120 | }
121 | defer {
122 | wordfree(&wexp)
| `- error: cannot find 'wordfree' in scope
123 | }
124 | if let resolved = we_wordv[0], let pth = String(validatingUTF8: resolved) {
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:148:8: error: module 'SwiftGlibc' has no member named 'close'
146 | if fd != -1 {
147 | #if os(Linux)
148 | _ = SwiftGlibc.close(CInt(fd))
| `- error: module 'SwiftGlibc' has no member named 'close'
149 | #else
150 | _ = Darwin.close(CInt(fd))
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:258:28: error: cannot find 'lseek' in scope
256 | get {
257 | if isOpen {
258 | return Int(lseek(Int32(fd), 0, SEEK_CUR))
| `- error: cannot find 'lseek' in scope
259 | }
260 | return 0
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:264:13: error: cannot find 'lseek' in scope
262 | /// Sets the file's position marker given the value as measured from the begining of the file.
263 | set {
264 | lseek(Int32(fd), off_t(newValue), SEEK_SET)
| `- error: cannot find 'lseek' in scope
265 | }
266 | }
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:274:9: error: cannot find 'unlink' in scope
272 | func delete() {
273 | close()
274 | unlink(path)
| `- error: cannot find 'unlink' in scope
275 | }
276 |
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:407:13: error: cannot find 'symlink' in scope
405 | destFile.delete()
406 | }
407 | let res = symlink(self.path, path)
| `- error: cannot find 'symlink' in scope
408 | if res == 0 {
409 | return File(path)
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:442:19: error: cannot find 'read' in scope
440 | let ptr = UnsafeMutableRawPointer(mutating: ary).assumingMemoryBound(to: Int8.self)
441 |
442 | let readCount = read(CInt(fd), ptr, bSize)
| `- error: cannot find 'read' in scope
443 | guard readCount >= 0 else {
444 | try ThrowFileError()
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:480:15: error: module 'SwiftGlibc' has no member named 'write'
478 | let ptr = UnsafeMutableRawPointer(mutating: bytes).assumingMemoryBound(to: UInt8.self).advanced(by: dataPosition)
479 | #if os(Linux)
480 | let wrote = SwiftGlibc.write(Int32(fd), ptr, len)
| `- error: module 'SwiftGlibc' has no member named 'write'
481 | #else
482 | let wrote = Darwin.write(Int32(fd), ptr, len)
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:573:18: error: cannot find 'mkstemp' in scope
571 | name[utf8.count] = 0
572 |
573 | let fd = mkstemp(name)
| `- error: cannot find 'mkstemp' in scope
574 | let tmpFileName = String(validatingUTF8: name)!
575 |
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:584:45: error: cannot find 'STDIN_FILENO' in scope
582 | /// This file can be used to write to standard in
583 | public var fileStdin: File {
584 | return UnclosableFile("/dev/stdin", fd: STDIN_FILENO)
| `- error: cannot find 'STDIN_FILENO' in scope
585 | }
586 |
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:589:43: error: cannot find 'STDOUT_FILENO' in scope
587 | /// This file can be used to write to standard out
588 | public var fileStdout: File {
589 | return UnclosableFile("/dev/stdout", fd: STDOUT_FILENO)
| `- error: cannot find 'STDOUT_FILENO' in scope
590 | }
591 |
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/File.swift:594:43: error: cannot find 'STDERR_FILENO' in scope
592 | /// This file can be used to write to standard error
593 | public var fileStderr: File {
594 | return UnclosableFile("/dev/stderr", fd: STDERR_FILENO)
| `- error: cannot find 'STDERR_FILENO' in scope
595 | }
596 |
[24/31] Compiling PerfectLib Bytes.swift
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:128:54: error: cannot find type 'dirent' in scope
126 |
127 | #if os(Linux)
128 | func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
| `- error: cannot find type 'dirent' in scope
129 | return readdir_r(d, &dirEnt, endPtr)
130 | }
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:128:114: error: cannot find type 'dirent' in scope
126 |
127 | #if os(Linux)
128 | func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
| `- error: cannot find type 'dirent' in scope
129 | return readdir_r(d, &dirEnt, endPtr)
130 | }
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:47:13: error: cannot find 'chdir' in scope
45 | /// Set this Dir as the process' working directory.
46 | public func setAsWorkingDir() throws {
47 | let res = chdir(internalPath)
| `- error: cannot find 'chdir' in scope
48 | guard res == 0 else {
49 | try ThrowFileError()
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:56:11: error: cannot find 'getcwd' in scope
54 | public static var workingDir: Dir {
55 | let buffer = Array(repeating: 0 as UInt8, count: 2049)
56 | let _ = getcwd(UnsafeMutableRawPointer(mutating: buffer).assumingMemoryBound(to: Int8.self), 2048)
| `- error: cannot find 'getcwd' in scope
57 | let path = String(validatingUTF8: UnsafeMutableRawPointer(mutating: buffer).assumingMemoryBound(to: Int8.self)) ?? "."
58 | return Dir(path)
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:62:10: error: cannot find 'access' in scope
60 |
61 | func exists(_ path: String) -> Bool {
62 | return access(path, F_OK) != -1
| `- error: cannot find 'access' in scope
63 | }
64 |
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:89:13: error: cannot find 'rmdir' in scope
87 | /// - throws: `PerfectError.FileError`
88 | public func delete() throws {
89 | let res = rmdir(realPath)
| `- error: cannot find 'rmdir' in scope
90 | guard res != -1 else {
91 | try ThrowFileError()
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:129:16: error: cannot find 'readdir_r' in scope
127 | #if os(Linux)
128 | func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
129 | return readdir_r(d, &dirEnt, endPtr)
| `- error: cannot find 'readdir_r' in scope
130 | }
131 | #else
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:141:19: error: cannot find 'opendir' in scope
139 | /// - throws: `PerfectError.FileError`
140 | public func forEachEntry(closure: (String) throws -> ()) throws {
141 | guard let dir = opendir(realPath) else {
| `- error: cannot find 'opendir' in scope
142 | try ThrowFileError()
143 | }
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:145:11: error: cannot find 'closedir' in scope
143 | }
144 |
145 | defer { closedir(dir) }
| `- error: cannot find 'closedir' in scope
146 |
147 | var ent = dirent()
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:147:13: error: cannot find 'dirent' in scope
145 | defer { closedir(dir) }
146 |
147 | var ent = dirent()
| `- error: cannot find 'dirent' in scope
148 | let entPtr = UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>.allocate(capacity: 1)
149 | defer { entPtr.deallocate() }
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:148:58: error: cannot find type 'dirent' in scope
146 |
147 | var ent = dirent()
148 | let entPtr = UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>.allocate(capacity: 1)
| `- error: cannot find type 'dirent' in scope
149 | defer { entPtr.deallocate() }
150 |
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:174:41: error: cannot find 'DT_DIR' in scope
172 | nameBuf.append(0)
173 | if let name = String(validatingUTF8: nameBuf), !(name == "." || name == "..") {
174 | if Int32(type) == Int32(DT_DIR) {
| `- error: cannot find 'DT_DIR' in scope
175 | try closure(name + "/")
176 | } else {
[25/31] Compiling PerfectLib Dir.swift
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:128:54: error: cannot find type 'dirent' in scope
126 |
127 | #if os(Linux)
128 | func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
| `- error: cannot find type 'dirent' in scope
129 | return readdir_r(d, &dirEnt, endPtr)
130 | }
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:128:114: error: cannot find type 'dirent' in scope
126 |
127 | #if os(Linux)
128 | func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
| `- error: cannot find type 'dirent' in scope
129 | return readdir_r(d, &dirEnt, endPtr)
130 | }
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:47:13: error: cannot find 'chdir' in scope
45 | /// Set this Dir as the process' working directory.
46 | public func setAsWorkingDir() throws {
47 | let res = chdir(internalPath)
| `- error: cannot find 'chdir' in scope
48 | guard res == 0 else {
49 | try ThrowFileError()
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:56:11: error: cannot find 'getcwd' in scope
54 | public static var workingDir: Dir {
55 | let buffer = Array(repeating: 0 as UInt8, count: 2049)
56 | let _ = getcwd(UnsafeMutableRawPointer(mutating: buffer).assumingMemoryBound(to: Int8.self), 2048)
| `- error: cannot find 'getcwd' in scope
57 | let path = String(validatingUTF8: UnsafeMutableRawPointer(mutating: buffer).assumingMemoryBound(to: Int8.self)) ?? "."
58 | return Dir(path)
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:62:10: error: cannot find 'access' in scope
60 |
61 | func exists(_ path: String) -> Bool {
62 | return access(path, F_OK) != -1
| `- error: cannot find 'access' in scope
63 | }
64 |
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:89:13: error: cannot find 'rmdir' in scope
87 | /// - throws: `PerfectError.FileError`
88 | public func delete() throws {
89 | let res = rmdir(realPath)
| `- error: cannot find 'rmdir' in scope
90 | guard res != -1 else {
91 | try ThrowFileError()
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:129:16: error: cannot find 'readdir_r' in scope
127 | #if os(Linux)
128 | func readDir(_ d: OpaquePointer, _ dirEnt: inout dirent, _ endPtr: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!) -> Int32 {
129 | return readdir_r(d, &dirEnt, endPtr)
| `- error: cannot find 'readdir_r' in scope
130 | }
131 | #else
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:141:19: error: cannot find 'opendir' in scope
139 | /// - throws: `PerfectError.FileError`
140 | public func forEachEntry(closure: (String) throws -> ()) throws {
141 | guard let dir = opendir(realPath) else {
| `- error: cannot find 'opendir' in scope
142 | try ThrowFileError()
143 | }
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:145:11: error: cannot find 'closedir' in scope
143 | }
144 |
145 | defer { closedir(dir) }
| `- error: cannot find 'closedir' in scope
146 |
147 | var ent = dirent()
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:147:13: error: cannot find 'dirent' in scope
145 | defer { closedir(dir) }
146 |
147 | var ent = dirent()
| `- error: cannot find 'dirent' in scope
148 | let entPtr = UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>.allocate(capacity: 1)
149 | defer { entPtr.deallocate() }
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:148:58: error: cannot find type 'dirent' in scope
146 |
147 | var ent = dirent()
148 | let entPtr = UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>.allocate(capacity: 1)
| `- error: cannot find type 'dirent' in scope
149 | defer { entPtr.deallocate() }
150 |
/host/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Dir.swift:174:41: error: cannot find 'DT_DIR' in scope
172 | nameBuf.append(0)
173 | if let name = String(validatingUTF8: nameBuf), !(name == "." || name == "..") {
174 | if Int32(type) == Int32(DT_DIR) {
| `- error: cannot find 'DT_DIR' in scope
175 | try closure(name + "/")
176 | } else {
[26/31] Emitting module PerfectXML
[27/31] Compiling PerfectXML Codable.swift
/usr/lib/swift/_foundation_unicode/utypes.h:511:14: error: 'UErrorCode' has different definitions in different modules; definition in module '_FoundationICU' first difference is enum with 175 elements
509 | * @stable ICU 2.0
510 | */
511 | typedef enum UErrorCode {
| `- error: 'UErrorCode' has different definitions in different modules; definition in module '_FoundationICU' first difference is enum with 175 elements
512 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
513 | * and is that way because VC++ debugger displays first encountered constant,
/usr/include/unicode/utypes.h:415:14: note: but in 'perfectxml2' found enum with 163 elements
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: but in 'perfectxml2' found enum with 163 elements
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
[28/31] Compiling PerfectXML XMLDOM.swift
[29/31] Compiling PerfectXML SAX.swift
/usr/lib/swift/_foundation_unicode/utypes.h:681:5: error: 'U_MF_DUPLICATE_VARIANT_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
679 | U_MF_DUPLICATE_DECLARATION_ERROR, /**< The same variable is declared in more than one .local or .input declaration. @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
680 | U_MF_OPERAND_MISMATCH_ERROR, /**< An operand provided to a function does not have the required form for that function @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
681 | U_MF_DUPLICATE_VARIANT_ERROR, /**< A message includes a variant with the same key list as another variant. @internal ICU 76 technology preview @deprecated This API is for technology preview only. */
| `- error: 'U_MF_DUPLICATE_VARIANT_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
682 | #ifndef U_HIDE_DEPRECATED_API
683 | /**
/usr/include/unicode/utypes.h:415:14: note: definition has no member 'U_MF_DUPLICATE_VARIANT_ERROR'
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: definition has no member 'U_MF_DUPLICATE_VARIANT_ERROR'
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
/usr/lib/swift/_foundation_unicode/utypes.h:680:5: error: 'U_MF_OPERAND_MISMATCH_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
678 | U_MF_MISSING_SELECTOR_ANNOTATION_ERROR, /**< A selector expression evaluates to an unannotated operand. @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
679 | U_MF_DUPLICATE_DECLARATION_ERROR, /**< The same variable is declared in more than one .local or .input declaration. @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
680 | U_MF_OPERAND_MISMATCH_ERROR, /**< An operand provided to a function does not have the required form for that function @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
| `- error: 'U_MF_OPERAND_MISMATCH_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
681 | U_MF_DUPLICATE_VARIANT_ERROR, /**< A message includes a variant with the same key list as another variant. @internal ICU 76 technology preview @deprecated This API is for technology preview only. */
682 | #ifndef U_HIDE_DEPRECATED_API
/usr/include/unicode/utypes.h:415:14: note: definition has no member 'U_MF_OPERAND_MISMATCH_ERROR'
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: definition has no member 'U_MF_OPERAND_MISMATCH_ERROR'
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
/usr/lib/swift/_foundation_unicode/utypes.h:679:5: error: 'U_MF_DUPLICATE_DECLARATION_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
677 | U_MF_SELECTOR_ERROR, /**< A selector function is applied to an operand of the wrong type @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
678 | U_MF_MISSING_SELECTOR_ANNOTATION_ERROR, /**< A selector expression evaluates to an unannotated operand. @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
679 | U_MF_DUPLICATE_DECLARATION_ERROR, /**< The same variable is declared in more than one .local or .input declaration. @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
| `- error: 'U_MF_DUPLICATE_DECLARATION_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
680 | U_MF_OPERAND_MISMATCH_ERROR, /**< An operand provided to a function does not have the required form for that function @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
681 | U_MF_DUPLICATE_VARIANT_ERROR, /**< A message includes a variant with the same key list as another variant. @internal ICU 76 technology preview @deprecated This API is for technology preview only. */
/usr/include/unicode/utypes.h:415:14: note: definition has no member 'U_MF_DUPLICATE_DECLARATION_ERROR'
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: definition has no member 'U_MF_DUPLICATE_DECLARATION_ERROR'
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
/usr/lib/swift/_foundation_unicode/utypes.h:678:5: error: 'U_MF_MISSING_SELECTOR_ANNOTATION_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
676 | U_MF_DUPLICATE_OPTION_NAME_ERROR, /**< In an annotation, the same option name appears more than once @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
677 | U_MF_SELECTOR_ERROR, /**< A selector function is applied to an operand of the wrong type @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
678 | U_MF_MISSING_SELECTOR_ANNOTATION_ERROR, /**< A selector expression evaluates to an unannotated operand. @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
| `- error: 'U_MF_MISSING_SELECTOR_ANNOTATION_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
679 | U_MF_DUPLICATE_DECLARATION_ERROR, /**< The same variable is declared in more than one .local or .input declaration. @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
680 | U_MF_OPERAND_MISMATCH_ERROR, /**< An operand provided to a function does not have the required form for that function @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
/usr/include/unicode/utypes.h:415:14: note: definition has no member 'U_MF_MISSING_SELECTOR_ANNOTATION_ERROR'
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: definition has no member 'U_MF_MISSING_SELECTOR_ANNOTATION_ERROR'
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
/usr/lib/swift/_foundation_unicode/utypes.h:677:5: error: 'U_MF_SELECTOR_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
675 | U_MF_NONEXHAUSTIVE_PATTERN_ERROR, /**< In a match-construct, the variants do not cover all possible values @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
676 | U_MF_DUPLICATE_OPTION_NAME_ERROR, /**< In an annotation, the same option name appears more than once @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
677 | U_MF_SELECTOR_ERROR, /**< A selector function is applied to an operand of the wrong type @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
| `- error: 'U_MF_SELECTOR_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
678 | U_MF_MISSING_SELECTOR_ANNOTATION_ERROR, /**< A selector expression evaluates to an unannotated operand. @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
679 | U_MF_DUPLICATE_DECLARATION_ERROR, /**< The same variable is declared in more than one .local or .input declaration. @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
/usr/include/unicode/utypes.h:415:14: note: definition has no member 'U_MF_SELECTOR_ERROR'
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: definition has no member 'U_MF_SELECTOR_ERROR'
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
/usr/lib/swift/_foundation_unicode/utypes.h:676:5: error: 'U_MF_DUPLICATE_OPTION_NAME_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
674 | U_MF_FORMATTING_ERROR, /**< Covers all runtime errors: for example, an internally inconsistent set of options. @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
675 | U_MF_NONEXHAUSTIVE_PATTERN_ERROR, /**< In a match-construct, the variants do not cover all possible values @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
676 | U_MF_DUPLICATE_OPTION_NAME_ERROR, /**< In an annotation, the same option name appears more than once @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
| `- error: 'U_MF_DUPLICATE_OPTION_NAME_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
677 | U_MF_SELECTOR_ERROR, /**< A selector function is applied to an operand of the wrong type @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
678 | U_MF_MISSING_SELECTOR_ANNOTATION_ERROR, /**< A selector expression evaluates to an unannotated operand. @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
/usr/include/unicode/utypes.h:415:14: note: definition has no member 'U_MF_DUPLICATE_OPTION_NAME_ERROR'
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: definition has no member 'U_MF_DUPLICATE_OPTION_NAME_ERROR'
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
/usr/lib/swift/_foundation_unicode/utypes.h:675:5: error: 'U_MF_NONEXHAUSTIVE_PATTERN_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
673 | U_MF_VARIANT_KEY_MISMATCH_ERROR, /**< In a match-construct, one or more variants had a different number of keys from the number of selectors @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
674 | U_MF_FORMATTING_ERROR, /**< Covers all runtime errors: for example, an internally inconsistent set of options. @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
675 | U_MF_NONEXHAUSTIVE_PATTERN_ERROR, /**< In a match-construct, the variants do not cover all possible values @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
| `- error: 'U_MF_NONEXHAUSTIVE_PATTERN_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
676 | U_MF_DUPLICATE_OPTION_NAME_ERROR, /**< In an annotation, the same option name appears more than once @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
677 | U_MF_SELECTOR_ERROR, /**< A selector function is applied to an operand of the wrong type @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
/usr/include/unicode/utypes.h:415:14: note: definition has no member 'U_MF_NONEXHAUSTIVE_PATTERN_ERROR'
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: definition has no member 'U_MF_NONEXHAUSTIVE_PATTERN_ERROR'
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
/usr/lib/swift/_foundation_unicode/utypes.h:674:5: error: 'U_MF_FORMATTING_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
672 | U_MF_UNKNOWN_FUNCTION_ERROR, /**< An annotation refers to a function not defined by the standard or custom function registry @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
673 | U_MF_VARIANT_KEY_MISMATCH_ERROR, /**< In a match-construct, one or more variants had a different number of keys from the number of selectors @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
674 | U_MF_FORMATTING_ERROR, /**< Covers all runtime errors: for example, an internally inconsistent set of options. @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
| `- error: 'U_MF_FORMATTING_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
675 | U_MF_NONEXHAUSTIVE_PATTERN_ERROR, /**< In a match-construct, the variants do not cover all possible values @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
676 | U_MF_DUPLICATE_OPTION_NAME_ERROR, /**< In an annotation, the same option name appears more than once @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
/usr/include/unicode/utypes.h:415:14: note: definition has no member 'U_MF_FORMATTING_ERROR'
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: definition has no member 'U_MF_FORMATTING_ERROR'
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
/usr/lib/swift/_foundation_unicode/utypes.h:673:5: error: 'U_MF_VARIANT_KEY_MISMATCH_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
671 | U_MF_SYNTAX_ERROR, /**< Includes all syntax errors @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
672 | U_MF_UNKNOWN_FUNCTION_ERROR, /**< An annotation refers to a function not defined by the standard or custom function registry @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
673 | U_MF_VARIANT_KEY_MISMATCH_ERROR, /**< In a match-construct, one or more variants had a different number of keys from the number of selectors @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
| `- error: 'U_MF_VARIANT_KEY_MISMATCH_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
674 | U_MF_FORMATTING_ERROR, /**< Covers all runtime errors: for example, an internally inconsistent set of options. @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
675 | U_MF_NONEXHAUSTIVE_PATTERN_ERROR, /**< In a match-construct, the variants do not cover all possible values @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
/usr/include/unicode/utypes.h:415:14: note: definition has no member 'U_MF_VARIANT_KEY_MISMATCH_ERROR'
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: definition has no member 'U_MF_VARIANT_KEY_MISMATCH_ERROR'
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
/usr/lib/swift/_foundation_unicode/utypes.h:672:5: error: 'U_MF_UNKNOWN_FUNCTION_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
670 | U_MF_UNRESOLVED_VARIABLE_ERROR, /**< A variable is referred to but not bound by any definition @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
671 | U_MF_SYNTAX_ERROR, /**< Includes all syntax errors @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
672 | U_MF_UNKNOWN_FUNCTION_ERROR, /**< An annotation refers to a function not defined by the standard or custom function registry @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
| `- error: 'U_MF_UNKNOWN_FUNCTION_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
673 | U_MF_VARIANT_KEY_MISMATCH_ERROR, /**< In a match-construct, one or more variants had a different number of keys from the number of selectors @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
674 | U_MF_FORMATTING_ERROR, /**< Covers all runtime errors: for example, an internally inconsistent set of options. @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
/usr/include/unicode/utypes.h:415:14: note: definition has no member 'U_MF_UNKNOWN_FUNCTION_ERROR'
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: definition has no member 'U_MF_UNKNOWN_FUNCTION_ERROR'
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
/usr/lib/swift/_foundation_unicode/utypes.h:671:5: error: 'U_MF_SYNTAX_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
669 | /* MessageFormat 2.0 errors */
670 | U_MF_UNRESOLVED_VARIABLE_ERROR, /**< A variable is referred to but not bound by any definition @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
671 | U_MF_SYNTAX_ERROR, /**< Includes all syntax errors @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
| `- error: 'U_MF_SYNTAX_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
672 | U_MF_UNKNOWN_FUNCTION_ERROR, /**< An annotation refers to a function not defined by the standard or custom function registry @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
673 | U_MF_VARIANT_KEY_MISMATCH_ERROR, /**< In a match-construct, one or more variants had a different number of keys from the number of selectors @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
/usr/include/unicode/utypes.h:415:14: note: definition has no member 'U_MF_SYNTAX_ERROR'
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: definition has no member 'U_MF_SYNTAX_ERROR'
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
/usr/lib/swift/_foundation_unicode/utypes.h:670:5: error: 'U_MF_UNRESOLVED_VARIABLE_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
668 |
669 | /* MessageFormat 2.0 errors */
670 | U_MF_UNRESOLVED_VARIABLE_ERROR, /**< A variable is referred to but not bound by any definition @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
| `- error: 'U_MF_UNRESOLVED_VARIABLE_ERROR' from module '_FoundationICU' is not present in definition of 'enum UErrorCode' in module 'perfectxml2'
671 | U_MF_SYNTAX_ERROR, /**< Includes all syntax errors @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
672 | U_MF_UNKNOWN_FUNCTION_ERROR, /**< An annotation refers to a function not defined by the standard or custom function registry @internal ICU 75 technology preview @deprecated This API is for technology preview only. */
/usr/include/unicode/utypes.h:415:14: note: definition has no member 'U_MF_UNRESOLVED_VARIABLE_ERROR'
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: definition has no member 'U_MF_UNRESOLVED_VARIABLE_ERROR'
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
[30/31] Compiling PerfectXML XMLStream.swift
/usr/lib/swift/_foundation_unicode/utypes.h:511:14: error: 'UErrorCode' has different definitions in different modules; definition in module '_FoundationICU' first difference is enum with 175 elements
509 | * @stable ICU 2.0
510 | */
511 | typedef enum UErrorCode {
| `- error: 'UErrorCode' has different definitions in different modules; definition in module '_FoundationICU' first difference is enum with 175 elements
512 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
513 | * and is that way because VC++ debugger displays first encountered constant,
/usr/include/unicode/utypes.h:415:14: note: but in 'perfectxml2' found enum with 163 elements
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: but in 'perfectxml2' found enum with 163 elements
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
BUILD FAILURE 6.3 linux