The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-driver, reference main (7a96ff), with Swift 6.3 for Android on 14 Apr 2026 03:50:01 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDGGiesbrecht/swift-driver.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/SDGGiesbrecht/swift-driver
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7a96ffd Merge pull request #1313 from apple/mracek/add-baremetal-target
Cloned https://github.com/SDGGiesbrecht/swift-driver.git
Revision (git rev-parse @):
7a96ffdd68dda2049cc2da005493b872ea43e3bc
SUCCESS checkout https://github.com/SDGGiesbrecht/swift-driver.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/SDGGiesbrecht/swift-driver.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-llbuild.git
[1/29496] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (3.54s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/7187] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.71s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
[1/279] Fetching swift-toolchain-sqlite
[10/17802] Fetching swift-toolchain-sqlite, swift-argument-parser
[3866/29353] Fetching swift-toolchain-sqlite, swift-argument-parser, yams
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.04s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.04s)
[8202/11551] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.64s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (2.31s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.58s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.9 (0.55s)
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.2.3
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at main (41e3ff4)
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.9
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at main (c947dd7)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/142] Compiling makeOptions main.cpp
[2/142] Compiling CSwiftScan CSwiftScanImpl.c
[3/142] Write sources
[7/142] Compiling llvmSupport Valgrind.cpp
[8/142] Compiling llvmSupport UnicodeCaseFold.cpp
[9/142] Write swift-version--4F562202D5529B1.txt
[10/142] Compiling llvmSupport circular_raw_ostream.cpp
[11/142] Compiling llvmSupport Twine.cpp
[12/142] Compiling llvmSupport Unicode.cpp
[13/142] Compiling llvmSupport Threading.cpp
[14/142] Compiling llvmSupport Triple.cpp
[15/142] Compiling llvmSupport raw_ostream.cpp
/host/spi-builder-workspace/Sources/makeOptions/makeOptions.cpp:42:2: warning: "Unable to include 'swift/Option/Options.inc', `makeOptions` will not be usable" [-W#warnings]
   42 | #warning "Unable to include 'swift/Option/Options.inc', `makeOptions` will not be usable"
      |  ^
1 warning generated.
[16/142] Compiling makeOptions makeOptions.cpp
[17/142] Compiling llvmSupport YAMLParser.cpp
[18/142] Write Objects.LinkFileList
[19/142] Compiling llvmSupport SmallVector.cpp
[20/142] Linking makeOptions
[21/142] Compiling llvmSupport StringSaver.cpp
[22/142] Compiling llvmSupport StringRef.cpp
[23/142] Compiling llvmSupport StringMap.cpp
[24/142] Compiling llvmSupport TargetParser.cpp
[25/142] Compiling llvmSupport StringExtras.cpp
[26/142] Compiling llvmSupport SmallPtrSet.cpp
[27/142] Compiling llvmSupport SourceMgr.cpp
[28/142] Compiling llvmSupport Program.cpp
[29/142] Compiling llvmSupport Options.cpp
[30/142] Compiling llvmSupport NativeFormatting.cpp
[31/142] Compiling llvmSupport Process.cpp
[32/142] Compiling llvmSupport Mutex.cpp
[33/142] Compiling llvmSupport Signals.cpp
[34/142] Compiling llvmSupport MathExtras.cpp
[35/142] Compiling llvmSupport Path.cpp
[36/142] Compiling llvmSupport Memory.cpp
[37/142] Compiling llvmSupport ManagedStatic.cpp
[38/142] Compiling llvmSupport MD5.cpp
[39/142] Compiling llvmSupport Locale.cpp
[40/142] Compiling llvmSupport Hashing.cpp
[41/142] Compiling llvmSupport MemoryBuffer.cpp
[42/142] Compiling llvmSupport FoldingSet.cpp
[43/142] Compiling llvmSupport FormatVariadic.cpp
[44/142] Compiling llvmSupport Host.cpp
[45/142] Compiling llvmSupport ErrorHandling.cpp
[46/142] Compiling llvmSupport Error.cpp
[47/142] Compiling llvmSupport FileUtilities.cpp
[48/142] Compiling llvmSupport Errno.cpp
[49/142] Compiling llvmSupport Atomic.cpp
[50/142] Compiling llvmSupport Debug.cpp
[51/142] Compiling llvmSupport ConvertUTF.cpp
[52/142] Compiling llvmSupport DJB.cpp
[53/142] Compiling llvmSupport ConvertUTFWrapper.cpp
[54/142] Compiling llvmSupport Allocator.cpp
[55/142] Compiling llvmDemangle MicrosoftDemangle.cpp
[56/142] Compiling llvmSupport Chrono.cpp
[57/142] Compiling llvmSupport APSInt.cpp
[58/142] Compiling llvmSupport APInt.cpp
[59/142] Compiling llvmSupport APFloat.cpp
[60/142] Compiling llvmDemangle ItaniumDemangle.cpp
[61/142] Compiling llbuildNinja Parser.cpp
[62/142] Compiling llbuildNinja Lexer.cpp
[63/142] Compiling llvmSupport CommandLine.cpp
[64/142] Compiling llbuildCore MakefileDepsParser.cpp
[65/142] Compiling llbuildNinja Manifest.cpp
[66/142] Compiling llbuildCore DependencyInfoParser.cpp
[67/142] Compiling llbuildNinja ManifestLoader.cpp
[68/142] Compiling llbuildCore SQLiteBuildDB.cpp
[69/142] Compiling llbuildCore BuildDB.cpp
[70/142] Compiling llbuildCore BuildEngineTrace.cpp
[71/142] Compiling llbuildBuildSystem BuildValue.cpp
[72/142] Compiling llbuildBuildSystem ExternalCommand.cpp
[73/142] Compiling llbuildBuildSystem ShellCommand.cpp
[74/142] Compiling llbuildBuildSystem BuildSystemExtensionManager.cpp
[75/142] Compiling llbuildBuildSystem BuildNode.cpp
[76/142] Compiling llbuildBuildSystem BuildKey.cpp
[77/142] Compiling llbuildCore BuildEngine.cpp
[78/142] Compiling llbuildBuildSystem BuildSystemFrontend.cpp
[79/142] Compiling llbuildBasic Version.cpp
[80/142] Compiling llbuildBasic Tracing.cpp
[81/142] Compiling llbuildBuildSystem BuildDescription.cpp
[82/142] Compiling llbuildBasic ShellUtility.cpp
[83/142] Compiling llbuildBasic PlatformUtility.cpp
[84/142] Compiling llbuildBasic Subprocess.cpp
[85/142] Compiling llbuildBuildSystem BuildFile.cpp
[86/142] Compiling llbuildBasic Hashing.cpp
[87/142] Compiling llbuildBasic FileSystem.cpp
[88/142] Compiling llbuildBasic SerialQueue.cpp
[89/142] Compiling llbuildBasic LaneBasedExecutionQueue.cpp
[90/142] Compiling llbuildBasic ExecutionQueue.cpp
[91/142] Compiling libllbuild Ninja-C-API.cpp
[92/142] Compiling llbuildBasic FileInfo.cpp
[93/142] Write sources
[95/142] Compiling TSCclibc strerror.c
[96/142] Compiling TSCclibc process.c
[97/142] Compiling TSCclibc libc.c
[98/142] Write sources
[100/144] Compiling libllbuild C-API.cpp
[101/144] Write sources
[102/144] Compiling libllbuild Core-C-API.cpp
[103/144] Write sources
[107/144] Compiling writer.c
[108/144] Compiling scanner.c
[109/144] Compiling reader.c
[110/144] Compiling parser.c
[111/144] Compiling libllbuild BuildValue-C-API.cpp
[112/144] Compiling api.c
[113/144] Write sources
[115/144] Compiling emitter.c
[116/161] Compiling libllbuild BuildKey-C-API.cpp
[117/161] Compiling libllbuild BuildDB-C-API.cpp
[118/161] Compiling llbuildBuildSystem BuildSystem.cpp
[119/161] Compiling libllbuild BuildSystem-C-API.cpp
[120/169] Compiling SwiftToolchainCSQLite sqlite3.c
[122/169] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[123/169] Compiling Yams Node.Mapping.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[124/169] Compiling Yams Node.Scalar.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[125/169] Compiling Yams Node.Sequence.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[126/170] Compiling llbuildSwift BuildKey.swift
[127/170] Emitting module ArgumentParserToolInfo
[128/170] Compiling ArgumentParserToolInfo ToolInfo.swift
[129/171] Wrapping AST for ArgumentParserToolInfo for debugging
[131/208] Emitting module ArgumentParser
[132/213] Compiling ArgumentParser Option.swift
[133/213] Compiling ArgumentParser OptionGroup.swift
[134/213] Compiling ArgumentParser AsyncParsableCommand.swift
[135/213] Compiling ArgumentParser CommandConfiguration.swift
[136/213] Compiling ArgumentParser EnumerableFlag.swift
[137/213] Compiling ArgumentParser ArgumentVisibility.swift
[138/213] Compiling ArgumentParser CompletionKind.swift
[139/213] Compiling ArgumentParser Errors.swift
[140/213] Compiling ArgumentParser Flag.swift
[141/213] Compiling ArgumentParser NameSpecification.swift
[142/213] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
 34 | #else
 35 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 36 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 37 |     let shellParts = String(cString: shellVar).split(separator: "/")
 38 |     return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
 54 |   /// The code for successful exit.
 55 |   static var exitCodeSuccess: Int32 {
 56 |     EXIT_SUCCESS
    |     `- error: cannot find 'EXIT_SUCCESS' in scope
 57 |   }
 58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
 59 |   /// The code for exit with a general failure.
 60 |   static var exitCodeFailure: Int32 {
 61 |     EXIT_FAILURE
    |     `- error: cannot find 'EXIT_FAILURE' in scope
 62 |   }
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
 69 |     return EXIT_FAILURE
 70 | #else
 71 |     return EX_USAGE
    |            `- error: cannot find 'EX_USAGE' in scope
 72 | #endif
 73 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                 `- error: cannot find 'putc' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                         `- error: cannot find 'stderr' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                      `- error: generic parameter 'U' could not be inferred
102 |     }
103 |   }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 |             height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 |     var w = winsize()
    |             `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 |     // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |               `- error: cannot find 'ioctl' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                    `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
[143/213] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
 34 | #else
 35 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 36 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 37 |     let shellParts = String(cString: shellVar).split(separator: "/")
 38 |     return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
 54 |   /// The code for successful exit.
 55 |   static var exitCodeSuccess: Int32 {
 56 |     EXIT_SUCCESS
    |     `- error: cannot find 'EXIT_SUCCESS' in scope
 57 |   }
 58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
 59 |   /// The code for exit with a general failure.
 60 |   static var exitCodeFailure: Int32 {
 61 |     EXIT_FAILURE
    |     `- error: cannot find 'EXIT_FAILURE' in scope
 62 |   }
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
 69 |     return EXIT_FAILURE
 70 | #else
 71 |     return EX_USAGE
    |            `- error: cannot find 'EX_USAGE' in scope
 72 | #endif
 73 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                 `- error: cannot find 'putc' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                         `- error: cannot find 'stderr' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                      `- error: generic parameter 'U' could not be inferred
102 |     }
103 |   }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 |             height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 |     var w = winsize()
    |             `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 |     // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |               `- error: cannot find 'ioctl' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                    `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
[144/213] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
 34 | #else
 35 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 36 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 37 |     let shellParts = String(cString: shellVar).split(separator: "/")
 38 |     return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
 54 |   /// The code for successful exit.
 55 |   static var exitCodeSuccess: Int32 {
 56 |     EXIT_SUCCESS
    |     `- error: cannot find 'EXIT_SUCCESS' in scope
 57 |   }
 58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
 59 |   /// The code for exit with a general failure.
 60 |   static var exitCodeFailure: Int32 {
 61 |     EXIT_FAILURE
    |     `- error: cannot find 'EXIT_FAILURE' in scope
 62 |   }
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
 69 |     return EXIT_FAILURE
 70 | #else
 71 |     return EX_USAGE
    |            `- error: cannot find 'EX_USAGE' in scope
 72 | #endif
 73 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                 `- error: cannot find 'putc' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                         `- error: cannot find 'stderr' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                      `- error: generic parameter 'U' could not be inferred
102 |     }
103 |   }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 |             height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 |     var w = winsize()
    |             `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 |     // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |               `- error: cannot find 'ioctl' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                    `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
[145/213] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
 34 | #else
 35 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 36 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 37 |     let shellParts = String(cString: shellVar).split(separator: "/")
 38 |     return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
 54 |   /// The code for successful exit.
 55 |   static var exitCodeSuccess: Int32 {
 56 |     EXIT_SUCCESS
    |     `- error: cannot find 'EXIT_SUCCESS' in scope
 57 |   }
 58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
 59 |   /// The code for exit with a general failure.
 60 |   static var exitCodeFailure: Int32 {
 61 |     EXIT_FAILURE
    |     `- error: cannot find 'EXIT_FAILURE' in scope
 62 |   }
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
 69 |     return EXIT_FAILURE
 70 | #else
 71 |     return EX_USAGE
    |            `- error: cannot find 'EX_USAGE' in scope
 72 | #endif
 73 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                 `- error: cannot find 'putc' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                         `- error: cannot find 'stderr' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                      `- error: generic parameter 'U' could not be inferred
102 |     }
103 |   }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 |             height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 |     var w = winsize()
    |             `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 |     // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |               `- error: cannot find 'ioctl' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                    `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
[146/213] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
 34 | #else
 35 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 36 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 37 |     let shellParts = String(cString: shellVar).split(separator: "/")
 38 |     return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
 54 |   /// The code for successful exit.
 55 |   static var exitCodeSuccess: Int32 {
 56 |     EXIT_SUCCESS
    |     `- error: cannot find 'EXIT_SUCCESS' in scope
 57 |   }
 58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
 59 |   /// The code for exit with a general failure.
 60 |   static var exitCodeFailure: Int32 {
 61 |     EXIT_FAILURE
    |     `- error: cannot find 'EXIT_FAILURE' in scope
 62 |   }
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
 69 |     return EXIT_FAILURE
 70 | #else
 71 |     return EX_USAGE
    |            `- error: cannot find 'EX_USAGE' in scope
 72 | #endif
 73 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                 `- error: cannot find 'putc' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                         `- error: cannot find 'stderr' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                      `- error: generic parameter 'U' could not be inferred
102 |     }
103 |   }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 |             height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 |     var w = winsize()
    |             `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 |     // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |               `- error: cannot find 'ioctl' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                    `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
[147/213] Compiling ArgumentParser Name.swift
[148/213] Compiling ArgumentParser Parsed.swift
[149/213] Compiling ArgumentParser ParsedValues.swift
[150/213] Compiling ArgumentParser ParserError.swift
[151/213] Compiling ArgumentParser SplitArguments.swift
[152/213] Emitting module TSCLibc
[153/213] Compiling TSCLibc libc.swift
[155/214] Compiling ArgumentParser BashCompletionsGenerator.swift
[156/214] Compiling ArgumentParser CompletionsGenerator.swift
[157/214] Compiling ArgumentParser FishCompletionsGenerator.swift
[158/214] Compiling ArgumentParser ZshCompletionsGenerator.swift
[159/214] Compiling ArgumentParser Argument.swift
[160/214] Compiling ArgumentParser ArgumentHelp.swift
[160/214] Wrapping AST for TSCLibc for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[162/254] Emitting module Yams
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[163/254] Compiling TSCBasic DiagnosticsEngine.swift
[164/254] Compiling TSCBasic DictionaryExtensions.swift
[165/254] Compiling TSCBasic DictionaryLiteralExtensions.swift
[166/254] Compiling TSCBasic EditDistance.swift
[167/254] Compiling TSCBasic FileInfo.swift
[168/254] Compiling TSCBasic CodableResult.swift
[169/254] Compiling TSCBasic CollectionAlgorithms.swift
[170/254] Compiling TSCBasic CollectionExtensions.swift
[171/254] Compiling TSCBasic Condition.swift
[172/254] Compiling TSCBasic DeltaAlgorithm.swift
[173/254] Compiling Yams YamlError.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[174/254] Compiling TSCBasic Await.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[175/254] Compiling TSCBasic Base64URL.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[176/254] Compiling TSCBasic ByteString.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[177/254] Compiling TSCBasic CStringArray.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
 17 | #else
 18 | import CoreFoundation
 19 | import Glibc
    |        `- error: no such module 'Glibc'
 20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
 21 | #endif
[184/254] Compiling llbuildSwift Internals.swift
BUILD FAILURE 6.3 android