The Swift Package Index logo.Swift Package Index

Build Information

Failed to build why-foundation, reference main (02f991), with Swift 6.3 for Android on 25 Oct 2026 12:40:57 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/niktishakov/why-foundation.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/niktishakov/why-foundation
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 02f9917 Report privacy-manifest-only targets separately and skip targets outside library products
Cloned https://github.com/niktishakov/why-foundation.git
Revision (git rev-parse @):
02f99173b555fb4593974da4ae583d6506585ec9
SUCCESS checkout https://github.com/niktishakov/why-foundation.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/niktishakov/why-foundation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:1259d966e40d034d138a282ea8b980b108763342a7ff8ac7ef483c73e99068f3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax
[1/19306] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.94s)
[1/81083] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.55s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (5.57s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3.2-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3.2-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.20s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/40] Write sources
[19/40] Compiling _SwiftSyntaxCShims PlatformMutex.c
[20/40] Write swift-version-272D24FF697CF451.txt
[22/52] Emitting module SwiftSyntax509
[23/52] Emitting module SwiftSyntax600
[24/52] Compiling SwiftSyntax600 Empty.swift
[25/53] Compiling SwiftSyntax602 Empty.swift
[26/53] Emitting module SwiftSyntax602
[29/54] Emitting module SwiftSyntax601
[30/54] Compiling SwiftSyntax601 Empty.swift
[30/55] Wrapping AST for SwiftSyntax602 for debugging
[31/55] Wrapping AST for SwiftSyntax600 for debugging
[33/55] Wrapping AST for SwiftSyntax601 for debugging
[35/55] Compiling SwiftSyntax509 Empty.swift
[36/56] Emitting module ArgumentParserToolInfo
[37/56] Compiling ArgumentParserToolInfo ToolInfo.swift
[39/57] Emitting module SwiftSyntax510
[40/57] Compiling SwiftSyntax510 Empty.swift
[42/58] Wrapping AST for SwiftSyntax509 for debugging
[43/58] Wrapping AST for ArgumentParserToolInfo for debugging
[44/58] Wrapping AST for SwiftSyntax510 for debugging
[46/168] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[47/168] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[48/168] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[49/168] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[50/168] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[51/168] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[52/168] Compiling SwiftSyntax RawSyntaxValidation.swift
[53/174] Compiling SwiftSyntax SourceLength.swift
[54/174] Compiling SwiftSyntax SourceLocation.swift
[55/174] Compiling ArgumentParser AsyncCompletionsValidator.swift
[56/174] Compiling ArgumentParser CodingKeyValidator.swift
[57/174] Compiling ArgumentParser NonsenseFlagsValidator.swift
[58/174] Compiling ArgumentParser ParsableArgumentsValidation.swift
[59/174] Compiling ArgumentParser PositionalArgumentsValidator.swift
[60/174] Compiling ArgumentParser UniqueNamesValidator.swift
[61/174] Compiling SwiftSyntax SyntaxIdentifier.swift
[62/174] Compiling SwiftSyntax Identifier.swift
[63/174] Compiling SwiftSyntax MemoryLayout.swift
[64/174] Compiling SwiftSyntax MissingNodeInitializers.swift
[65/174] Compiling SwiftSyntax RawSyntax.swift
[66/174] Compiling SwiftSyntax RawSyntaxArena.swift
[67/174] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[68/174] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[69/174] Compiling SwiftSyntax RawSyntaxTokenView.swift
[70/174] Compiling SwiftSyntax SourceEdit.swift
[77/182] Compiling SwiftSyntax SyntaxNodesAB.swift
[78/182] Compiling SwiftSyntax SyntaxNodeStructure.swift
[79/182] Compiling SwiftSyntax SyntaxProtocol.swift
[80/182] Compiling SwiftSyntax SyntaxText.swift
[81/182] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[82/182] Compiling SwiftSyntax TokenDiagnostic.swift
[83/182] Compiling SwiftSyntax TokenSequence.swift
[84/182] Compiling SwiftSyntax TokenSyntax.swift
[85/182] Compiling SwiftSyntax Trivia.swift
[86/182] Compiling SwiftSyntax Utils.swift
[87/182] Compiling SwiftSyntax SyntaxRewriter.swift
[88/182] Compiling SwiftSyntax SyntaxTraits.swift
[89/182] Compiling SwiftSyntax SyntaxVisitor.swift
[90/182] Emitting module ArgumentParser
[91/182] Compiling SwiftSyntax Keyword.swift
[92/182] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[93/182] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[94/182] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[95/182] Compiling SwiftSyntax SyntaxBaseNodes.swift
[96/182] Compiling SwiftSyntax SyntaxCollections.swift
[97/182] Compiling SwiftSyntax SyntaxEnum.swift
[98/182] Compiling SwiftSyntax TokenKind.swift
[99/182] Compiling SwiftSyntax Tokens.swift
[100/182] Compiling SwiftSyntax TriviaPieces.swift
[101/182] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[102/182] Compiling SwiftSyntax RawSyntaxNodesC.swift
[103/182] Compiling SwiftSyntax RawSyntaxNodesD.swift
[104/182] Compiling SwiftSyntax ChildNameForKeyPath.swift
[105/182] Compiling SwiftSyntax SyntaxKind.swift
[106/182] Compiling SwiftSyntax AbsolutePosition.swift
[107/182] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[108/182] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[109/182] Compiling SwiftSyntax Assert.swift
[110/182] Compiling SwiftSyntax BumpPtrAllocator.swift
[111/182] Compiling SwiftSyntax CommonAncestor.swift
[112/182] Compiling SwiftSyntax Convenience.swift
[113/182] Compiling SwiftSyntax CustomTraits.swift
[114/182] Compiling SwiftSyntax EditorPlaceholder.swift
[117/183] Wrapping AST for ArgumentParser for debugging
[119/183] Emitting module SwiftSyntax
[164/183] Compiling SwiftSyntax SyntaxNodesC.swift
[165/183] Compiling SwiftSyntax SyntaxNodesD.swift
[166/183] Compiling SwiftSyntax SyntaxNodesEF.swift
[167/183] Compiling SwiftSyntax SyntaxNodesGHI.swift
[168/183] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[169/183] Compiling SwiftSyntax SyntaxNodesOP.swift
[170/183] Compiling SwiftSyntax SyntaxNodesQRS.swift
[171/183] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[172/199] Wrapping AST for SwiftSyntax for debugging
[174/243] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[175/244] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[176/244] Compiling SwiftBasicFormat Syntax+Extensions.swift
[177/244] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[178/244] Compiling SwiftDiagnostics Note.swift
[179/244] Compiling SwiftDiagnostics Message.swift
[180/244] Compiling SwiftDiagnostics FixIt.swift
[181/244] Emitting module SwiftBasicFormat
[182/244] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[183/244] Compiling SwiftParser Expressions.swift
[184/244] Compiling SwiftParser IncrementalParseTransition.swift
[185/244] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[186/244] Emitting module SwiftDiagnostics
[187/244] Compiling SwiftParser Directives.swift
[188/244] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[189/245] Wrapping AST for SwiftDiagnostics for debugging
[191/245] Compiling SwiftParser Lexeme.swift
[192/245] Compiling SwiftParser LexemeSequence.swift
[193/245] Compiling SwiftParser Lexer.swift
[194/245] Compiling SwiftParser RegexLiteralLexer.swift
[195/245] Compiling SwiftParser UnicodeScalarExtensions.swift
[196/245] Compiling SwiftParser Lookahead.swift
[197/250] Compiling SwiftBasicFormat Indenter.swift
[198/250] Compiling SwiftBasicFormat InferIndentation.swift
[199/250] Compiling SwiftBasicFormat BasicFormat.swift
[200/251] Wrapping AST for SwiftBasicFormat for debugging
[202/251] Emitting module SwiftParser
[207/251] Compiling SwiftParser IsValidIdentifier.swift
[208/251] Compiling SwiftParser Cursor.swift
[209/251] Compiling SwiftParser Attributes.swift
[210/251] Compiling SwiftParser Availability.swift
[211/251] Compiling SwiftParser CharacterInfo.swift
[212/251] Compiling SwiftParser CollectionNodes+Parsable.swift
[213/251] Compiling SwiftParser CompilerFiles.swift
[214/251] Compiling SwiftParser Declarations.swift
[215/251] Compiling SwiftParser Parser.swift
[216/251] Compiling SwiftParser Patterns.swift
[217/251] Compiling SwiftParser Recovery.swift
[218/251] Compiling SwiftParser Specifiers.swift
[219/251] Compiling SwiftParser Statements.swift
[220/251] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[221/251] Compiling SwiftParser StringLiterals.swift
[222/251] Compiling SwiftParser SwiftParserCompatibility.swift
[223/251] Compiling SwiftParser SwiftVersion.swift
[224/251] Compiling SwiftParser SyntaxUtils.swift
[225/251] Compiling SwiftParser TokenConsumer.swift
[226/251] Compiling SwiftParser TokenPrecedence.swift
[227/251] Compiling SwiftParser TokenSpec.swift
[228/251] Compiling SwiftParser TokenSpecSet.swift
[229/251] Compiling SwiftParser TopLevel.swift
[230/251] Compiling SwiftParser TriviaParser.swift
[231/251] Compiling SwiftParser Types.swift
[232/251] Compiling SwiftParser LoopProgressCondition.swift
[233/251] Compiling SwiftParser Modifiers.swift
[234/251] Compiling SwiftParser Names.swift
[235/251] Compiling SwiftParser Nominals.swift
[236/251] Compiling SwiftParser Parameters.swift
[237/251] Compiling SwiftParser ParseSourceFile.swift
[238/251] Compiling SwiftParser ExperimentalFeatures.swift
[239/251] Compiling SwiftParser IsLexerClassified.swift
[240/251] Compiling SwiftParser LayoutNodes+Parsable.swift
[241/251] Compiling SwiftParser Parser+TokenSpecSet.swift
[242/251] Compiling SwiftParser TokenSpecStaticMembers.swift
[243/252] Wrapping AST for SwiftParser for debugging
[245/275] Compiling SwiftOperators Operator.swift
[246/275] Compiling SwiftOperators OperatorError+Diagnostics.swift
[247/276] Compiling SwiftOperators OperatorTable.swift
[248/276] Compiling SwiftOperators PrecedenceGroup.swift
[249/276] Compiling SwiftOperators PrecedenceGraph.swift
[250/276] Compiling SwiftOperators OperatorTable+Semantics.swift
[251/276] Compiling SwiftOperators SyntaxSynthesis.swift
[252/276] Emitting module SwiftOperators
[253/276] Compiling SwiftOperators OperatorError.swift
[254/276] Compiling SwiftOperators OperatorTable+Defaults.swift
[255/276] Compiling SwiftOperators OperatorTable+Folding.swift
[257/277] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[258/277] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[259/277] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[260/277] Compiling SwiftParserDiagnostics Utils.swift
[260/278] Wrapping AST for SwiftOperators for debugging
[262/278] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[267/278] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[268/278] Compiling SwiftParserDiagnostics PresenceUtils.swift
[269/278] Emitting module SwiftParserDiagnostics
[270/278] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[271/278] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[272/279] Wrapping AST for SwiftParserDiagnostics for debugging
[274/294] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[275/294] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[276/295] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[277/295] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[278/295] Emitting module SwiftSyntaxBuilder
[279/295] Compiling SwiftSyntaxBuilder Indenter.swift
[280/295] Compiling SwiftSyntaxBuilder ListBuilder.swift
[281/295] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[282/295] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[283/295] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[284/295] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[285/295] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[286/295] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[287/295] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[288/295] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[289/295] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[290/296] Wrapping AST for SwiftSyntaxBuilder for debugging
[292/310] Compiling SwiftIfConfig IfConfigFunctions.swift
[293/310] Compiling SwiftIfConfig IfConfigRegionState.swift
[294/311] Compiling SwiftIfConfig VersionTuple.swift
[295/311] Compiling SwiftIfConfig SyntaxLiteralUtils.swift
[296/311] Compiling SwiftIfConfig SyntaxProtocol+IfConfig.swift
[297/311] Compiling SwiftIfConfig VersionTuple+Parsing.swift
[298/311] Compiling SwiftIfConfig ActiveSyntaxVisitor.swift
[299/311] Compiling SwiftIfConfig BuildConfiguration.swift
[300/311] Compiling SwiftIfConfig ConfiguredRegions.swift
[301/311] Compiling SwiftIfConfig IfConfigDecl+IfConfig.swift
[302/311] Emitting module SwiftIfConfig
[303/311] Compiling SwiftIfConfig ActiveClauseEvaluator.swift
[304/311] Compiling SwiftIfConfig ActiveSyntaxRewriter.swift
[305/311] Compiling SwiftIfConfig IfConfigDiagnostic.swift
[306/311] Compiling SwiftIfConfig IfConfigEvaluation.swift
[307/312] Wrapping AST for SwiftIfConfig for debugging
[309/324] Compiling WhyFoundationCore SwiftVersion.swift
[310/324] Compiling WhyFoundationCore TargetPlatform.swift
[311/324] Compiling WhyFoundationCore TextReport.swift
[312/325] Compiling WhyFoundationCore MemberAPI.swift
[313/325] Compiling WhyFoundationCore OneLineFix.swift
[314/325] Compiling WhyFoundationCore PackageGraph.swift
[315/325] Compiling WhyFoundationCore SourceLocator.swift
[316/325] Compiling WhyFoundationCore Analyzer.swift
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:47:23: error: cannot find 'posix_spawn_file_actions_t' in scope
45 |         var actions: posix_spawn_file_actions_t? = nil
46 |         #else
47 |         var actions = posix_spawn_file_actions_t()
   |                       `- error: cannot find 'posix_spawn_file_actions_t' in scope
48 |         #endif
49 |         posix_spawn_file_actions_init(&actions)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:49:9: error: cannot find 'posix_spawn_file_actions_init' in scope
47 |         var actions = posix_spawn_file_actions_t()
48 |         #endif
49 |         posix_spawn_file_actions_init(&actions)
   |         `- error: cannot find 'posix_spawn_file_actions_init' in scope
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:50:17: error: cannot find 'posix_spawn_file_actions_destroy' in scope
48 |         #endif
49 |         posix_spawn_file_actions_init(&actions)
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
   |                 `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:51:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
49 |         posix_spawn_file_actions_init(&actions)
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
   |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:51:68: error: cannot find 'O_RDONLY' in scope
49 |         posix_spawn_file_actions_init(&actions)
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
   |                                                                    `- error: cannot find 'O_RDONLY' in scope
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:52:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
54 |
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:52:71: error: cannot find 'O_WRONLY' in scope
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |                                                                       `- error: cannot find 'O_WRONLY' in scope
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
54 |
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:52:82: error: cannot find 'O_CREAT' in scope
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |                                                                                  `- error: cannot find 'O_CREAT' in scope
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
54 |
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:52:92: error: cannot find 'O_TRUNC' in scope
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |                                                                                            `- error: cannot find 'O_TRUNC' in scope
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
54 |
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:53:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
54 |
55 |         let argv: [UnsafeMutablePointer<CChar>?] = (["/usr/bin/env"] + arguments).map { strdup($0) } + [nil]
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:53:70: error: cannot find 'O_WRONLY' in scope
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |                                                                      `- error: cannot find 'O_WRONLY' in scope
54 |
55 |         let argv: [UnsafeMutablePointer<CChar>?] = (["/usr/bin/env"] + arguments).map { strdup($0) } + [nil]
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:53:81: error: cannot find 'O_CREAT' in scope
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |                                                                                 `- error: cannot find 'O_CREAT' in scope
54 |
55 |         let argv: [UnsafeMutablePointer<CChar>?] = (["/usr/bin/env"] + arguments).map { strdup($0) } + [nil]
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:53:91: error: cannot find 'O_TRUNC' in scope
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |                                                                                           `- error: cannot find 'O_TRUNC' in scope
54 |
55 |         let argv: [UnsafeMutablePointer<CChar>?] = (["/usr/bin/env"] + arguments).map { strdup($0) } + [nil]
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:64:27: error: cannot find 'posix_spawn' in scope
62 |
63 |         var pid = pid_t()
64 |         let spawnResult = posix_spawn(&pid, "/usr/bin/env", &actions, nil, argv, envp)
   |                           `- error: cannot find 'posix_spawn' in scope
65 |         guard spawnResult == 0 else {
66 |             throw Error.spawnFailed(arguments.joined(separator: " "), spawnResult)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:64:71: error: 'nil' requires a contextual type
62 |
63 |         var pid = pid_t()
64 |         let spawnResult = posix_spawn(&pid, "/usr/bin/env", &actions, nil, argv, envp)
   |                                                                       `- error: 'nil' requires a contextual type
