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 JSON, reference 2.2.2 (6c7ce4), with Swift 6.2 (beta) for Android on 21 Jun 2025 00:40:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/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.2
Building package at path:  $PWD
https://github.com/vapor-community/json.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/vapor/core.git
Fetching https://github.com/vapor/node.git
[1/4211] Fetching node
[4212/24354] Fetching node, core
Fetched https://github.com/vapor/node.git from cache (0.40s)
[13496/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.96s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (1.74s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/358] Fetching bits
[359/618] Fetching bits, debugging
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 (0.98s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.55s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (1.01s)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
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/bits.git
Working copy of https://github.com/vapor/bits.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
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-8C5A4AE7A8CE2BA.txt
[9/33] Emitting module Debugging
[10/33] Emitting module PathIndexable
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/33] Emitting module Bits
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: 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 |
[12/33] Compiling Bits Aliases.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: 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 |
[13/33] Compiling Bits Base64Encoder.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: 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 |
[14/33] Compiling Bits Byte+Alphabet.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: 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)
[15/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 |
[16/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 |
[17/35] Compiling PathIndexable PathIndexable+Subscripting.swift
BUILD FAILURE 6.2 android