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 Shaft, reference main (ffd840), with Swift 6.1 for Android on 25 Jun 2025 15:04:40 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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShaftUI/Shaft.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/ShaftUI/Shaft
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ffd840d Fix FocusNode debugLabel
Cloned https://github.com/ShaftUI/Shaft.git
Revision (git rev-parse @):
ffd840dcca85084637c02c883e41f14f42c24469
SUCCESS checkout https://github.com/ShaftUI/Shaft.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ShaftUI/Shaft.git
https://github.com/ShaftUI/Shaft.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.vwG2Gt/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.9.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.plw6rZ/spi-builder-workspace-manifest"])
/host/spi-builder-workspace/Package.swift:216:9: error: unexpected ',' separator
214 |             //     )
215 |             // ]
216 |         ),
    |         `- error: unexpected ',' separator
217 |
218 |         .target(
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/ShaftUI/SwiftSDL3
[1/1787] Fetching swiftsdl3
Fetched https://github.com/ShaftUI/SwiftSDL3 from cache (0.66s)
Fetching https://github.com/ShaftUI/Splash
[1/1351] Fetching splash
Fetched https://github.com/ShaftUI/Splash from cache (0.37s)
Fetching https://github.com/ShaftUI/SwiftReload.git
[1/151] Fetching swiftreload
Fetched https://github.com/ShaftUI/SwiftReload.git from cache (0.24s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/gregcotten/ZIPFoundationModern
Fetching https://github.com/ShaftUI/swift-collections
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/swiftwasm/JavaScriptKit
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
[1197/6387] Fetching rainbow, zipfoundationmodern
[2599/17158] Fetching rainbow, zipfoundationmodern, swift-collections
[4547/40994] Fetching rainbow, zipfoundationmodern, swift-collections, javascriptkit
[5327/51930] Fetching rainbow, zipfoundationmodern, swift-collections, javascriptkit, yams
Fetched https://github.com/onevcat/Rainbow from cache (0.39s)
[5352/50734] Fetching zipfoundationmodern, swift-collections, javascriptkit, yams
Fetching https://github.com/ShaftUI/SwiftMath
[34528/51507] Fetching zipfoundationmodern, swift-collections, javascriptkit, yams, swiftmath
[41049/122458] Fetching zipfoundationmodern, swift-collections, javascriptkit, yams, swiftmath, swift-syntax
Fetched https://github.com/ShaftUI/SwiftMath from cache (0.39s)
[43363/121685] Fetching zipfoundationmodern, swift-collections, javascriptkit, yams, swift-syntax
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (1.61s)
Fetched https://github.com/gregcotten/ZIPFoundationModern from cache (1.61s)
[49378/92658] Fetching swift-collections, yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (1.63s)
[40571/81722] Fetching swift-collections, swift-syntax
Fetched https://github.com/ShaftUI/swift-collections from cache (5.54s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.57s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (6.50s)
Computing version for https://github.com/ShaftUI/swift-collections
Computed https://github.com/ShaftUI/swift-collections at 1.3.0 (0.98s)
Computing version for https://github.com/ShaftUI/SwiftMath
Computed https://github.com/ShaftUI/SwiftMath at 3.4.0 (0.58s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.36s)
Computing version for https://github.com/gregcotten/ZIPFoundationModern
Computed https://github.com/gregcotten/ZIPFoundationModern at 0.0.5 (0.60s)
Fetching https://github.com/the-swift-collective/zlib
Fetching https://github.com/gregcotten/CSProgress
Fetching https://github.com/apple/swift-system
[1/239] Fetching csprogress
[37/287] Fetching csprogress, zlib
[288/4723] Fetching csprogress, zlib, swift-system
[3021/4484] Fetching zlib, swift-system
Fetched https://github.com/gregcotten/CSProgress from cache (0.32s)
Fetched https://github.com/the-swift-collective/zlib from cache (0.40s)
Fetched https://github.com/apple/swift-system from cache (0.41s)
Computing version for https://github.com/gregcotten/CSProgress
Computed https://github.com/gregcotten/CSProgress at 0.0.1 (0.98s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.57s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.53s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.30.0 (0.62s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.59s)
Creating working copy for https://github.com/gregcotten/ZIPFoundationModern
Working copy of https://github.com/gregcotten/ZIPFoundationModern resolved at 0.0.5
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/ShaftUI/swift-collections
Working copy of https://github.com/ShaftUI/swift-collections resolved at 1.3.0
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/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.30.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/ShaftUI/SwiftReload.git
Working copy of https://github.com/ShaftUI/SwiftReload.git resolved at main (587b067)
Creating working copy for https://github.com/ShaftUI/SwiftSDL3
Working copy of https://github.com/ShaftUI/SwiftSDL3 resolved at main (d33d998)
Creating working copy for https://github.com/the-swift-collective/zlib
Working copy of https://github.com/the-swift-collective/zlib resolved at 1.3.2
Creating working copy for https://github.com/ShaftUI/SwiftMath
Working copy of https://github.com/ShaftUI/SwiftMath resolved at 3.4.0
Creating working copy for https://github.com/ShaftUI/Splash
Working copy of https://github.com/ShaftUI/Splash resolved at master (ed08785)
Creating working copy for https://github.com/gregcotten/CSProgress
Working copy of https://github.com/gregcotten/CSProgress resolved at 0.0.1
[1/1] Compiling plugin BuilderPlugin
[2/2] Compiling plugin CSkiaSetupPlugin
[3/3] Compiling plugin BridgeJSCommandPlugin
[4/4] Compiling plugin BridgeJS
[5/5] Compiling plugin PackageToJS
Building for debugging...
[5/106] Write sources
[10/106] Compiling ZLibC compress.c
[11/106] Compiling ZLibC uncompr.c
[12/106] Compiling ZLibC zutil.c
[13/106] Compiling ZLibC inftrees.c
[14/106] Compiling ZLibC inffast.c
[15/106] Compiling ZLibC trees.c
[16/106] Compiling ZLibC inflate.c
[17/106] Compiling ZLibC gzread.c
[18/106] Compiling ZLibC gzwrite.c
[19/106] Write sources
[22/106] Compiling ZLibC gzclose.c
[22/106] Compiling ZLibC gzlib.c
[22/106] Write sources
[27/106] Compiling ZLibC infback.c
[28/106] Compiling CSystem shims.c
[29/106] Compiling ZLibC adler32.c
[30/106] Compiling ZLibC crc32.c
[31/106] Compiling ZLibC uncompr.c
[32/106] Compiling ZLibC zutil.c
[33/106] Compiling ZLibC inftrees.c
[34/106] Compiling ZLibC deflate.c
[35/106] Compiling ZLibC inffast.c
[36/106] Write swift-version-24593BA9C3E375BF.txt
[37/106] Compiling ZLibC trees.c
[38/106] Compiling ZLibC infback.c
[39/106] Compiling ZLibC gzwrite.c
[40/106] Compiling ZLibC inflate.c
[41/106] Compiling ZLibC gzclose.c
[42/106] Compiling ZLibC gzread.c
[43/106] Compiling ZLibC gzlib.c
[44/106] Compiling ZLibC compress.c
[44/106] Write sources
[51/106] Compiling ZLibC adler32.c
[52/106] Copying icudtl.dat
[53/106] Compiling ZLibC crc32.c
[54/107] Compiling ZLibC deflate.c
[55/140] Write embedded_resources.swift
[56/140] Write sources
[59/199] Compiling ZLib ZLib.swift
[60/199] Emitting module ZLib
[61/200] Compiling SwiftMath easing.swift
[62/200] Compiling SystemPackage PlatformString.swift
[63/200] Compiling SystemPackage SystemString.swift
[65/203] Emitting module SystemPackage
[66/203] Compiling Rainbow BackgroundColor.swift
[67/203] Compiling Rainbow CodesParser.swift
[68/203] Compiling Rainbow Color.swift
[69/203] Compiling Rainbow ColorApproximation.swift
[70/203] Compiling Rainbow ControlCode.swift
[71/203] Compiling Rainbow ModesExtractor.swift
[72/203] Compiling SwiftMath String+Math.swift
[73/203] Compiling SwiftMath Vector2+nosimd.swift
[73/203] Write sources
[74/203] Wrapping AST for ZLib for debugging
[74/203] Write sources
[81/203] Emitting module ZLib
[82/203] Compiling ZLib ZLib.swift
[83/221] Compiling CSystem shims.c
[85/221] Compiling SystemPackage Util+StringArray.swift
[86/221] Compiling SystemPackage Util.swift
[87/221] Compiling SystemPackage UtilConsumers.swift
[87/221] Wrapping AST for ZLib for debugging
[89/221] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[90/221] Compiling InternalCollectionsUtilities Specialize.swift
[91/221] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[92/221] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[93/221] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[94/223] Compiling SwiftMath float3x3+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[95/223] Compiling SwiftMath float4x4+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[96/223] Compiling SwiftMath functions.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[97/226] Emitting module SwiftMath
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[100/247] Compiling SwiftMath Vector4.swift
[101/247] Compiling SwiftMath Vectorf+Components.swift
[102/254] Compiling SystemPackage FilePathParsing.swift
[103/254] Compiling SystemPackage FilePathString.swift
[104/254] Compiling SystemPackage FilePathSyntax.swift
[105/254] Compiling SystemPackage FilePathTemp.swift
[106/254] Compiling SystemPackage FilePathTempPosix.swift
[107/254] Compiling SystemPackage FilePathTempWindows.swift
[108/254] Compiling SystemPackage FilePathWindows.swift
[109/254] Compiling SystemPackage FilePermissions.swift
[110/254] Compiling SystemPackage Backcompat.swift
[111/254] Compiling SystemPackage CInterop.swift
[112/254] Compiling SystemPackage Constants.swift
[113/254] Compiling SystemPackage Exports.swift
[117/255] Emitting module InternalCollectionsUtilities
[117/255] Write sources
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[124/255] Compiling Rainbow StringGenerator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[128/256] Compiling SystemPackage PlatformString.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[129/256] Compiling SystemPackage SystemString.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[130/256] Compiling SwiftMath utils.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[131/256] 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 |         }
[132/256] Compiling Rainbow String+Rainbow.swift
[133/256] Compiling SystemPackage Errno.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[134/256] Compiling SystemPackage ErrnoWindows.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[135/256] Compiling SystemPackage FileDescriptor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[136/256] Compiling SystemPackage FileHelpers.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[137/256] Compiling Rainbow Style.swift
[140/256] Compiling SystemPackage FileOperations.swift
[141/256] Compiling SystemPackage FilePath.swift
[142/256] Compiling SystemPackage FilePathComponentView.swift
[147/256] Compiling SystemPackage FilePathComponents.swift
[150/257] Emitting module CSProgress
[151/257] Compiling CSProgress CSProgress.swift
[152/258] Compiling SystemPackage MachPort.swift
[156/264] Emitting module SystemPackage
[161/322] Compiling _RopeModule BigString+Ingester.swift
[162/322] Compiling _RopeModule BigString+Invariants.swift
[163/322] Compiling _RopeModule BigString+Iterators.swift
[164/322] Compiling _RopeModule BigString+Metrics.swift
[165/322] Compiling _RopeModule BigString+Summary.swift
[166/322] Compiling _RopeModule BigString.swift
[167/322] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[168/322] Compiling _RopeModule BigString+Chunk+Breaks.swift
[169/332] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[170/332] Compiling _RopeModule BigString+Sequence.swift
[171/332] Compiling _RopeModule BigString+TextOutputStream.swift
[172/332] Compiling _RopeModule BigString+Comparable.swift
[173/332] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[174/332] Compiling _RopeModule BigString+CustomStringConvertible.swift
[175/332] Compiling _RopeModule BigString+Equatable.swift
[176/332] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[177/332] Compiling _RopeModule BigString+Hashing.swift
[178/332] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[182/341] Compiling _RopeModule Rope+_Storage.swift
[183/341] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[184/341] Compiling _RopeModule Rope+_UnsafeHandle.swift
[185/341] Compiling _RopeModule Rope.swift
[186/341] Compiling _RopeModule RopeElement.swift
[187/341] Compiling _RopeModule RopeMetric.swift
[188/341] Compiling _RopeModule RopeSummary.swift
[189/341] Compiling _RopeModule _RopeItem.swift
[190/341] Compiling _RopeModule _RopePath.swift
[191/341] Compiling _RopeModule BigString+Chunk+Counts.swift
[192/341] Compiling _RopeModule BigString+Chunk+Description.swift
[193/341] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[194/341] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[195/341] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[196/341] Compiling _RopeModule BigString+Chunk+Splitting.swift
[197/341] Compiling _RopeModule BigString+Chunk.swift
[198/341] Compiling _RopeModule BigString+BidirectionalCollection.swift
[204/342] Compiling _RopeModule _RopeVersion.swift
[205/342] Compiling _RopeModule Rope+Collection.swift
[206/342] Compiling _RopeModule Rope+Index.swift
[207/342] Compiling _RopeModule Rope+Sequence.swift
[208/342] Compiling _RopeModule Rope+Append.swift
[209/342] Compiling _RopeModule Rope+Extract.swift
[210/342] Compiling _RopeModule Rope+Find.swift
[211/342] Compiling _RopeModule Rope+ForEachWhile.swift
[212/342] Compiling _RopeModule Rope+Insert.swift
/host/spi-builder-workspace/Sources/CSkia/utils.cpp:166:39: error: use of undeclared identifier 'fontMgr'
  166 |     collection->setDefaultFontManager(fontMgr);
      |                                       ^
1 error generated.
[212/342] Compiling CSkia utils.cpp
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[217/342] Emitting module Fetch
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin BuilderPlugin
[2/2] Compiling plugin CSkiaSetupPlugin
[3/3] Compiling plugin BridgeJSCommandPlugin
[4/4] Compiling plugin BridgeJS
[5/5] Compiling plugin PackageToJS
Building for debugging...
[5/42] Write sources
[7/45] Write swift-version-24593BA9C3E375BF.txt
[9/143] Emitting module ZLib
[10/147] Compiling ZLib ZLib.swift
[12/154] Emitting module ZLib
[15/153] Compiling SwiftMath float3x3+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[16/153] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[17/153] Compiling SystemPackage RawBuffer.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/156] Emitting module SwiftMath
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[19/166] Compiling SystemPackage FilePathTempPosix.swift
[20/166] Compiling SystemPackage FilePathTempWindows.swift
[21/166] Compiling SystemPackage FilePathWindows.swift
[23/187] Compiling InternalCollectionsUtilities Debugging.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[24/187] Compiling InternalCollectionsUtilities Descriptions.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[25/187] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[26/187] Compiling InternalCollectionsUtilities Specialize.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[29/189] Compiling InternalCollectionsUtilities _SortedCollection.swift
[30/189] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[33/189] Compiling SwiftMath platform.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[34/189] Compiling SwiftMath random.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[35/189] Compiling SystemPackage Util+StringArray.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[36/189] Compiling Rainbow StringGenerator.swift
[37/190] Compiling InternalCollectionsUtilities Integer rank.swift
[38/190] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[45/190] Compiling SystemPackage Syscalls.swift
[46/190] Compiling SystemPackage WindowsSyscallAdapters.swift
[47/190] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[48/190] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/193] 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 |         }
[52/193] Compiling Rainbow String+Rainbow.swift
[53/193] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[54/193] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[55/193] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[56/193] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[61/193] Compiling SystemPackage MachPort.swift
[72/193] Emitting module CSProgress
[73/193] Compiling CSProgress CSProgress.swift
[74/194] Emitting module SystemPackage
[82/194] Compiling Rainbow Style.swift
[84/194] Compiling SystemPackage Util+StringArray.swift
[85/194] Compiling SystemPackage Util.swift
[86/194] Compiling SystemPackage UtilConsumers.swift
[87/194] Emitting module InternalCollectionsUtilities
[88/194] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[89/194] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[106/196] Compiling InternalCollectionsUtilities UInt+reversed.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[107/196] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
/host/spi-builder-workspace/.build/checkouts/SwiftMath/Sources/Vector2+nosimd.swift:14:8: error: no such module 'Glibc'
 12 | import Darwin
 13 | #elseif os(Linux) || os(Android)
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 | #elseif canImport(WASILibc)
 16 | import WASILibc
[118/198] Emitting module Splash
[136/198] Compiling Rainbow Rainbow.swift
[137/198] 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 |         }
[138/198] Emitting module SystemPackage
[154/201] Emitting module Fetch
[157/201] Compiling CSkia utils.cpp
BUILD FAILURE 6.1 android