Build Information
Failed to build YYJSON, reference 0.6.0 (ecccc7), with Swift 6.2 for Android on 24 Jun 2026 19:45:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4071e0796c748d991a0123890d2f0ecadc8fcc8c
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattt/swift-yyjson.git
Reference: 0.6.0
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/mattt/swift-yyjson
* tag 0.6.0 -> FETCH_HEAD
HEAD is now at ecccc73 Bump version to 0.6.0
Cloned https://github.com/mattt/swift-yyjson.git
Revision (git rev-parse @):
ecccc733f4817f483f79db348f34237c39a6bcce
SUCCESS checkout https://github.com/mattt/swift-yyjson.git at 0.6.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/mattt/swift-yyjson.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a30e3bfdcec38518f1e133b47d2d7fca472c20d828ebf94d6baf9d8167791ad0
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Building for debugging...
[0/3] Write sources
[1/3] Compiling Cyyjson yyjson.c
[2/3] Write swift-version--11D90AFD9DD3AB2.txt
[4/11] Compiling YYJSON Helpers.swift
[5/11] Compiling YYJSON Error.swift
[6/11] Compiling YYJSON Serialization.swift
/host/spi-builder-workspace/Sources/YYJSON/Serialization.swift:28:13: error: cannot find 'errno' in scope
26 | guard len > 0 else { return nil }
27 | var end: UnsafeMutablePointer<CChar>?
28 | errno = 0
| `- error: cannot find 'errno' in scope
29 | if T.isSigned {
30 | let v = strtoll(ptr, &end, 0)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/YYJSON/Serialization.swift:31:23: error: cannot find 'errno' in scope
29 | if T.isSigned {
30 | let v = strtoll(ptr, &end, 0)
31 | guard errno == 0, let e = end, ptr.distance(to: UnsafePointer(e)) == Int(len)
| `- error: cannot find 'errno' in scope
32 | else { return nil }
33 | return T(exactly: v)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/YYJSON/Serialization.swift:37:19: error: cannot find 'errno' in scope
35 | if ptr.pointee == 0x2D /* '-' */ { return nil }
36 | let v = strtoull(ptr, &end, 0)
37 | guard errno == 0, let e = end, ptr.distance(to: UnsafePointer(e)) == Int(len)
| `- error: cannot find 'errno' in scope
38 | else { return nil }
39 | return T(exactly: v)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[7/12] Emitting module YYJSON
[8/12] Compiling YYJSON Decoder.swift
/host/spi-builder-workspace/Sources/YYJSON/Decoder.swift:120:13: error: cannot find 'errno' in scope
118 | let len = unsafe_yyjson_get_len(val)
119 | var iend: UnsafeMutablePointer<CChar>?
120 | errno = 0
| `- error: cannot find 'errno' in scope
121 | let i = strtoll(ptr, &iend, 0)
122 | if errno == 0, let e = iend, ptr.distance(to: UnsafePointer(e)) == len {
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/YYJSON/Decoder.swift:122:16: error: cannot find 'errno' in scope
120 | errno = 0
121 | let i = strtoll(ptr, &iend, 0)
122 | if errno == 0, let e = iend, ptr.distance(to: UnsafePointer(e)) == len {
| `- error: cannot find 'errno' in scope
123 | return Double(i)
124 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/YYJSON/Decoder.swift:126:17: error: cannot find 'errno' in scope
124 | }
125 | if len == 0 || ptr.pointee != 0x2D /* '-' */ {
126 | errno = 0
| `- error: cannot find 'errno' in scope
127 | var uend: UnsafeMutablePointer<CChar>?
128 | let u = strtoull(ptr, &uend, 0)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/YYJSON/Decoder.swift:129:20: error: cannot find 'errno' in scope
127 | var uend: UnsafeMutablePointer<CChar>?
128 | let u = strtoull(ptr, &uend, 0)
129 | if errno == 0, let e = uend, ptr.distance(to: UnsafePointer(e)) == len {
| `- error: cannot find 'errno' in scope
130 | return Double(u)
131 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/YYJSON/Decoder.swift:161:13: error: cannot find 'errno' in scope
159 | let len = unsafe_yyjson_get_len(val)
160 | var iend: UnsafeMutablePointer<CChar>?
161 | errno = 0
| `- error: cannot find 'errno' in scope
162 | let i = strtoll(ptr, &iend, 0)
163 | if errno == 0, let e = iend, ptr.distance(to: UnsafePointer(e)) == len {
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/YYJSON/Decoder.swift:163:16: error: cannot find 'errno' in scope
161 | errno = 0
162 | let i = strtoll(ptr, &iend, 0)
163 | if errno == 0, let e = iend, ptr.distance(to: UnsafePointer(e)) == len {
| `- error: cannot find 'errno' in scope
164 | return T(exactly: i)
165 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/YYJSON/Decoder.swift:200:13: error: cannot find 'errno' in scope
198 | if len > 0, ptr.pointee == 0x2D /* '-' */ { return nil }
199 | var iend: UnsafeMutablePointer<CChar>?
200 | errno = 0
| `- error: cannot find 'errno' in scope
201 | let i = strtoull(ptr, &iend, 0)
202 | if errno == 0, let e = iend, ptr.distance(to: UnsafePointer(e)) == len {
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/YYJSON/Decoder.swift:202:16: error: cannot find 'errno' in scope
200 | errno = 0
201 | let i = strtoull(ptr, &iend, 0)
202 | if errno == 0, let e = iend, ptr.distance(to: UnsafePointer(e)) == len {
| `- error: cannot find 'errno' in scope
203 | return T(exactly: i)
204 | }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[9/12] Compiling YYJSON Configuration.swift
[10/12] Compiling YYJSON CodingKeys.swift
[11/12] Compiling YYJSON Encoder.swift
[12/12] Compiling YYJSON Value.swift
BUILD FAILURE 6.2 android