The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build carton, reference main (abc86e), with Swift 6.2 for Android on 30 Nov 2025 12:14:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftwasm/carton.git
Reference: main
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/swiftwasm/carton
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at abc86ea Update README
Cloned https://github.com/swiftwasm/carton.git
Revision (git rev-parse @):
abc86ea87aed985abe7068040b8fb641971ddab7
SUCCESS checkout https://github.com/swiftwasm/carton.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftwasm/carton.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftwasm/WasmTransformer
Fetching https://github.com/apple/swift-nio.git
[1/16860] Fetching swift-argument-parser
[170/17669] Fetching swift-argument-parser, wasmtransformer
[5363/98224] Fetching swift-argument-parser, wasmtransformer, swift-nio
Fetched https://github.com/swiftwasm/WasmTransformer from cache (1.50s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.53s)
[15306/80555] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (10.87s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (14.64s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.1 (0.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.90.1 (1.39s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[402/7002] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.77s)
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-system.git from cache (0.82s)
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.15s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.64s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.83s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.10s)
Creating working copy for https://github.com/swiftwasm/WasmTransformer
Working copy of https://github.com/swiftwasm/WasmTransformer resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.90.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
[1/1] Compiling plugin CartonDevPlugin
[2/2] Compiling plugin CartonTestPlugin
[3/3] Compiling plugin CartonBundlePlugin
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/148] Write sources
[31/148] Compiling CNIOWindows shim.c
[32/148] Compiling _AtomicsShims.c
[33/148] Compiling CNIOWindows WSAStartup.c
[34/148] Compiling TSCclibc process.c.c
[35/148] Compiling CNIOWASI CNIOWASI.c
[36/148] Compiling CNIOPosix event_loop_id.c
[37/148] Compiling CNIOLinux liburing_shims.c
[38/148] Compiling CNIODarwin shim.c
[39/148] Compiling CNIOLLHTTP c_nio_http.c
[40/148] Compiling TSCclibc process.c.c
[40/148] Write sources
[46/148] Write swift-version--6B0C4D200E742BB1.txt
[46/148] Write sources
[62/148] Compiling CNIOSHA1 c_nio_sha1.c
[63/148] Compiling CNIOLinux shim.c
[64/148] Compiling _AtomicsShims.c
[65/148] Compiling CNIOWindows shim.c
[66/148] Compiling CNIOLLHTTP c_nio_api.c
[67/162] Compiling CNIOLLHTTP c_nio_llhttp.c
[68/181] Compiling c-nioatomics.c
[70/200] Emitting module WasmTransformer
[70/202] Compiling c-atomics.c
[72/204] Compiling WasmTransformer BinaryFormat.swift
[73/204] Compiling WasmTransformer ByteEncodable.swift
[74/204] Compiling WasmTransformer InputByteStream.swift
[75/204] Compiling WasmTransformer StackOverflowSanitizer.swift
[76/204] Compiling WasmTransformer WasmTransformer.swift
[77/204] Compiling WasmTransformer SizeProfiler.swift
[78/204] Compiling WasmTransformer StackOverflowSanitizer+Fixtures.swift
[79/204] Compiling WasmTransformer CustomSectionStripper.swift
[80/204] Compiling WasmTransformer I64ImportTransformer.swift
[81/204] Compiling WasmTransformer ModuleReader.swift
[82/204] Compiling WasmTransformer TypeSectionReader.swift
[83/204] Compiling WasmTransformer VectorSectionReader.swift
[84/204] Compiling WasmTransformer Sections.swift
[85/204] Compiling WasmTransformer Trampoline.swift
[86/204] Compiling WasmTransformer ElementSectionReader.swift
[87/204] Compiling WasmTransformer FunctionSectionReader.swift
[88/204] Compiling WasmTransformer ImportSectionReader.swift
[89/204] Compiling WasmTransformer LEB128.swift
[90/204] Compiling WasmTransformer OutputWriter.swift
[91/204] Compiling WasmTransformer CodeSectionReader.swift
[92/204] Emitting module carton_plugin_helper
[93/204] Compiling carton_plugin_helper main.swift
[94/206] Emitting module _NIOBase64
[95/206] Compiling _NIOBase64 Base64.swift
[99/207] Compiling _NIODataStructures Heap.swift
[100/207] Emitting module _NIODataStructures
[101/207] Compiling _NIODataStructures PriorityQueue.swift
[102/207] Compiling _NIODataStructures _TinyArray.swift
[104/232] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[106/234] Emitting module WasmTransformer
[107/234] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[108/234] Compiling InternalCollectionsUtilities Integer rank.swift
[109/234] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[110/234] Emitting module TSCLibc
/host/spi-builder-workspace/Sources/TSCLibc/libc.swift:19:19: error: no such module 'Darwin.C'
 17 | @_exported import WinSDK
 18 | #else
 19 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 20 | #endif
 21 |
[111/234] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/Sources/TSCLibc/libc.swift:19:19: error: no such module 'Darwin.C'
 17 | @_exported import WinSDK
 18 | #else
 19 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 20 | #endif
 21 |
[112/234] Emitting module _NIOBase64
[113/234] Compiling _NIOBase64 Base64.swift
[114/235] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[115/235] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[116/237] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[117/237] Compiling InternalCollectionsUtilities Debugging.swift
[118/237] Compiling InternalCollectionsUtilities Descriptions.swift
[119/237] Compiling InternalCollectionsUtilities _SortedCollection.swift
[120/237] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[121/237] Emitting module _NIODataStructures
BUILD FAILURE 6.2 android