The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-driver, reference main (7a96ff), with Swift 6.1 for Android on 29 May 2025 01:39:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.63.1
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.1
Building package at path:  $PWD
https://github.com/SDGGiesbrecht/swift-driver.git
https://github.com/SDGGiesbrecht/swift-driver.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++14",
  "dependencies" : [
    {
      "identity" : "swift-llbuild",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-llbuild.git"
    },
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "5.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.2",
            "upper_bound" : "1.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "swift-driver",
  "name" : "swift-driver",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "swift-driver",
      "targets" : [
        "swift-driver"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "swift-help",
      "targets" : [
        "swift-help"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "swift-build-sdk-interfaces",
      "targets" : [
        "swift-build-sdk-interfaces"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftDriver",
      "targets" : [
        "SwiftDriver"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftDriverDynamic",
      "targets" : [
        "SwiftDriver"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "SwiftOptions",
      "targets" : [
        "SwiftOptions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftDriverExecution",
      "targets" : [
        "SwiftDriverExecution"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "makeOptions",
      "targets" : [
        "makeOptions"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_help",
      "module_type" : "SwiftTarget",
      "name" : "swift-help",
      "path" : "Sources/swift-help",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftToolsSupport-auto"
      ],
      "product_memberships" : [
        "swift-help"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftOptions"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "swift_driver",
      "module_type" : "SwiftTarget",
      "name" : "swift-driver",
      "path" : "Sources/swift-driver",
      "product_memberships" : [
        "swift-driver"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftDriverExecution",
        "SwiftDriver"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "swift_build_sdk_interfaces",
      "module_type" : "SwiftTarget",
      "name" : "swift-build-sdk-interfaces",
      "path" : "Sources/swift-build-sdk-interfaces",
      "product_memberships" : [
        "swift-build-sdk-interfaces"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftDriver",
        "SwiftDriverExecution"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "makeOptions",
      "module_type" : "ClangTarget",
      "name" : "makeOptions",
      "path" : "Sources/makeOptions",
      "product_memberships" : [
        "makeOptions"
      ],
      "sources" : [
        "main.cpp",
        "makeOptions.cpp"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "TestUtilities",
      "module_type" : "SwiftTarget",
      "name" : "TestUtilities",
      "path" : "Tests/TestUtilities",
      "sources" : [
        "DriverExtensions.swift",
        "Fixture.swift",
        "OutputFileMapCreator.swift",
        "PathExtensions.swift",
        "TemporaryFileMatching.swift"
      ],
      "target_dependencies" : [
        "SwiftDriver",
        "SwiftDriverExecution"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftOptionsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftOptionsTests",
      "path" : "Tests/SwiftOptionsTests",
      "sources" : [
        "OptionParsingTests.swift",
        "PrefixTrieTests.swift"
      ],
      "target_dependencies" : [
        "SwiftOptions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftOptions",
      "module_type" : "SwiftTarget",
      "name" : "SwiftOptions",
      "path" : "Sources/SwiftOptions",
      "product_dependencies" : [
        "SwiftToolsSupport-auto"
      ],
      "product_memberships" : [
        "swift-driver",
        "swift-help",
        "swift-build-sdk-interfaces",
        "SwiftDriver",
        "SwiftDriverDynamic",
        "SwiftOptions",
        "SwiftDriverExecution"
      ],
      "sources" : [
        "DriverKind.swift",
        "Option.swift",
        "OptionParsing.swift",
        "OptionTable.swift",
        "Options.swift",
        "ParsedOptions.swift",
        "PrefixTrie.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftDriverTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDriverTests",
      "path" : "Tests/SwiftDriverTests",
      "sources" : [
        "APIDigesterTests.swift",
        "AssertDiagnosticsTests.swift",
        "CrossModuleIncrementalBuildTests.swift",
        "DependencyGraphSerializationTests.swift",
        "ExplicitModuleBuildTests.swift",
        "Helpers/AssertDiagnostics.swift",
        "Helpers/MockingIncrementalCompilation.swift",
        "Helpers/Permutations.swift",
        "IncrementalBuildPerformanceTests.swift",
        "IncrementalCompilationTests.swift",
        "Inputs/ExplicitModuleDependencyBuildInputs.swift",
        "Inputs/IncrementalCompilationInputs.swift",
        "IntegrationTests.swift",
        "JobExecutorTests.swift",
        "ModuleDependencyGraphTests.swift",
        "MultidictionaryTests.swift",
        "NonincrementalCompilationTests.swift",
        "ParsableMessageTests.swift",
        "PredictableRandomNumberGeneratorTests.swift",
        "StringAdditionsTests.swift",
        "SwiftDriverTests.swift",
        "SwiftDriverToolingInterfaceTests.swift",
        "TripleTests.swift",
        "TwoDMapTests.swift"
      ],
      "target_dependencies" : [
        "SwiftDriver",
        "SwiftDriverExecution",
        "TestUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftDriverExecution",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDriverExecution",
      "path" : "Sources/SwiftDriverExecution",
      "product_dependencies" : [
        "SwiftToolsSupport-auto",
        "llbuildSwift"
      ],
      "product_memberships" : [
        "swift-driver",
        "swift-build-sdk-interfaces",
        "SwiftDriverExecution"
      ],
      "sources" : [
        "MultiJobExecutor.swift",
        "SwiftDriverExecutor.swift",
        "llbuild.swift"
      ],
      "target_dependencies" : [
        "SwiftDriver"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftDriver",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDriver",
      "path" : "Sources/SwiftDriver",
      "product_dependencies" : [
        "SwiftToolsSupport-auto",
        "Yams"
      ],
      "product_memberships" : [
        "swift-driver",
        "swift-build-sdk-interfaces",
        "SwiftDriver",
        "SwiftDriverDynamic",
        "SwiftDriverExecution"
      ],
      "sources" : [
        "Driver/CompilerMode.swift",
        "Driver/DebugInfo.swift",
        "Driver/Driver.swift",
        "Driver/DriverVersion.swift",
        "Driver/LinkKind.swift",
        "Driver/ModuleOutputInfo.swift",
        "Driver/OutputFileMap.swift",
        "Driver/ToolExecutionDelegate.swift",
        "Driver/WindowsExtensions.swift",
        "Execution/ArgsResolver.swift",
        "Execution/DriverExecutor.swift",
        "Execution/ParsableOutput.swift",
        "Execution/ProcessProtocol.swift",
        "ExplicitModuleBuilds/ClangVersionedDependencyResolution.swift",
        "ExplicitModuleBuilds/ExplicitDependencyBuildPlanner.swift",
        "ExplicitModuleBuilds/InterModuleDependencies/CommonDependencyOperations.swift",
        "ExplicitModuleBuilds/InterModuleDependencies/InterModuleDependencyGraph.swift",
        "ExplicitModuleBuilds/InterModuleDependencies/InterModuleDependencyOracle.swift",
        "ExplicitModuleBuilds/ModuleDependencyScanning.swift",
        "ExplicitModuleBuilds/SerializableModuleArtifacts.swift",
        "IncrementalCompilation/Bitcode/Bitcode.swift",
        "IncrementalCompilation/Bitcode/BitcodeElement.swift",
        "IncrementalCompilation/Bitcode/Bits.swift",
        "IncrementalCompilation/Bitcode/Bitstream.swift",
        "IncrementalCompilation/Bitcode/BitstreamReader.swift",
        "IncrementalCompilation/Bitcode/BitstreamVisitor.swift",
        "IncrementalCompilation/Bitcode/BitstreamWriter.swift",
        "IncrementalCompilation/Bitcode/BlockInfo.swift",
        "IncrementalCompilation/BuildRecord.swift",
        "IncrementalCompilation/BuildRecordInfo.swift",
        "IncrementalCompilation/DependencyGraphDotFileWriter.swift",
        "IncrementalCompilation/DependencyKey.swift",
        "IncrementalCompilation/DirectAndTransitiveCollections.swift",
        "IncrementalCompilation/ExternalDependencyAndFingerprintEnforcer.swift",
        "IncrementalCompilation/FirstWaveComputer.swift",
        "IncrementalCompilation/IncrementalCompilationProtectedState.swift",
        "IncrementalCompilation/IncrementalCompilationState+Extensions.swift",
        "IncrementalCompilation/IncrementalCompilationState.swift",
        "IncrementalCompilation/IncrementalCompilationSynchronizer.swift",
        "IncrementalCompilation/IncrementalDependencyAndInputSetup.swift",
        "IncrementalCompilation/InputInfo.swift",
        "IncrementalCompilation/KeyAndFingerprintHolder.swift",
        "IncrementalCompilation/ModuleDependencyGraph.swift",
        "IncrementalCompilation/ModuleDependencyGraphParts/DependencySource.swift",
        "IncrementalCompilation/ModuleDependencyGraphParts/Integrator.swift",
        "IncrementalCompilation/ModuleDependencyGraphParts/InternedStrings.swift",
        "IncrementalCompilation/ModuleDependencyGraphParts/Node.swift",
        "IncrementalCompilation/ModuleDependencyGraphParts/NodeFinder.swift",
        "IncrementalCompilation/ModuleDependencyGraphParts/Tracer.swift",
        "IncrementalCompilation/Multidictionary.swift",
        "IncrementalCompilation/SourceFileDependencyGraph.swift",
        "IncrementalCompilation/SwiftSourceFile.swift",
        "IncrementalCompilation/TwoDMap.swift",
        "IncrementalCompilation/TwoLevelMap.swift",
        "Jobs/APIDigesterJobs.swift",
        "Jobs/AutolinkExtractJob.swift",
        "Jobs/BackendJob.swift",
        "Jobs/CommandLineArguments.swift",
        "Jobs/CompileJob.swift",
        "Jobs/DarwinToolchain+LinkerSupport.swift",
        "Jobs/EmitModuleJob.swift",
        "Jobs/EmitSupportedFeaturesJob.swift",
        "Jobs/FrontendJobHelpers.swift",
        "Jobs/GenerateDSYMJob.swift",
        "Jobs/GeneratePCHJob.swift",
        "Jobs/GeneratePCMJob.swift",
        "Jobs/GenericUnixToolchain+LinkerSupport.swift",
        "Jobs/InterpretJob.swift",
        "Jobs/Job.swift",
        "Jobs/LinkJob.swift",
        "Jobs/MergeModuleJob.swift",
        "Jobs/ModuleWrapJob.swift",
        "Jobs/Planning.swift",
        "Jobs/PrebuiltModulesJob.swift",
        "Jobs/PrintTargetInfoJob.swift",
        "Jobs/ReplJob.swift",
        "Jobs/SwiftHelpIntroJob.swift",
        "Jobs/Toolchain+InterpreterSupport.swift",
        "Jobs/Toolchain+LinkerSupport.swift",
        "Jobs/VerifyDebugInfoJob.swift",
        "Jobs/VerifyModuleInterfaceJob.swift",
        "Jobs/WebAssemblyToolchain+LinkerSupport.swift",
        "Jobs/WindowsToolchain+LinkerSupport.swift",
        "SwiftScan/DependencyGraphBuilder.swift",
        "SwiftScan/Loader.swift",
        "SwiftScan/SwiftScan.swift",
        "Toolchains/DarwinToolchain.swift",
        "Toolchains/GenericUnixToolchain.swift",
        "Toolchains/Toolchain.swift",
        "Toolchains/WebAssemblyToolchain.swift",
        "Toolchains/WindowsToolchain.swift",
        "ToolingInterface/SimpleExecutor.swift",
        "ToolingInterface/ToolingUtil.swift",
        "Utilities/DOTJobGraphSerializer.swift",
        "Utilities/DOTModuleDependencyGraphSerializer.swift",
        "Utilities/DateAdditions.swift",
        "Utilities/Diagnostics.swift",
        "Utilities/FileList.swift",
        "Utilities/FileType.swift",
        "Utilities/PredictableRandomNumberGenerator.swift",
        "Utilities/RelativePathAdditions.swift",
        "Utilities/Sanitizer.swift",
        "Utilities/StringAdditions.swift",
        "Utilities/System.swift",
        "Utilities/Triple+Platforms.swift",
        "Utilities/Triple.swift",
        "Utilities/TypedVirtualPath.swift",
        "Utilities/Version.swift",
        "Utilities/VirtualPath.swift"
      ],
      "target_dependencies" : [
        "SwiftOptions",
        "CSwiftScan"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IncrementalTestFramework",
      "module_type" : "SwiftTarget",
      "name" : "IncrementalTestFramework",
      "path" : "Tests/IncrementalTestFramework",
      "sources" : [
        "AddOn.swift",
        "CompiledSourceCollector.swift",
        "Context.swift",
        "Expectation.swift",
        "ExpectedCompilations.swift",
        "ExpectedProcessResult.swift",
        "IncrementalTest.swift",
        "Module.swift",
        "Source.swift",
        "Step.swift"
      ],
      "target_dependencies" : [
        "SwiftDriver",
        "SwiftOptions",
        "TestUtilities"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IncrementalImportTests",
      "module_type" : "SwiftTarget",
      "name" : "IncrementalImportTests",
      "path" : "Tests/IncrementalImportTests",
      "product_dependencies" : [
        "SwiftToolsSupport-auto"
      ],
      "sources" : [
        "AddFuncInImportedExtensionTest.swift",
        "Antisymmetry.swift",
        "HideAndShowFuncInStructAndExtensionTest.swift",
        "RenameMemberOfImportedStructTest.swift",
        "SpecificFuncAdditionInExtensionWithinModuleTest.swift",
        "Transitivity.swift"
      ],
      "target_dependencies" : [
        "IncrementalTestFramework",
        "TestUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CSwiftScan",
      "module_type" : "ClangTarget",
      "name" : "CSwiftScan",
      "path" : "Sources/CSwiftScan",
      "product_memberships" : [
        "swift-driver",
        "swift-build-sdk-interfaces",
        "SwiftDriver",
        "SwiftDriverDynamic",
        "SwiftDriverExecution"
      ],
      "sources" : [
        "CSwiftScanImpl.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-llbuild.git
[1/28991] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (3.84s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6764] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.66s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/110] Fetching swift-toolchain-sqlite
[20/10767] Fetching swift-toolchain-sqlite, yams
[980/26118] Fetching swift-toolchain-sqlite, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.60s)
[7890/10767] Fetching swift-toolchain-sqlite, yams
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (2.36s)
Fetched https://github.com/jpsim/Yams.git from cache (2.42s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (3.40s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.3 (0.81s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.93s)
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at main (0b0d140)
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/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.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 (7436264)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/142] Write sources
[4/142] Compiling makeOptions main.cpp
[5/142] Compiling llvmSupport Valgrind.cpp
[6/142] Compiling llvmSupport UnicodeCaseFold.cpp
[7/142] Compiling llvmSupport circular_raw_ostream.cpp
[8/142] Compiling llvmSupport Twine.cpp
[9/142] Compiling llvmSupport Unicode.cpp
[10/142] Write swift-version-24593BA9C3E375BF.txt
/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.
[11/142] Compiling makeOptions makeOptions.cpp
[12/142] Write Objects.LinkFileList
[13/142] Compiling llvmSupport raw_ostream.cpp
[14/142] Compiling llvmSupport Triple.cpp
[15/142] Linking makeOptions
[16/142] Compiling llvmSupport YAMLParser.cpp
[17/142] Compiling llvmSupport Threading.cpp
[18/142] Compiling llvmSupport StringSaver.cpp
[19/142] Compiling llvmSupport TargetParser.cpp
[20/142] Compiling llvmSupport StringMap.cpp
[21/142] Compiling llvmSupport StringRef.cpp
[22/142] Compiling llvmSupport StringExtras.cpp
[23/142] Compiling llvmSupport SmallVector.cpp
[24/142] Compiling llvmSupport SmallPtrSet.cpp
[25/142] Compiling llvmSupport SourceMgr.cpp
[26/142] Compiling llvmSupport Program.cpp
[27/142] Compiling llvmSupport NativeFormatting.cpp
[28/142] Compiling llvmSupport Signals.cpp
[29/142] Compiling llvmSupport Options.cpp
[30/142] Compiling llvmSupport Mutex.cpp
[31/142] Compiling llvmSupport Process.cpp
[32/142] Compiling llvmSupport MathExtras.cpp
[33/142] Compiling llvmSupport Path.cpp
[34/142] Compiling llvmSupport Memory.cpp
[35/142] Compiling llvmSupport ManagedStatic.cpp
[36/142] Compiling llvmSupport Locale.cpp
[37/142] Compiling llvmSupport FormatVariadic.cpp
[38/142] Compiling llvmSupport MemoryBuffer.cpp
[39/142] Compiling llvmSupport Hashing.cpp
[40/142] Compiling llvmSupport MD5.cpp
[41/142] Compiling llvmSupport FoldingSet.cpp
[42/142] Compiling llvmSupport DJB.cpp
[43/142] Compiling llvmSupport Host.cpp
[44/142] Compiling llvmSupport FileUtilities.cpp
[45/142] Compiling llvmSupport Errno.cpp
[46/142] Compiling llvmSupport ErrorHandling.cpp
[47/142] Compiling llvmSupport Atomic.cpp
[48/142] Compiling llvmSupport Debug.cpp
[49/142] Compiling llvmSupport ConvertUTF.cpp
[50/142] Compiling llvmSupport Error.cpp
[51/142] Compiling llvmSupport ConvertUTFWrapper.cpp
[52/142] Compiling llvmSupport Chrono.cpp
[53/142] Write sources
[54/142] Compiling llvmDemangle MicrosoftDemangle.cpp
[55/142] Compiling llvmSupport APInt.cpp
[56/142] Compiling llvmSupport Allocator.cpp
[57/142] Compiling llvmSupport APSInt.cpp
[58/142] Compiling llbuildNinja Parser.cpp
[59/142] Compiling llvmDemangle ItaniumDemangle.cpp
[60/142] Compiling llvmSupport APFloat.cpp
[61/142] Compiling llbuildNinja Lexer.cpp
[62/142] Compiling llvmSupport CommandLine.cpp
[63/142] Compiling llbuildCore MakefileDepsParser.cpp
[64/142] Compiling llbuildCore SQLiteBuildDB.cpp
[65/142] Compiling llbuildCore DependencyInfoParser.cpp
[66/142] Compiling llbuildNinja Manifest.cpp
[67/142] Compiling llbuildNinja ManifestLoader.cpp
[68/142] Compiling llbuildCore BuildDB.cpp
[69/142] Compiling llbuildCore BuildEngineTrace.cpp
[70/142] Compiling llbuildBuildSystem BuildValue.cpp
[71/142] Compiling llbuildBuildSystem BuildSystemFrontend.cpp
[72/142] Compiling llbuildBuildSystem BuildNode.cpp
[73/142] Compiling llbuildBuildSystem ExternalCommand.cpp
[74/142] Compiling llbuildBuildSystem BuildSystemExtensionManager.cpp
[75/142] Compiling llbuildBuildSystem ShellCommand.cpp
[76/142] Compiling llbuildBuildSystem BuildKey.cpp
[77/142] Compiling llbuildCore BuildEngine.cpp
[78/142] Compiling llbuildBasic Version.cpp
[79/142] Compiling llbuildBasic Tracing.cpp
[80/142] Compiling llbuildBasic ShellUtility.cpp
[81/142] Compiling llbuildBuildSystem BuildDescription.cpp
[82/142] Compiling llbuildBasic Subprocess.cpp
[83/142] Compiling llbuildBasic Hashing.cpp
[84/142] Compiling llbuildBasic PlatformUtility.cpp
[85/142] Compiling llbuildBuildSystem BuildFile.cpp
[86/142] Compiling llbuildBasic ExecutionQueue.cpp
[87/142] Compiling llbuildBasic SerialQueue.cpp
[88/142] Compiling libllbuild Core-C-API.cpp
[89/142] Compiling llbuildBasic LaneBasedExecutionQueue.cpp
[90/142] Compiling llbuildBasic FileSystem.cpp
[91/142] Compiling libllbuild C-API.cpp
[92/142] Write sources
[94/142] Compiling TSCclibc strerror.c
[95/142] Compiling TSCclibc process.c
[96/142] Compiling TSCclibc libc.c
[96/142] Write sources
[100/142] Compiling llbuildBasic FileInfo.cpp
[101/144] Compiling libllbuild BuildValue-C-API.cpp
[102/144] Write sources
[106/144] Compiling writer.c
[107/144] Compiling libllbuild Ninja-C-API.cpp
[108/144] Compiling reader.c
[109/144] Compiling parser.c
[110/144] Compiling scanner.c
[111/144] Compiling api.c
[112/144] Compiling emitter.c
[113/144] Write sources
[115/144] Compiling CSwiftScan CSwiftScanImpl.c
[116/161] Compiling libllbuild BuildKey-C-API.cpp
[116/161] Compiling libllbuild BuildSystem-C-API.cpp
[118/161] Compiling libllbuild BuildDB-C-API.cpp
[119/169] Compiling llbuildBuildSystem BuildSystem.cpp
[120/169] Compiling SwiftToolchainCSQLite sqlite3.c
[122/169] Emitting module llbuildSwift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[123/169] 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
[124/170] Compiling ArgumentParserToolInfo ToolInfo.swift
[125/170] Emitting module ArgumentParserToolInfo
[127/171] 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
[128/171] 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
[129/171] 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
[130/171] 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
[130/171] Wrapping AST for ArgumentParserToolInfo for debugging
[132/208] Compiling ArgumentParser Option.swift
[133/208] Compiling ArgumentParser OptionGroup.swift
[134/208] Compiling ArgumentParser AsyncParsableCommand.swift
[135/208] Compiling ArgumentParser CommandConfiguration.swift
[136/208] Compiling ArgumentParser EnumerableFlag.swift
[137/213] Emitting module ArgumentParser
[138/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)
[139/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)
[140/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)
[141/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)
[142/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)
[143/213] Compiling ArgumentParser ArgumentVisibility.swift
[144/213] Compiling ArgumentParser CompletionKind.swift
[145/213] Compiling ArgumentParser Errors.swift
[146/213] Compiling ArgumentParser Flag.swift
[147/213] Compiling ArgumentParser NameSpecification.swift
[148/213] Compiling ArgumentParser BashCompletionsGenerator.swift
[149/213] Compiling ArgumentParser CompletionsGenerator.swift
[150/213] Compiling ArgumentParser FishCompletionsGenerator.swift
[151/213] Compiling ArgumentParser ZshCompletionsGenerator.swift
[152/213] Compiling ArgumentParser Argument.swift
[153/213] Compiling ArgumentParser ArgumentHelp.swift
[154/213] Compiling ArgumentParser ExpressibleByArgument.swift
[155/213] Compiling ArgumentParser ParsableArguments.swift
[156/213] Compiling ArgumentParser ParsableArgumentsValidation.swift
[157/213] Compiling ArgumentParser ParsableCommand.swift
[158/213] Compiling ArgumentParser ArgumentDecoder.swift
[159/213] Compiling ArgumentParser ArgumentDefinition.swift
[160/213] Compiling ArgumentParser ArgumentSet.swift
[161/213] Compiling ArgumentParser CommandParser.swift
[162/213] Compiling ArgumentParser InputKey.swift
[163/213] Compiling ArgumentParser InputOrigin.swift
[164/213] Compiling TSCLibc libc.swift
[165/213] Emitting module TSCLibc
[166/214] Wrapping AST for TSCLibc for debugging
[168/214] Compiling llbuildSwift BuildKey.swift
[169/214] Compiling llbuildSwift BuildSystemBindings.swift
[170/214] Compiling llbuildSwift Internals.swift
[171/214] Compiling llbuildSwift NinjaManifest.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
[174/214] Compiling llbuildSwift CoreBindings.swift
[175/214] Compiling llbuildSwift BuildDBBindings.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
[180/216] 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
[181/254] Compiling TSCBasic ProcessEnv.swift
[182/254] Compiling TSCBasic ProcessSet.swift
[183/254] Compiling TSCBasic RegEx.swift
[184/254] Compiling TSCBasic OSLog.swift
[185/254] Compiling TSCBasic ObjectIdentifierProtocol.swift
[186/254] Compiling TSCBasic OrderedDictionary.swift
[187/254] Compiling TSCBasic OrderedSet.swift
[188/254] Compiling TSCBasic Path.swift
[189/254] Compiling TSCBasic Result.swift
[190/254] Compiling TSCBasic SortedArray.swift
[191/254] Compiling TSCBasic DeltaAlgorithm.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
[192/254] Compiling TSCBasic DiagnosticsEngine.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
[193/254] Compiling TSCBasic CollectionExtensions.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
[194/254] Compiling TSCBasic Condition.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
[195/254] Compiling llbuildSwift BuildValue.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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 GenerateManual
Building for debugging...
[1/24] Linking makeOptions
[2/24] Write swift-version-24593BA9C3E375BF.txt
[4/51] Emitting module TSCLibc
[5/51] Compiling TSCLibc libc.swift
[7/52] Compiling Yams String+Yams.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
[8/52] Compiling Yams Tag.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
[9/52] Compiling Yams Representer.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
[10/52] Compiling Yams Resolver.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
[11/92] 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
[12/92] 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
[13/92] Emitting module llbuildSwift
[14/92] 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
[15/92] Compiling TSCBasic CacheableSequence.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
[16/92] Compiling TSCBasic Closable.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
[17/92] Compiling TSCBasic EditDistance.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
[18/92] Compiling TSCBasic FileInfo.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
[19/92] Compiling TSCBasic DictionaryExtensions.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
[20/92] Compiling TSCBasic DictionaryLiteralExtensions.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/92] 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
[22/92] 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
[23/92] 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
[24/92] Compiling llbuildSwift Internals.swift
[25/92] Compiling llbuildSwift BuildValue.swift
[26/92] Compiling llbuildSwift NinjaManifest.swift
[27/92] Compiling llbuildSwift CoreBindings.swift
[28/92] Compiling ArgumentParserToolInfo ToolInfo.swift
[29/92] Emitting module ArgumentParserToolInfo
[31/93] Compiling llbuildSwift BuildKey.swift
[32/93] Compiling llbuildSwift BuildDBBindings.swift
BUILD FAILURE 6.1 android