The Swift Package Index logo.Swift Package Index

Build Information

Failed to build baton, reference v0.1.4 (02c358), with Swift 6.3 for Android on 29 Jun 2026 07:42:27 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexey1312/baton.git
Reference: v0.1.4
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/alexey1312/baton
 * tag               v0.1.4     -> FETCH_HEAD
HEAD is now at 02c3581 chore: rename repo references swift-baton -> baton
Cloned https://github.com/alexey1312/baton.git
Revision (git rev-parse @):
02c3581b1cba36d2cf025bc330cbb7ccc3c0b657
SUCCESS checkout https://github.com/alexey1312/baton.git at v0.1.4
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/alexey1312/baton.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:451958f7df55f9af673f8b0851dc526f2aee3222db374ae53b89fa21ad564bc8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/mattt/swift-yyjson
Fetching https://github.com/mattt/swift-toml
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/tuist/Noora
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/stephencelis/SQLite.swift
[1/556] Fetching swift-yyjson
[374/887] Fetching swift-yyjson, swift-toml
[888/3212] Fetching swift-yyjson, swift-toml, swift-docc-plugin
[958/4348] Fetching swift-yyjson, swift-toml, swift-docc-plugin, swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.47s)
Fetching https://github.com/apple/swift-log.git
[1120/3212] Fetching swift-yyjson, swift-toml, swift-docc-plugin
[1121/14424] Fetching swift-yyjson, swift-toml, swift-docc-plugin, sqlite.swift
[7632/33691] Fetching swift-yyjson, swift-toml, swift-docc-plugin, sqlite.swift, noora
[22518/41289] Fetching swift-yyjson, swift-toml, swift-docc-plugin, sqlite.swift, noora, swift-log
Fetched https://github.com/mattt/swift-toml from cache (0.89s)
Fetched https://github.com/mattt/swift-yyjson from cache (0.89s)
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.89s)
[21129/38077] Fetching sqlite.swift, noora, swift-log
Fetched https://github.com/stephencelis/SQLite.swift from cache (0.89s)
[9993/26865] Fetching noora, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.50s)
[8094/37216] Fetching noora, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.68s)
[8478/19267] Fetching noora
Fetched https://github.com/tuist/Noora from cache (2.92s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (3.81s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3749] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.53s)
Computing version for https://github.com/stephencelis/SQLite.swift
Computed https://github.com/stephencelis/SQLite.swift at 0.16.0 (0.71s)
Fetching https://github.com/stephencelis/CSQLite
[1/290] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite from cache (0.75s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.6 (0.89s)
Fetching https://github.com/apple/swift-collections.git
[1/25251] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.13s)
Computing version for https://github.com/mattt/swift-toml
Computed https://github.com/mattt/swift-toml at 2.0.0 (1.27s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.56.0 (0.13s)
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
[1/412] Fetching path
[413/1862] Fetching path, rainbow
Fetched https://github.com/tuist/path from cache (0.42s)
Fetched https://github.com/onevcat/Rainbow from cache (0.42s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.61s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (0.16s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (0.85s)
Computing version for https://github.com/mattt/swift-yyjson
Computed https://github.com/mattt/swift-yyjson at 0.6.0 (0.15s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Computing version for https://github.com/stephencelis/CSQLite
Computed https://github.com/stephencelis/CSQLite at 3.53.3 (0.13s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (0.15s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.23s)
Creating working copy for https://github.com/stephencelis/SQLite.swift
Working copy of https://github.com/stephencelis/SQLite.swift resolved at 0.16.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/mattt/swift-yyjson
Working copy of https://github.com/mattt/swift-yyjson resolved at 0.6.0
Creating working copy for https://github.com/stephencelis/CSQLite
Working copy of https://github.com/stephencelis/CSQLite resolved at 3.53.3
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.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.14.0
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.6
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.56.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/tuist/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
Creating working copy for https://github.com/mattt/swift-toml
Working copy of https://github.com/mattt/swift-toml resolved at 2.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/43] Write sources
[8/43] Copying PrivacyInfo.xcprivacy
[9/43] Write sources
[20/43] Compiling Cyyjson yyjson.c
[21/43] Compiling CTomlPlusPlus ctoml.cpp
[22/43] Compiling SQLiteSwiftCSQLite sqlite3.c
[23/43] Write swift-version-272D24FF697CF451.txt
[25/139] Emitting module ArgumentParserToolInfo
[26/139] Emitting module InternalCollectionsUtilities
[27/139] Compiling SQLite RTree.swift
[28/139] Compiling SQLite Foundation.swift
[29/141] Compiling SQLite Backup.swift
[30/141] Compiling SQLite Blob.swift
[31/141] Compiling SQLite Connection+Aggregation.swift
[32/141] Compiling Logging LoggingSystem.swift
[33/142] Compiling InternalCollectionsUtilities _SortedCollection.swift
[34/142] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[35/142] Compiling SQLite CustomFunctions.swift
[36/142] Compiling SQLite DateAndTimeFunctions.swift
[37/143] Compiling SQLite Connection+Attach.swift
[38/143] Compiling SQLite Connection+Pragmas.swift
[40/143] Compiling SQLite FTS5.swift
[41/143] Compiling SQLite SQLiteFeature.swift
[42/143] Compiling SQLite SQLiteVersion.swift
[43/143] Compiling SQLite Collation.swift
[44/143] Compiling SQLite CoreFunctions.swift
[46/143] Compiling YYJSON CodingKeys.swift
[47/144] Compiling SQLite Connection.swift
[48/144] Compiling SQLite Errors.swift
[49/144] Compiling SQLite Result.swift
[50/145] Compiling Logging Logger+With.swift
[51/145] Compiling Logging Logger.swift
[55/145] Compiling Logging Logger+Attributes.swift
[56/151] Compiling Path Path.swift
[57/151] Emitting module Path
[59/203] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[60/203] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[60/203] Wrapping AST for InternalCollectionsUtilities for debugging
[61/203] Wrapping AST for Path for debugging
[63/203] Compiling ArgumentParserToolInfo ToolInfo.swift
[65/204] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[66/204] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[67/204] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[68/204] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[69/204] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[70/204] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[71/204] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[72/204] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[72/211] Wrapping AST for ArgumentParserToolInfo for debugging
[74/258] Compiling ArgumentParser CompletionKind.swift
[75/258] Compiling ArgumentParser Errors.swift
[76/258] Compiling ArgumentParser Flag.swift
[77/258] Compiling ArgumentParser NameSpecification.swift
[78/258] Compiling ArgumentParser Option.swift
[79/258] Compiling ArgumentParser OptionGroup.swift
[80/258] Compiling ArgumentParser Name.swift
[81/258] Compiling ArgumentParser Parsed.swift
[82/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[83/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[84/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[85/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[86/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[87/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[88/258] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[89/258] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[90/258] Compiling ArgumentParser BashCompletionsGenerator.swift
[91/258] Compiling ArgumentParser CompletionsGenerator.swift
[92/258] Compiling ArgumentParser FishCompletionsGenerator.swift
[93/258] Compiling ArgumentParser ZshCompletionsGenerator.swift
[94/258] Compiling ArgumentParser Argument.swift
[95/258] Compiling ArgumentParser ArgumentDiscussion.swift
[96/258] Compiling ArgumentParser ArgumentHelp.swift
[97/258] Compiling ArgumentParser ArgumentVisibility.swift
[98/258] Compiling ArgumentParser HelpCommand.swift
[99/258] Compiling ArgumentParser HelpGenerator.swift
[100/258] Compiling ArgumentParser MessageInfo.swift
[101/258] Compiling ArgumentParser UsageGenerator.swift
[102/258] Compiling ArgumentParser CollectionExtensions.swift
[103/258] Compiling ArgumentParser Foundation.swift
[104/258] Compiling OrderedCollections OrderedSet+Equatable.swift
[105/258] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[106/258] Emitting module ArgumentParser
[107/264] Compiling ArgumentParser InputKey.swift
[108/264] Compiling ArgumentParser InputOrigin.swift
[109/264] Compiling ArgumentParser Mutex.swift
[110/264] Compiling ArgumentParser Platform.swift
[111/264] Compiling ArgumentParser SequenceExtensions.swift
[112/264] Compiling ArgumentParser StringExtensions.swift
[113/264] Compiling ArgumentParser SwiftExtensions.swift
[114/264] Compiling ArgumentParser Tree.swift
[115/264] Compiling ArgumentParser ParsedValues.swift
[116/264] Compiling ArgumentParser ParserError.swift
[117/264] Compiling ArgumentParser SplitArguments.swift
[118/264] Compiling ArgumentParser DumpHelpGenerator.swift
[119/264] Compiling ArgumentParser ParentCommand.swift
[120/264] Compiling ArgumentParser AsyncParsableCommand.swift
[121/264] Compiling ArgumentParser CommandConfiguration.swift
[122/264] Compiling ArgumentParser CommandGroup.swift
[125/264] Emitting module Logging
[128/264] Compiling Logging MetadataProvider.swift
[130/265] Compiling OrderedCollections OrderedSet+Sendable.swift
[131/265] Compiling OrderedCollections OrderedSet+SubSequence.swift
[132/265] Compiling OrderedCollections OrderedSet+Testing.swift
[133/265] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[134/265] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[135/265] Compiling OrderedCollections OrderedSet.swift
[136/265] Compiling OrderedCollections _UnsafeBitset.swift
[141/265] Compiling ArgumentParser EnumerableFlag.swift
[142/265] Compiling ArgumentParser ExpressibleByArgument.swift
[143/265] Compiling ArgumentParser ParsableArguments.swift
[143/265] Wrapping AST for Logging for debugging
[150/269] Compiling YYJSON Serialization.swift
/host/spi-builder-workspace/.build/checkouts/swift-yyjson/Sources/YYJSON/Serialization.swift:28:13: error: cannot find 'errno' in scope
 26 |             guard len > 0 else { return nil }
 27 |             var end: UnsafeMutablePointer<CChar>?
 28 |             errno = 0
    |             `- error: cannot find 'errno' in scope
 29 |             if T.isSigned {
 30 |                 let v = strtoll(ptr, &end, 0)
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/swift-yyjson/Sources/YYJSON/Serialization.swift:31:23: error: cannot find 'errno' in scope
 29 |             if T.isSigned {
 30 |                 let v = strtoll(ptr, &end, 0)
 31 |                 guard errno == 0, let e = end, ptr.distance(to: UnsafePointer(e)) == Int(len)
    |                       `- error: cannot find 'errno' in scope
 32 |                 else { return nil }
 33 |                 return T(exactly: v)
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/swift-yyjson/Sources/YYJSON/Serialization.swift:37:19: error: cannot find 'errno' in scope
 35 |             if ptr.pointee == 0x2D /* '-' */ { return nil }
 36 |             let v = strtoull(ptr, &end, 0)
 37 |             guard errno == 0, let e = end, ptr.distance(to: UnsafePointer(e)) == Int(len)
    |                   `- error: cannot find 'errno' in scope
 38 |             else { return nil }
 39 |             return T(exactly: v)
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[153/269] Compiling TOML Value.swift
[154/269] Compiling TOML Shared.swift
[155/269] Compiling TOML LocalDateTime.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 |         }
/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)
[166/269] 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 |         }
[169/269] Compiling Rainbow StyledStringBuilder.swift
[170/269] Compiling SQLite Setter.swift
[171/269] Compiling SQLite WindowFunctions.swift
[172/269] Compiling SQLite resource_bundle_accessor.swift
[176/269] Emitting module TOML
BUILD FAILURE 6.3 android