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 (dc09a0), with Swift 6.2 (beta) for Android on 22 Jun 2025 16:12:09 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.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: 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 dc09a0e Support the latest SwiftPM producing .xctest for test products (#512)
Cloned https://github.com/swiftwasm/carton.git
Revision (git rev-parse @):
dc09a0e490be92b34d6791ad2e697971c200b9d6
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-4606859-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
[810/16189] Fetching wasmtransformer, swift-argument-parser
[1579/92528] Fetching wasmtransformer, swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.89s)
[29818/77148] Fetching wasmtransformer, swift-nio
Fetched https://github.com/swiftwasm/WasmTransformer from cache (8.43s)
Fetched https://github.com/apple/swift-nio.git from cache (8.57s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (13.13s)
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.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.60s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/4436] Fetching swift-system
[46/6233] Fetching swift-system, swift-atomics
[3054/22873] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.90s)
[8763/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.03s)
Fetched https://github.com/apple/swift-collections.git from cache (2.08s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.00s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.75s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.47s)
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-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-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-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-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
[26/146] Compiling CNIOWASI CNIOWASI.c
[27/146] Compiling CNIOWindows shim.c
[28/146] Compiling _AtomicsShims.c
[29/146] Compiling CNIOWindows WSAStartup.c
[30/146] Compiling TSCclibc process.c.c
[31/146] Compiling CNIOLinux liburing_shims.c
[32/146] Compiling CNIODarwin shim.c
[33/146] Compiling CNIOLinux shim.c
[34/146] Compiling CNIOLLHTTP c_nio_http.c
[34/146] Write sources
[42/146] Compiling TSCclibc process.c.c
[43/146] Write sources
[60/146] Write swift-version-8C5A4AE7A8CE2BA.txt
[62/146] Compiling CNIOSHA1 c_nio_sha1.c
[63/146] Compiling CNIOWindows shim.c
[64/146] Compiling _AtomicsShims.c
[65/146] Compiling CNIOWindows WSAStartup.c
[66/158] Compiling CNIOLLHTTP c_nio_api.c
[67/160] Compiling CNIOLLHTTP c_nio_llhttp.c
[68/179] Compiling c-nioatomics.c
[70/198] Compiling WasmTransformer Sections.swift
[71/198] Compiling WasmTransformer Trampoline.swift
[72/200] Compiling WasmTransformer ModuleReader.swift
[73/200] Compiling WasmTransformer TypeSectionReader.swift
[74/200] Compiling WasmTransformer VectorSectionReader.swift
[75/200] Compiling WasmTransformer SizeProfiler.swift
[76/200] Compiling WasmTransformer StackOverflowSanitizer+Fixtures.swift
[77/200] Compiling WasmTransformer BinaryFormat.swift
[78/200] Compiling WasmTransformer ByteEncodable.swift
[79/200] Compiling WasmTransformer InputByteStream.swift
[80/200] Compiling WasmTransformer ElementSectionReader.swift
[81/200] Compiling WasmTransformer FunctionSectionReader.swift
[82/200] Compiling WasmTransformer ImportSectionReader.swift
[83/200] Compiling WasmTransformer CustomSectionStripper.swift
[84/200] Compiling WasmTransformer I64ImportTransformer.swift
[85/200] Emitting module WasmTransformer
[86/200] Compiling WasmTransformer LEB128.swift
[87/200] Compiling WasmTransformer OutputWriter.swift
[88/200] Compiling WasmTransformer CodeSectionReader.swift
[89/200] Emitting module _NIOBase64
[90/200] Compiling _NIOBase64 Base64.swift
[91/202] Compiling c-atomics.c
[93/203] Compiling _NIODataStructures PriorityQueue.swift
[94/203] Compiling _NIODataStructures _TinyArray.swift
[95/203] Emitting module TSCLibc
error: emit-module command failed with exit code 1 (use -v to see invocation)
/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 |
[100/207] 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 |
[101/207] Emitting module _NIODataStructures
[102/207] Emitting module carton_plugin_helper
[103/207] Emitting module _NIOBase64
BUILD FAILURE 6.2 android