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 1.1.3 (57ab2e), with Swift 6.2 (beta) for Android on 22 Jun 2025 16:10:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftwasm/carton.git
Reference: 1.1.3
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
 * tag               1.1.3      -> FETCH_HEAD
HEAD is now at 57ab2e7 Bump version to 1.1.3, update CHANGELOG.md
Cloned https://github.com/swiftwasm/carton.git
Revision (git rev-parse @):
57ab2e7c2419c0f6f2516d1c25142a9fb763ca7a
SUCCESS checkout https://github.com/swiftwasm/carton.git at 1.1.3
========================================
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-1":/host -w "$PWD" 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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
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/809] Fetching wasmtransformer
[463/16189] Fetching wasmtransformer, swift-argument-parser
[1232/92528] Fetching wasmtransformer, swift-argument-parser, swift-nio
Fetched https://github.com/swiftwasm/WasmTransformer from cache (1.73s)
[70345/91719] Fetching swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.86s)
Fetched https://github.com/apple/swift-nio.git from cache (3.94s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (6.76s)
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.44s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.84s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1797] Fetching swift-atomics
[702/6233] Fetching swift-atomics, swift-system
[2023/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
[8097/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.34s)
Fetched https://github.com/apple/swift-collections.git from cache (1.38s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.20s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.60s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.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.83.0
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/swiftwasm/WasmTransformer
Working copy of https://github.com/swiftwasm/WasmTransformer resolved at 0.5.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/146] Write sources
[28/146] Compiling CNIOWindows shim.c
[29/146] Compiling CNIOWASI CNIOWASI.c
[30/146] Compiling CNIOWindows WSAStartup.c
[31/146] Compiling _AtomicsShims.c
[31/146] Compiling TSCclibc process.c.c
[33/146] Compiling CNIOLinux liburing_shims.c
[34/146] Compiling CNIOSHA1 c_nio_sha1.c
[35/146] Compiling CNIODarwin shim.c
[36/146] Write swift-version-8C5A4AE7A8CE2BA.txt
[36/146] Write sources
[36/146] Compiling TSCclibc process.c.c
[40/146] Write sources
[45/146] Compiling CNIOLLHTTP c_nio_http.c
[46/146] Compiling _AtomicsShims.c
[47/152] Compiling CNIOLinux shim.c
[48/152] Compiling CNIOLLHTTP c_nio_api.c
[50/152] Emitting module carton_plugin_helper
[50/160] Compiling CNIOLLHTTP c_nio_llhttp.c
[52/179] Emitting module _NIOBase64
[54/179] Emitting module _NIODataStructures
[54/179] Compiling c-nioatomics.c
[56/198] Compiling carton_plugin_helper main.swift
[56/198] Compiling c-atomics.c
[58/199] Compiling _NIOBase64 Base64.swift
[59/199] Compiling WasmTransformer Sections.swift
[60/199] Compiling WasmTransformer Trampoline.swift
[62/202] Compiling WasmTransformer SizeProfiler.swift
[63/202] Compiling WasmTransformer StackOverflowSanitizer+Fixtures.swift
[65/206] Emitting module TSCLibc
[66/224] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[67/224] Compiling InternalCollectionsUtilities _SortedCollection.swift
[68/224] Compiling InternalCollectionsUtilities Descriptions.swift
[69/224] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[70/224] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[71/224] Compiling InternalCollectionsUtilities Debugging.swift
[72/224] Compiling _NIODataStructures _TinyArray.swift
[73/224] Compiling _NIODataStructures PriorityQueue.swift
[74/224] Compiling _NIODataStructures Heap.swift
[75/224] Emitting module _NIODataStructures
[77/232] Emitting module WasmTransformer
[78/232] Compiling WasmTransformer CustomSectionStripper.swift
[79/232] Compiling WasmTransformer I64ImportTransformer.swift
[80/232] Compiling InternalCollectionsUtilities UInt+reversed.swift
[81/232] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[82/232] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[83/232] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[84/232] Compiling InternalCollectionsUtilities Integer rank.swift
[85/232] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[86/232] Compiling WasmTransformer StackOverflowSanitizer.swift
[87/232] Compiling WasmTransformer WasmTransformer.swift
[89/251] Compiling Atomics AtomicMemoryOrderings.swift
[90/251] Compiling Atomics DoubleWord.swift
[91/251] Compiling Atomics UnsafeAtomic.swift
[92/251] Compiling Atomics UnsafeAtomicLazyReference.swift
[93/251] Compiling Atomics ManagedAtomic.swift
[94/251] Compiling Atomics ManagedAtomicLazyReference.swift
[95/253] Compiling Atomics PointerConformances.swift
[96/253] Compiling Atomics Primitives.native.swift
[97/253] Compiling Atomics AtomicStorage.swift
[98/253] Compiling Atomics AtomicValue.swift
[100/254] Compiling Atomics IntegerOperations.swift
[101/254] Compiling Atomics IntegerConformances.swift
[104/256] Compiling Atomics AtomicBool.swift
[106/256] Compiling Atomics OptionalRawRepresentable.swift
[107/256] Compiling Atomics RawRepresentable.swift
[108/256] Emitting module InternalCollectionsUtilities
[109/256] Emitting module WasmTransformer
[113/256] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[116/256] Compiling Atomics AtomicInteger.swift
[122/256] Compiling Atomics AtomicOptionalWrappable.swift
[123/256] Compiling Atomics AtomicReference.swift
[130/256] Compiling _NIODataStructures PriorityQueue.swift
[131/256] Compiling _NIOBase64 Base64.swift
[133/257] Compiling _NIODataStructures _TinyArray.swift
[137/259] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[138/260] Wrapping AST for _NIOBase64 for debugging
[144/260] Compiling WasmTransformer StackOverflowSanitizer.swift
[145/275] Compiling DequeModule Deque+CustomReflectable.swift
[146/275] Compiling DequeModule Deque+Descriptions.swift
[147/277] Compiling DequeModule _DequeBuffer.swift
[148/277] Compiling DequeModule _DequeBufferHeader.swift
[150/277] Compiling WasmTransformer WasmTransformer.swift
[152/278] Compiling DequeModule Deque+Equatable.swift
[153/278] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[154/278] Compiling DequeModule Deque+Extras.swift
[155/278] Compiling DequeModule Deque+Hashable.swift
[155/278] Wrapping AST for InternalCollectionsUtilities for debugging
[156/278] Wrapping AST for WasmTransformer for debugging
[158/278] Compiling CartonCore Misc.swift
[158/278] Wrapping AST for carton-plugin-helper for debugging
[160/278] Compiling DequeModule _DequeSlot.swift
[161/278] Compiling DequeModule _UnsafeWrappedBuffer.swift
[162/278] Compiling ArgumentParserToolInfo ToolInfo.swift
[163/278] Emitting module ArgumentParserToolInfo
[163/279] Wrapping AST for _NIODataStructures for debugging
[163/279] Write Objects.LinkFileList
[166/279] Wrapping AST for _NIOBase64 for debugging
[168/279] Compiling DequeModule Deque+Testing.swift
[169/279] Compiling DequeModule Deque._Storage.swift
[170/279] Compiling DequeModule Deque._UnsafeHandle.swift
[171/279] Compiling DequeModule Deque.swift
[172/279] Compiling TSCLibc libc.swift
[173/280] Emitting module CartonCore
[174/280] Compiling CartonCore Environment.swift
[176/317] Compiling NIOConcurrencyHelpers NIOLock.swift
[177/317] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[178/317] Emitting module NIOConcurrencyHelpers
[178/317] Linking carton-plugin-helper
[180/317] Compiling NIOConcurrencyHelpers lock.swift
[180/317] Wrapping AST for ArgumentParserToolInfo for debugging
[182/317] Compiling _NIODataStructures Heap.swift
[182/318] Wrapping AST for TSCLibc for debugging
[183/318] Write sources
[185/318] Wrapping AST for WasmTransformer for debugging
[185/318] Write sources
[201/318] Compiling CNIOWindows shim.c
[203/320] Compiling ArgumentParser BashCompletionsGenerator.swift
[204/320] Compiling ArgumentParser CompletionsGenerator.swift
[204/320] Wrapping AST for _NIODataStructures for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[206/327] 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 |
[207/327] 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 |
[208/333] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
BUILD FAILURE 6.2 android