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 swift-graphql, reference main (24a446), with Swift 6.2 (beta) for Android on 21 Jun 2025 12:54:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/maticzav/swift-graphql.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/maticzav/swift-graphql
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 24a4462 Improve code generation (#204)
Cloned https://github.com/maticzav/swift-graphql.git
Revision (git rev-parse @):
24a4462a76442256ec88db2bf424fa39776b66ba
SUCCESS checkout https://github.com/maticzav/swift-graphql.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/maticzav/swift-graphql.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/JohnSundell/Files
Fetching https://github.com/apple/swift-format
Fetching https://github.com/dominicegginton/Spinner
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/apple/swift-log.git
[1/967] Fetching spinner
[108/2215] Fetching spinner, files
[1262/6051] Fetching spinner, files, swift-log
[2422/18262] Fetching spinner, files, swift-log, swift-format
[2423/23295] Fetching spinner, files, swift-log, swift-format, starscream
[6030/34169] Fetching spinner, files, swift-log, swift-format, starscream, yams
Fetched https://github.com/dominicegginton/Spinner from cache (0.46s)
Fetched https://github.com/apple/swift-log.git from cache (0.47s)
[19445/29366] Fetching files, swift-format, starscream, yams
Fetching https://github.com/apple/swift-argument-parser
[29367/44746] Fetching files, swift-format, starscream, yams, swift-argument-parser
Fetched https://github.com/daltoniam/Starscream.git from cache (1.57s)
Fetched https://github.com/JohnSundell/Files from cache (1.58s)
Fetched https://github.com/apple/swift-format from cache (1.60s)
Fetched https://github.com/jpsim/Yams.git from cache (1.65s)
Fetched https://github.com/apple/swift-argument-parser from cache (3.24s)
Computing version for https://github.com/apple/swift-format
Computed https://github.com/apple/swift-format at 509.0.0 (5.19s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-markdown.git
[1/6785] Fetching swift-markdown
[6786/77709] Fetching swift-markdown, swift-syntax
Fetched https://github.com/apple/swift-markdown.git from cache (4.33s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.38s)
Computing version for https://github.com/dominicegginton/Spinner
Computed https://github.com/dominicegginton/Spinner at 2.1.0 (5.99s)
Fetching https://github.com/IBM-Swift/BlueSignals.git
Fetching https://github.com/dominicegginton/Nanoseconds
Fetching https://github.com/onevcat/Rainbow
[1/201] Fetching nanoseconds
[202/1397] Fetching nanoseconds, rainbow
[1398/2078] Fetching nanoseconds, rainbow, bluesignals
[1578/1877] Fetching rainbow, bluesignals
Fetched https://github.com/dominicegginton/Nanoseconds from cache (0.25s)
Fetched https://github.com/IBM-Swift/BlueSignals.git from cache (0.28s)
Fetched https://github.com/onevcat/Rainbow from cache (0.28s)
Computing version for https://github.com/dominicegginton/Nanoseconds
Computed https://github.com/dominicegginton/Nanoseconds at 1.1.3 (0.74s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.12s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.79s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (1.35s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.6.0 (0.62s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18113] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.28s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (1.86s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.3.0 (0.86s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.67s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.18s)
Computing version for https://github.com/IBM-Swift/BlueSignals.git
Computed https://github.com/IBM-Swift/BlueSignals.git at 1.0.200 (0.42s)
Creating working copy for https://github.com/IBM-Swift/BlueSignals.git
Working copy of https://github.com/IBM-Swift/BlueSignals.git resolved at 1.0.200
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/dominicegginton/Nanoseconds
Working copy of https://github.com/dominicegginton/Nanoseconds resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-format
Working copy of https://github.com/apple/swift-format resolved at 509.0.0
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.3.0
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.6.0
Creating working copy for https://github.com/dominicegginton/Spinner
Working copy of https://github.com/dominicegginton/Spinner resolved at 2.1.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.8
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.6.0
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/98] Write sources
[13/98] Compiling cmark-gfm-extensions tagfilter.c
[14/98] Compiling cmark-gfm-extensions strikethrough.c
[14/98] Compiling cmark-gfm-extensions tasklist.c
[16/98] Write swift-version-8C5A4AE7A8CE2BA.txt
[17/98] Compiling cmark-gfm-extensions ext_scanners.c
[17/98] Compiling cmark-gfm-extensions core-extensions.c
[19/98] Compiling cmark-gfm-extensions autolink.c
[20/98] Compiling cmark-gfm xml.c
[21/98] Compiling cmark-gfm-extensions table.c
[22/100] Compiling cmark-gfm syntax_extension.c
[23/113] Compiling cmark-gfm render.c
[24/118] Compiling cmark-gfm registry.c
[25/119] Compiling cmark-gfm plugin.c
[26/119] Compiling cmark-gfm references.c
[27/119] Compiling cmark-gfm utf8.c
[28/119] Compiling cmark-gfm plaintext.c
[29/119] Compiling cmark-gfm map.c
[30/119] Compiling cmark-gfm man.c
[31/119] Compiling cmark-gfm linked_list.c
[32/119] Compiling cmark-gfm node.c
[33/119] Compiling cmark-gfm iterator.c
[34/119] Compiling cmark-gfm latex.c
[35/119] Compiling cmark-gfm html.c
[36/119] Compiling cmark-gfm scanners.c
[37/119] Compiling cmark-gfm houdini_html_e.c
[38/119] Compiling cmark-gfm houdini_href_e.c
[39/119] Compiling cmark-gfm inlines.c
[40/119] Compiling cmark-gfm houdini_html_u.c
[41/119] Compiling cmark-gfm footnotes.c
[42/119] Compiling cmark-gfm cmark_ctype.c
[43/119] Compiling cmark-gfm cmark.c
[44/119] Compiling cmark-gfm commonmark.c
[44/119] Write sources
[52/119] Compiling cmark-gfm buffer.c
[52/119] Write sources
[52/119] Copying PrivacyInfo.xcprivacy
[52/119] Write sources
[63/119] Compiling cmark-gfm arena.c
[64/121] Compiling writer.c
[65/123] Compiling cmark-gfm blocks.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/154] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[68/156] Emitting module SwiftSyntax509
[69/156] Compiling SwiftSyntax509 Empty.swift
[71/157] Emitting module GraphQLAST
[72/157] Compiling Logging LogHandler.swift
[73/190] Emitting module GraphQL
[74/202] Compiling Rainbow String+Rainbow.swift
[75/202] Compiling Rainbow StringGenerator.swift
[76/203] Compiling Rainbow Style.swift
[77/203] Compiling Logging MetadataProvider.swift
[78/203] Compiling GraphQLAST InvertedTypeRef.swift
[79/203] Emitting module Logging
[80/203] Compiling Logging Locks.swift
[81/203] Compiling SwiftSyntax BumpPtrAllocator.swift
[82/203] Compiling SwiftSyntax CommonAncestor.swift
[83/203] Compiling SwiftSyntax Convenience.swift
[84/203] Compiling SwiftSyntax MemoryLayout.swift
[85/203] Compiling SwiftSyntax AbsolutePosition.swift
[86/203] Compiling SwiftSyntax Assert.swift
[87/203] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[88/203] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[89/203] Compiling Rainbow Rainbow.swift
[90/203] Emitting module Signals
[91/203] Compiling GraphQLAST Errors.swift
/host/spi-builder-workspace/Sources/GraphQLAST/Introspection.swift:149:19: error: cannot find 'URLRequest' in scope
147 | func fetch(from endpoint: URL, withHeaders headers: [String: String] = [:]) throws -> Data {
148 |     /* Compose a request. */
149 |     var request = URLRequest(url: endpoint)
    |                   `- error: cannot find 'URLRequest' in scope
150 |
151 |     for header in headers {
/host/spi-builder-workspace/Sources/GraphQLAST/Introspection.swift:175:16: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
173 |
174 |     /* Load the schema. */
175 |     URLSession.shared.dataTask(with: request) { data, response, error in
    |                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
176 |         /* Check for errors. */
177 |         if let error = error {
[92/203] Emitting module SwiftGraphQLUtils
BUILD FAILURE 6.2 android