65 |         guard spawnResult == 0 else {
66 |             throw Error.spawnFailed(arguments.joined(separator: " "), spawnResult)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:70:15: error: cannot find 'waitpid' in scope
68 |
69 |         var status: Int32 = 0
70 |         while waitpid(pid, &status, 0) == -1 && errno == EINTR {}
   |               `- error: cannot find 'waitpid' in scope
71 |         // WIFEXITED / WEXITSTATUS, which aren't available as functions in Swift.
72 |         let exitCode: Int32 = (status & 0x7f) == 0 ? (status >> 8) & 0xff : 128 + (status & 0x7f)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:70:49: error: cannot find 'errno' in scope
68 |
69 |         var status: Int32 = 0
70 |         while waitpid(pid, &status, 0) == -1 && errno == EINTR {}
   |                                                 `- error: cannot find 'errno' in scope
71 |         // WIFEXITED / WEXITSTATUS, which aren't available as functions in Swift.
72 |         let exitCode: Int32 = (status & 0x7f) == 0 ? (status >> 8) & 0xff : 128 + (status & 0x7f)
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[317/325] Compiling WhyFoundationCore Command.swift
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:47:23: error: cannot find 'posix_spawn_file_actions_t' in scope
45 |         var actions: posix_spawn_file_actions_t? = nil
46 |         #else
47 |         var actions = posix_spawn_file_actions_t()
   |                       `- error: cannot find 'posix_spawn_file_actions_t' in scope
48 |         #endif
49 |         posix_spawn_file_actions_init(&actions)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:49:9: error: cannot find 'posix_spawn_file_actions_init' in scope
47 |         var actions = posix_spawn_file_actions_t()
48 |         #endif
49 |         posix_spawn_file_actions_init(&actions)
   |         `- error: cannot find 'posix_spawn_file_actions_init' in scope
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:50:17: error: cannot find 'posix_spawn_file_actions_destroy' in scope
48 |         #endif
49 |         posix_spawn_file_actions_init(&actions)
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
   |                 `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:51:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
49 |         posix_spawn_file_actions_init(&actions)
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
   |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:51:68: error: cannot find 'O_RDONLY' in scope
49 |         posix_spawn_file_actions_init(&actions)
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
   |                                                                    `- error: cannot find 'O_RDONLY' in scope
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:52:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
54 |
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:52:71: error: cannot find 'O_WRONLY' in scope
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |                                                                       `- error: cannot find 'O_WRONLY' in scope
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
54 |
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:52:82: error: cannot find 'O_CREAT' in scope
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |                                                                                  `- error: cannot find 'O_CREAT' in scope
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
54 |
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:52:92: error: cannot find 'O_TRUNC' in scope
50 |         defer { posix_spawn_file_actions_destroy(&actions) }
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |                                                                                            `- error: cannot find 'O_TRUNC' in scope
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
54 |
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:53:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
54 |
55 |         let argv: [UnsafeMutablePointer<CChar>?] = (["/usr/bin/env"] + arguments).map { strdup($0) } + [nil]
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:53:70: error: cannot find 'O_WRONLY' in scope
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |                                                                      `- error: cannot find 'O_WRONLY' in scope
54 |
55 |         let argv: [UnsafeMutablePointer<CChar>?] = (["/usr/bin/env"] + arguments).map { strdup($0) } + [nil]
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:53:81: error: cannot find 'O_CREAT' in scope
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |                                                                                 `- error: cannot find 'O_CREAT' in scope
54 |
55 |         let argv: [UnsafeMutablePointer<CChar>?] = (["/usr/bin/env"] + arguments).map { strdup($0) } + [nil]
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:53:91: error: cannot find 'O_TRUNC' in scope
51 |         posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0)
52 |         posix_spawn_file_actions_addopen(&actions, 1, outputURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
53 |         posix_spawn_file_actions_addopen(&actions, 2, errorURL.path, O_WRONLY | O_CREAT | O_TRUNC, 0o600)
   |                                                                                           `- error: cannot find 'O_TRUNC' in scope
54 |
55 |         let argv: [UnsafeMutablePointer<CChar>?] = (["/usr/bin/env"] + arguments).map { strdup($0) } + [nil]
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:64:27: error: cannot find 'posix_spawn' in scope
62 |
63 |         var pid = pid_t()
64 |         let spawnResult = posix_spawn(&pid, "/usr/bin/env", &actions, nil, argv, envp)
   |                           `- error: cannot find 'posix_spawn' in scope
65 |         guard spawnResult == 0 else {
66 |             throw Error.spawnFailed(arguments.joined(separator: " "), spawnResult)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:64:71: error: 'nil' requires a contextual type
62 |
63 |         var pid = pid_t()
64 |         let spawnResult = posix_spawn(&pid, "/usr/bin/env", &actions, nil, argv, envp)
   |                                                                       `- error: 'nil' requires a contextual type
65 |         guard spawnResult == 0 else {
66 |             throw Error.spawnFailed(arguments.joined(separator: " "), spawnResult)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:70:15: error: cannot find 'waitpid' in scope
68 |
69 |         var status: Int32 = 0
70 |         while waitpid(pid, &status, 0) == -1 && errno == EINTR {}
   |               `- error: cannot find 'waitpid' in scope
71 |         // WIFEXITED / WEXITSTATUS, which aren't available as functions in Swift.
72 |         let exitCode: Int32 = (status & 0x7f) == 0 ? (status >> 8) & 0xff : 128 + (status & 0x7f)
/host/spi-builder-workspace/Sources/WhyFoundationCore/Command.swift:70:49: error: cannot find 'errno' in scope
68 |
69 |         var status: Int32 = 0
70 |         while waitpid(pid, &status, 0) == -1 && errno == EINTR {}
   |                                                 `- error: cannot find 'errno' in scope
71 |         // WIFEXITED / WEXITSTATUS, which aren't available as functions in Swift.
72 |         let exitCode: Int32 = (status & 0x7f) == 0 ? (status >> 8) & 0xff : 128 + (status & 0x7f)
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[318/325] Compiling WhyFoundationCore ExitStatus.swift
[319/325] Compiling WhyFoundationCore ImportScanner.swift
[320/325] Emitting module WhyFoundationCore
[321/325] Compiling WhyFoundationCore XcodeProjectImporter.swift
BUILD FAILURE 6.3 android