Build Information
Failed to build JSON, reference 2.2.2 (6c7ce4
), with Swift 6.1 for Android on 29 May 2025 02:50:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/json.git
Reference: 2.2.2
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/vapor-community/json
* tag 2.2.2 -> FETCH_HEAD
HEAD is now at 6c7ce40 remove characters warning
Cloned https://github.com/vapor-community/json.git
Revision (git rev-parse @):
6c7ce40d30b322d45cc49a8f1d742609d3228eb7
SUCCESS checkout https://github.com/vapor-community/json.git at 2.2.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/vapor-community/json.git
https://github.com/vapor-community/json.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "core",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/core.git"
},
{
"identity" : "node",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/node.git"
}
],
"manifest_display_name" : "JSON",
"name" : "JSON",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "JSON",
"targets" : [
"JSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "JSONTests",
"module_type" : "SwiftTarget",
"name" : "JSONTests",
"path" : "Tests/JSONTests",
"sources" : [
"JSONConvertibleTests.swift",
"JSONTests.swift"
],
"target_dependencies" : [
"JSON"
],
"type" : "test"
},
{
"c99name" : "JSON",
"module_type" : "SwiftTarget",
"name" : "JSON",
"path" : "Sources/JSON",
"product_dependencies" : [
"Core",
"Node"
],
"product_memberships" : [
"JSON"
],
"sources" : [
"JSON+Bytes.swift",
"JSON+Fuzzy.swift",
"JSON+Parse.swift",
"JSON+Serialize.swift",
"JSON.swift",
"JSONContext.swift",
"JSONRepresentable.swift",
"Sequence+Convertible.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/core.git
[1/4211] Fetching node
[170/24354] Fetching node, core
Fetched https://github.com/vapor/node.git from cache (1.01s)
Fetched https://github.com/vapor/core.git from cache (1.02s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (2.18s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/260] Fetching debugging
[261/618] Fetching debugging, bits
Fetched https://github.com/vapor/bits.git from cache (0.40s)
Fetched https://github.com/vapor/debugging.git from cache (0.40s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (1.00s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.58s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.59s)
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/33] Compiling PathIndexable PathIndexable+Subscripting.swift
[10/33] Emitting module PathIndexable
[11/33] Compiling PathIndexable PathIndexable.swift
[12/33] Compiling Debugging Debuggable.swift
[13/33] Emitting module Debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/35] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
[17/35] Compiling libc libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/26] Compiling libc libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/26] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
[4/26] Emitting module Debugging
BUILD FAILURE 6.1 android