Build Information
Failed to build SKLite, reference 1.0.0 (524b14), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 03:40:31 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wuyu2015/SKLiteSwift.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wuyu2015/SKLiteSwift
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 524b148 Initial commit
Cloned https://github.com/wuyu2015/SKLiteSwift.git
Revision (git rev-parse @):
524b14879ae1911d9b181fcbd186b4bf21ea13b8
SUCCESS checkout https://github.com/wuyu2015/SKLiteSwift.git at 1.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/wuyu2015/SKLiteSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-1EA4D86E10B52AF.txt
[2/3] Compiling SKLiteWrapper.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/29] Emitting module SKLite
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:114:57: error: cannot find 'strdup' in scope
112 | @discardableResult
113 | public func bindString(index: Int32, value: String) throws -> Self {
114 | let result = sqlite3_bind_text(stmt, index, strdup(value), -1, { free($0) })
| `- error: cannot find 'strdup' in scope
115 | guard result == SQLITE_OK else {
116 | throw SKLite.SKLiteError(rawValue: result, message: db.errMsg, sql: expandedSql)
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:114:78: error: cannot find 'free' in scope
112 | @discardableResult
113 | public func bindString(index: Int32, value: String) throws -> Self {
114 | let result = sqlite3_bind_text(stmt, index, strdup(value), -1, { free($0) })
| `- error: cannot find 'free' in scope
115 | guard result == SQLITE_OK else {
116 | throw SKLite.SKLiteError(rawValue: result, message: db.errMsg, sql: expandedSql)
[5/31] Compiling SKLite TextEncoding.swift
[6/31] Compiling SKLite ThreadSafeLevel.swift
[7/31] Compiling SKLite Conflict.swift
[8/31] Compiling SKLite DbConfig.swift
[9/31] Compiling SKLite DbStatus.swift
[10/31] Compiling SKLite IndexConstraint.swift
[11/31] Compiling SKLite Limit.swift
[12/31] Compiling SKLite Status.swift
[13/31] Compiling SKLite StmtStatus.swift
[14/31] Compiling SKLite SKLite+Statement.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+bind.swift:17:58: error: cannot find 'strdup' in scope
15 | @inline(__always)
16 | public static func bindString(_ stmt: Statement, index: Int32, value: String) throws {
17 | try check(result: sqlite3_bind_text(stmt, index, strdup(value), -1, { free($0) }), stmt: stmt)
| `- error: cannot find 'strdup' in scope
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+bind.swift:17:79: error: cannot find 'free' in scope
15 | @inline(__always)
16 | public static func bindString(_ stmt: Statement, index: Int32, value: String) throws {
17 | try check(result: sqlite3_bind_text(stmt, index, strdup(value), -1, { free($0) }), stmt: stmt)
| `- error: cannot find 'free' in scope
18 | }
19 |
[15/31] Compiling SKLite SKLite+bind.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+bind.swift:17:58: error: cannot find 'strdup' in scope
15 | @inline(__always)
16 | public static func bindString(_ stmt: Statement, index: Int32, value: String) throws {
17 | try check(result: sqlite3_bind_text(stmt, index, strdup(value), -1, { free($0) }), stmt: stmt)
| `- error: cannot find 'strdup' in scope
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+bind.swift:17:79: error: cannot find 'free' in scope
15 | @inline(__always)
16 | public static func bindString(_ stmt: Statement, index: Int32, value: String) throws {
17 | try check(result: sqlite3_bind_text(stmt, index, strdup(value), -1, { free($0) }), stmt: stmt)
| `- error: cannot find 'free' in scope
18 | }
19 |
[16/31] Compiling SKLite SKLite+file.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+bind.swift:17:58: error: cannot find 'strdup' in scope
15 | @inline(__always)
16 | public static func bindString(_ stmt: Statement, index: Int32, value: String) throws {
17 | try check(result: sqlite3_bind_text(stmt, index, strdup(value), -1, { free($0) }), stmt: stmt)
| `- error: cannot find 'strdup' in scope
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+bind.swift:17:79: error: cannot find 'free' in scope
15 | @inline(__always)
16 | public static func bindString(_ stmt: Statement, index: Int32, value: String) throws {
17 | try check(result: sqlite3_bind_text(stmt, index, strdup(value), -1, { free($0) }), stmt: stmt)
| `- error: cannot find 'free' in scope
18 | }
19 |
[17/31] Compiling SKLite SKLite+var.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+var.swift:38:31: error: cannot find 'strdup' in scope
36 | set {
37 | if let newValue = newValue {
38 | let cString = strdup(newValue)
| `- error: cannot find 'strdup' in scope
39 | sqlite3_temp_directory = cString
40 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+var.swift:55:31: error: cannot find 'strdup' in scope
53 | set {
54 | if let newValue = newValue {
55 | let cString = strdup(newValue)
| `- error: cannot find 'strdup' in scope
56 | sqlite3_data_directory = cString
57 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:114:57: error: cannot find 'strdup' in scope
112 | @discardableResult
113 | public func bindString(index: Int32, value: String) throws -> Self {
114 | let result = sqlite3_bind_text(stmt, index, strdup(value), -1, { free($0) })
| `- error: cannot find 'strdup' in scope
115 | guard result == SQLITE_OK else {
116 | throw SKLite.SKLiteError(rawValue: result, message: db.errMsg, sql: expandedSql)
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:114:78: error: cannot find 'free' in scope
112 | @discardableResult
113 | public func bindString(index: Int32, value: String) throws -> Self {
114 | let result = sqlite3_bind_text(stmt, index, strdup(value), -1, { free($0) })
| `- error: cannot find 'free' in scope
115 | guard result == SQLITE_OK else {
116 | throw SKLite.SKLiteError(rawValue: result, message: db.errMsg, sql: expandedSql)
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:209:29: error: cannot find 'usleep' in scope
207 | if retry == 0 {
208 | // 1st 0.02ms
209 | usleep(20)
| `- error: cannot find 'usleep' in scope
210 | } else if retry == 1 {
211 | // 2nd 0.25ms
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:212:29: error: cannot find 'usleep' in scope
210 | } else if retry == 1 {
211 | // 2nd 0.25ms
212 | usleep(250)
| `- error: cannot find 'usleep' in scope
213 | } else if retry <= 8 {
214 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:215:29: error: cannot find 'usleep' in scope
213 | } else if retry <= 8 {
214 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
215 | usleep(useconds_t(500.0 * pow(4.0, Double(retry - 2))))
| `- error: cannot find 'usleep' in scope
216 | } else {
217 | // 3s ...
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:215:36: error: cannot find 'useconds_t' in scope
213 | } else if retry <= 8 {
214 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
215 | usleep(useconds_t(500.0 * pow(4.0, Double(retry - 2))))
| `- error: cannot find 'useconds_t' in scope
216 | } else {
217 | // 3s ...
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:218:29: error: cannot find 'usleep' in scope
216 | } else {
217 | // 3s ...
218 | usleep(3000000)
| `- error: cannot find 'usleep' in scope
219 | }
220 | default:
[18/31] Compiling SKLite SKLite.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+var.swift:38:31: error: cannot find 'strdup' in scope
36 | set {
37 | if let newValue = newValue {
38 | let cString = strdup(newValue)
| `- error: cannot find 'strdup' in scope
39 | sqlite3_temp_directory = cString
40 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+var.swift:55:31: error: cannot find 'strdup' in scope
53 | set {
54 | if let newValue = newValue {
55 | let cString = strdup(newValue)
| `- error: cannot find 'strdup' in scope
56 | sqlite3_data_directory = cString
57 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:114:57: error: cannot find 'strdup' in scope
112 | @discardableResult
113 | public func bindString(index: Int32, value: String) throws -> Self {
114 | let result = sqlite3_bind_text(stmt, index, strdup(value), -1, { free($0) })
| `- error: cannot find 'strdup' in scope
115 | guard result == SQLITE_OK else {
116 | throw SKLite.SKLiteError(rawValue: result, message: db.errMsg, sql: expandedSql)
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:114:78: error: cannot find 'free' in scope
112 | @discardableResult
113 | public func bindString(index: Int32, value: String) throws -> Self {
114 | let result = sqlite3_bind_text(stmt, index, strdup(value), -1, { free($0) })
| `- error: cannot find 'free' in scope
115 | guard result == SQLITE_OK else {
116 | throw SKLite.SKLiteError(rawValue: result, message: db.errMsg, sql: expandedSql)
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:209:29: error: cannot find 'usleep' in scope
207 | if retry == 0 {
208 | // 1st 0.02ms
209 | usleep(20)
| `- error: cannot find 'usleep' in scope
210 | } else if retry == 1 {
211 | // 2nd 0.25ms
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:212:29: error: cannot find 'usleep' in scope
210 | } else if retry == 1 {
211 | // 2nd 0.25ms
212 | usleep(250)
| `- error: cannot find 'usleep' in scope
213 | } else if retry <= 8 {
214 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:215:29: error: cannot find 'usleep' in scope
213 | } else if retry <= 8 {
214 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
215 | usleep(useconds_t(500.0 * pow(4.0, Double(retry - 2))))
| `- error: cannot find 'usleep' in scope
216 | } else {
217 | // 3s ...
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:215:36: error: cannot find 'useconds_t' in scope
213 | } else if retry <= 8 {
214 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
215 | usleep(useconds_t(500.0 * pow(4.0, Double(retry - 2))))
| `- error: cannot find 'useconds_t' in scope
216 | } else {
217 | // 3s ...
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:218:29: error: cannot find 'usleep' in scope
216 | } else {
217 | // 3s ...
218 | usleep(3000000)
| `- error: cannot find 'usleep' in scope
219 | }
220 | default:
[19/31] Compiling SKLite Stmt.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+var.swift:38:31: error: cannot find 'strdup' in scope
36 | set {
37 | if let newValue = newValue {
38 | let cString = strdup(newValue)
| `- error: cannot find 'strdup' in scope
39 | sqlite3_temp_directory = cString
40 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+var.swift:55:31: error: cannot find 'strdup' in scope
53 | set {
54 | if let newValue = newValue {
55 | let cString = strdup(newValue)
| `- error: cannot find 'strdup' in scope
56 | sqlite3_data_directory = cString
57 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:114:57: error: cannot find 'strdup' in scope
112 | @discardableResult
113 | public func bindString(index: Int32, value: String) throws -> Self {
114 | let result = sqlite3_bind_text(stmt, index, strdup(value), -1, { free($0) })
| `- error: cannot find 'strdup' in scope
115 | guard result == SQLITE_OK else {
116 | throw SKLite.SKLiteError(rawValue: result, message: db.errMsg, sql: expandedSql)
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:114:78: error: cannot find 'free' in scope
112 | @discardableResult
113 | public func bindString(index: Int32, value: String) throws -> Self {
114 | let result = sqlite3_bind_text(stmt, index, strdup(value), -1, { free($0) })
| `- error: cannot find 'free' in scope
115 | guard result == SQLITE_OK else {
116 | throw SKLite.SKLiteError(rawValue: result, message: db.errMsg, sql: expandedSql)
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:209:29: error: cannot find 'usleep' in scope
207 | if retry == 0 {
208 | // 1st 0.02ms
209 | usleep(20)
| `- error: cannot find 'usleep' in scope
210 | } else if retry == 1 {
211 | // 2nd 0.25ms
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:212:29: error: cannot find 'usleep' in scope
210 | } else if retry == 1 {
211 | // 2nd 0.25ms
212 | usleep(250)
| `- error: cannot find 'usleep' in scope
213 | } else if retry <= 8 {
214 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:215:29: error: cannot find 'usleep' in scope
213 | } else if retry <= 8 {
214 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
215 | usleep(useconds_t(500.0 * pow(4.0, Double(retry - 2))))
| `- error: cannot find 'usleep' in scope
216 | } else {
217 | // 3s ...
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:215:36: error: cannot find 'useconds_t' in scope
213 | } else if retry <= 8 {
214 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
215 | usleep(useconds_t(500.0 * pow(4.0, Double(retry - 2))))
| `- error: cannot find 'useconds_t' in scope
216 | } else {
217 | // 3s ...
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/Stmt.swift:218:29: error: cannot find 'usleep' in scope
216 | } else {
217 | // 3s ...
218 | usleep(3000000)
| `- error: cannot find 'usleep' in scope
219 | }
220 | default:
[20/31] Compiling SKLite SKLite+func.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+prepare.swift:44:25: error: cannot find 'usleep' in scope
42 | if retry == 0 {
43 | // 1st 0.02ms
44 | usleep(20)
| `- error: cannot find 'usleep' in scope
45 | } else if retry == 1 {
46 | // 2nd 0.25ms
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+prepare.swift:47:25: error: cannot find 'usleep' in scope
45 | } else if retry == 1 {
46 | // 2nd 0.25ms
47 | usleep(250)
| `- error: cannot find 'usleep' in scope
48 | } else if retry <= 8 {
49 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+prepare.swift:50:25: error: cannot find 'usleep' in scope
48 | } else if retry <= 8 {
49 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
50 | usleep(useconds_t(500.0 * pow(4.0, Double(retry - 2))))
| `- error: cannot find 'usleep' in scope
51 | } else {
52 | // 3s ...
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+prepare.swift:50:32: error: cannot find 'useconds_t' in scope
48 | } else if retry <= 8 {
49 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
50 | usleep(useconds_t(500.0 * pow(4.0, Double(retry - 2))))
| `- error: cannot find 'useconds_t' in scope
51 | } else {
52 | // 3s ...
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+prepare.swift:53:25: error: cannot find 'usleep' in scope
51 | } else {
52 | // 3s ...
53 | usleep(3000000)
| `- error: cannot find 'usleep' in scope
54 | }
55 | default:
[21/31] Compiling SKLite SKLite+open.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+prepare.swift:44:25: error: cannot find 'usleep' in scope
42 | if retry == 0 {
43 | // 1st 0.02ms
44 | usleep(20)
| `- error: cannot find 'usleep' in scope
45 | } else if retry == 1 {
46 | // 2nd 0.25ms
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+prepare.swift:47:25: error: cannot find 'usleep' in scope
45 | } else if retry == 1 {
46 | // 2nd 0.25ms
47 | usleep(250)
| `- error: cannot find 'usleep' in scope
48 | } else if retry <= 8 {
49 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+prepare.swift:50:25: error: cannot find 'usleep' in scope
48 | } else if retry <= 8 {
49 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
50 | usleep(useconds_t(500.0 * pow(4.0, Double(retry - 2))))
| `- error: cannot find 'usleep' in scope
51 | } else {
52 | // 3s ...
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+prepare.swift:50:32: error: cannot find 'useconds_t' in scope
48 | } else if retry <= 8 {
49 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
50 | usleep(useconds_t(500.0 * pow(4.0, Double(retry - 2))))
| `- error: cannot find 'useconds_t' in scope
51 | } else {
52 | // 3s ...
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+prepare.swift:53:25: error: cannot find 'usleep' in scope
51 | } else {
52 | // 3s ...
53 | usleep(3000000)
| `- error: cannot find 'usleep' in scope
54 | }
55 | default:
[22/31] Compiling SKLite SKLite+prepare.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+prepare.swift:44:25: error: cannot find 'usleep' in scope
42 | if retry == 0 {
43 | // 1st 0.02ms
44 | usleep(20)
| `- error: cannot find 'usleep' in scope
45 | } else if retry == 1 {
46 | // 2nd 0.25ms
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+prepare.swift:47:25: error: cannot find 'usleep' in scope
45 | } else if retry == 1 {
46 | // 2nd 0.25ms
47 | usleep(250)
| `- error: cannot find 'usleep' in scope
48 | } else if retry <= 8 {
49 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+prepare.swift:50:25: error: cannot find 'usleep' in scope
48 | } else if retry <= 8 {
49 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
50 | usleep(useconds_t(500.0 * pow(4.0, Double(retry - 2))))
| `- error: cannot find 'usleep' in scope
51 | } else {
52 | // 3s ...
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+prepare.swift:50:32: error: cannot find 'useconds_t' in scope
48 | } else if retry <= 8 {
49 | // 0.5ms, 2ms, 8ms, 32ms, 128ms, 512ms, 2048ms(2s)
50 | usleep(useconds_t(500.0 * pow(4.0, Double(retry - 2))))
| `- error: cannot find 'useconds_t' in scope
51 | } else {
52 | // 3s ...
/Users/admin/builder/spi-builder-workspace/Sources/SKLite/SKLite+prepare.swift:53:25: error: cannot find 'usleep' in scope
51 | } else {
52 | // 3s ...
53 | usleep(3000000)
| `- error: cannot find 'usleep' in scope
54 | }
55 | default:
[23/31] Compiling SKLite Db.swift
[24/31] Compiling SKLite Deserialize.swift
[25/31] Compiling SKLite OpenFlag.swift
[26/31] Compiling SKLite PrepareFlag.swift
[27/31] Compiling SKLite SKLiteError.swift
[28/31] Compiling SKLite SKLite+Connection.swift
[29/31] Compiling SKLite ColumnType.swift
[30/31] Compiling SKLite CompileOption.swift
[31/31] Compiling SKLite Config.swift
Fetching https://github.com/wuyu2015/XCTestDelayPrinter
[1/75] Fetching xctestdelayprinter
Fetched https://github.com/wuyu2015/XCTestDelayPrinter from cache (0.67s)
Computing version for https://github.com/wuyu2015/XCTestDelayPrinter
Computed https://github.com/wuyu2015/XCTestDelayPrinter at 1.0.2 (1.20s)
Creating working copy for https://github.com/wuyu2015/XCTestDelayPrinter
Working copy of https://github.com/wuyu2015/XCTestDelayPrinter resolved at 1.0.2
BUILD FAILURE 6.2 macosSpm