Build Information
Failed to build Edge, reference 0.4.0 (82d0b4
), with Swift 6.1 for Android on 27 May 2025 10:40:05 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/skylab-inc/lightning.git
Reference: 0.4.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/skylab-inc/lightning
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at 82d0b41 Middleware tests seem to be passing now on Linux.
Cloned https://github.com/skylab-inc/lightning.git
Revision (git rev-parse @):
82d0b416e11c422ea7ee072f89a794c5d8a60cf3
SUCCESS checkout https://github.com/skylab-inc/lightning.git at 0.4.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/skylab-inc/lightning.git
https://github.com/skylab-inc/lightning.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "streamkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.7.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/skylab-inc/StreamKit.git"
}
],
"manifest_display_name" : "Edge",
"name" : "Edge",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
],
"targets" : [
{
"c99name" : "TCPTests",
"module_type" : "SwiftTarget",
"name" : "TCPTests",
"path" : "Tests/TCPTests",
"sources" : [
"ConnectionTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"TCP"
],
"type" : "test"
},
{
"c99name" : "TCP",
"module_type" : "SwiftTarget",
"name" : "TCP",
"path" : "Sources/TCP",
"sources" : [
"Server.swift",
"Socket.swift"
],
"target_dependencies" : [
"POSIX",
"IOStream"
],
"type" : "library"
},
{
"c99name" : "RunLoop",
"module_type" : "SwiftTarget",
"name" : "RunLoop",
"path" : "Sources/RunLoop",
"sources" : [
"RunLoop.swift"
],
"type" : "library"
},
{
"c99name" : "RoutingTests",
"module_type" : "SwiftTarget",
"name" : "RoutingTests",
"path" : "Tests/RoutingTests",
"sources" : [
"RouterTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Routing"
],
"type" : "test"
},
{
"c99name" : "Routing",
"module_type" : "SwiftTarget",
"name" : "Routing",
"path" : "Sources/Routing",
"sources" : [
"Routing.swift"
],
"target_dependencies" : [
"POSIX",
"HTTP"
],
"type" : "library"
},
{
"c99name" : "POSIX",
"module_type" : "SwiftTarget",
"name" : "POSIX",
"path" : "Sources/POSIX",
"sources" : [
"FileDescriptor.swift",
"Socket.swift",
"SystemError.swift"
],
"type" : "library"
},
{
"c99name" : "IOStreamTests",
"module_type" : "SwiftTarget",
"name" : "IOStreamTests",
"path" : "Tests/IOStreamTests",
"sources" : [
"PipeTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"IOStream"
],
"type" : "test"
},
{
"c99name" : "IOStream",
"module_type" : "SwiftTarget",
"name" : "IOStream",
"path" : "Sources/IOStream",
"product_dependencies" : [
"StreamKit"
],
"sources" : [
"IOStream.swift",
"Pipe.swift"
],
"target_dependencies" : [
"POSIX"
],
"type" : "library"
},
{
"c99name" : "HTTPTests",
"module_type" : "SwiftTarget",
"name" : "HTTPTests",
"path" : "Tests/HTTPTests",
"sources" : [
"HTTPMessageTests.swift",
"RequestParserTests.swift",
"RequestSerializationTests.swift",
"ResponseParserTests.swift",
"ResponseSerializationTests.swift",
"ServerTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"HTTP"
],
"type" : "test"
},
{
"c99name" : "HTTP",
"module_type" : "SwiftTarget",
"name" : "HTTP",
"path" : "Sources/HTTP",
"sources" : [
"ClientConnection.swift",
"Error.swift",
"Message.swift",
"Method.swift",
"Parser.swift",
"Request.swift",
"Response.swift",
"Serializable.swift",
"Server.swift",
"Status.swift",
"Version.swift"
],
"target_dependencies" : [
"POSIX",
"IOStream",
"TCP",
"CHTTPParser"
],
"type" : "library"
},
{
"c99name" : "Edge",
"module_type" : "SwiftTarget",
"name" : "Edge",
"path" : "Sources/Edge",
"sources" : [
"Edge.swift"
],
"target_dependencies" : [
"TCP",
"IOStream",
"RunLoop",
"HTTP",
"Routing"
],
"type" : "library"
},
{
"c99name" : "CHTTPParser",
"module_type" : "ClangTarget",
"name" : "CHTTPParser",
"path" : "Sources/CHTTPParser",
"sources" : [
"http_parser.c"
],
"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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/skylab-inc/StreamKit.git
[1/316] Fetching streamkit
Fetched https://github.com/skylab-inc/StreamKit.git from cache (1.16s)
Computing version for https://github.com/skylab-inc/StreamKit.git
Computed https://github.com/skylab-inc/StreamKit.git at 0.7.0 (2.04s)
Creating working copy for https://github.com/skylab-inc/StreamKit.git
Working copy of https://github.com/skylab-inc/StreamKit.git resolved at 0.7.0
Building for debugging...
[0/10] Write sources
[8/10] Compiling CHTTPParser http_parser.c
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/24] Compiling POSIX SystemError.swift
/host/spi-builder-workspace/Sources/POSIX/FileDescriptor.swift:4:12: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[12/24] Compiling POSIX FileDescriptor.swift
/host/spi-builder-workspace/Sources/POSIX/FileDescriptor.swift:4:12: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/24] Emitting module POSIX
/host/spi-builder-workspace/Sources/POSIX/FileDescriptor.swift:4:12: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[14/24] Compiling POSIX Socket.swift
/host/spi-builder-workspace/Sources/POSIX/FileDescriptor.swift:4:12: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/24] Emitting module RunLoop
/host/spi-builder-workspace/Sources/RunLoop/RunLoop.swift:17:12: error: no such module 'Darwin'
15 | public let SIG_IGN = Glibc.SIG_IGN
16 | #else
17 | import Darwin
| `- error: no such module 'Darwin'
18 | public let systemSignal = Darwin.signal
19 | public let SIGPIPE = Darwin.SIGPIPE
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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/15] Compiling POSIX Socket.swift
/host/spi-builder-workspace/Sources/POSIX/FileDescriptor.swift:4:12: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/15] Emitting module POSIX
/host/spi-builder-workspace/Sources/POSIX/FileDescriptor.swift:4:12: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[4/15] Compiling POSIX FileDescriptor.swift
/host/spi-builder-workspace/Sources/POSIX/FileDescriptor.swift:4:12: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[5/15] Compiling POSIX SystemError.swift
/host/spi-builder-workspace/Sources/POSIX/FileDescriptor.swift:4:12: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[6/15] Compiling StreamKit Disposable.swift
[7/15] Compiling RunLoop RunLoop.swift
/host/spi-builder-workspace/Sources/RunLoop/RunLoop.swift:17:12: error: no such module 'Darwin'
15 | public let SIG_IGN = Glibc.SIG_IGN
16 | #else
17 | import Darwin
| `- error: no such module 'Darwin'
18 | public let systemSignal = Darwin.signal
19 | public let SIGPIPE = Darwin.SIGPIPE
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/15] Emitting module RunLoop
/host/spi-builder-workspace/Sources/RunLoop/RunLoop.swift:17:12: error: no such module 'Darwin'
15 | public let SIG_IGN = Glibc.SIG_IGN
16 | #else
17 | import Darwin
| `- error: no such module 'Darwin'
18 | public let systemSignal = Darwin.signal
19 | public let SIGPIPE = Darwin.SIGPIPE
BUILD FAILURE 6.1 android