Build Information
Failed to build why-foundation, reference main (02f991), with Swift 6.2 for Android on 25 Oct 2026 12:47:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build 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.2
Building package at path: $PWD
https://github.com/niktishakov/why-foundation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:9e4b64e17859f153444a8085b41803f96a8252f8f76139cd5e69e2540803aa5a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-argument-parser
[1/19306] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.75s)
[1/81083] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.34s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.29s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_noble_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_noble_x86_64.tar.gz (0.17s)
[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--11D90AFD9DD3AB2.txt
[22/52] Compiling SwiftSyntax510 Empty.swift
[23/52] Emitting module SwiftSyntax510
[24/53] Wrapping AST for SwiftSyntax510 for debugging
[26/53] Emitting module SwiftSyntax601
[27/53] Compiling SwiftSyntax601 Empty.swift
[28/54] Wrapping AST for SwiftSyntax601 for debugging
[30/54] Emitting module SwiftSyntax600
[31/54] Compiling SwiftSyntax600 Empty.swift
[32/55] Compiling SwiftSyntax509 Empty.swift
[33/55] Emitting module SwiftSyntax509
[35/56] Wrapping AST for SwiftSyntax600 for debugging
[36/56] Wrapping AST for SwiftSyntax509 for debugging
[38/56] Emitting module SwiftSyntax602
[39/56] Compiling SwiftSyntax602 Empty.swift
[40/57] Wrapping AST for SwiftSyntax602 for debugging
[42/71] Compiling ArgumentParserToolInfo ToolInfo.swift
[43/71] Emitting module ArgumentParserToolInfo
[44/121] Wrapping AST for ArgumentParserToolInfo for debugging
[46/168] Compiling SwiftSyntax SyntaxNodeStructure.swift
[47/168] Compiling SwiftSyntax SyntaxProtocol.swift
[48/168] Compiling SwiftSyntax SyntaxText.swift
[49/168] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[50/168] Compiling SwiftSyntax TokenDiagnostic.swift
[51/168] Compiling SwiftSyntax TokenSequence.swift
[52/168] Compiling SwiftSyntax TokenSyntax.swift
[53/168] Compiling SwiftSyntax Trivia.swift
[54/168] Compiling SwiftSyntax Utils.swift
[55/176] Emitting module ArgumentParser
[56/182] Compiling ArgumentParser BashCompletionsGenerator.swift
[57/182] Compiling ArgumentParser CompletionsGenerator.swift
[58/182] Compiling ArgumentParser FishCompletionsGenerator.swift
[59/182] Compiling ArgumentParser ZshCompletionsGenerator.swift
[60/182] Compiling ArgumentParser Argument.swift
[61/182] Compiling ArgumentParser ArgumentDiscussion.swift
[62/182] Compiling ArgumentParser ArgumentHelp.swift
[63/182] Compiling ArgumentParser ParentCommand.swift
[64/182] Compiling ArgumentParser AsyncParsableCommand.swift
[65/182] Compiling ArgumentParser AsyncCompletionsValidator.swift
[66/182] Compiling ArgumentParser CodingKeyValidator.swift
[67/182] Compiling ArgumentParser NonsenseFlagsValidator.swift
[68/182] Compiling ArgumentParser ParsableArgumentsValidation.swift
[69/182] Compiling ArgumentParser PositionalArgumentsValidator.swift
[70/182] Compiling ArgumentParser UniqueNamesValidator.swift
[73/182] Compiling ArgumentParser CommandConfiguration.swift
[74/182] Compiling ArgumentParser CommandGroup.swift
[75/182] Compiling ArgumentParser EnumerableFlag.swift
[76/182] Compiling ArgumentParser ExpressibleByArgument.swift
[77/182] Compiling ArgumentParser ParsableArguments.swift
[85/182] Compiling ArgumentParser ArgumentVisibility.swift
[86/182] Compiling ArgumentParser CompletionKind.swift
[87/182] Compiling ArgumentParser Errors.swift
[88/182] Compiling ArgumentParser Flag.swift
[89/182] Compiling ArgumentParser NameSpecification.swift
[90/182] Compiling ArgumentParser Option.swift
[91/182] Compiling ArgumentParser OptionGroup.swift
[92/182] Compiling ArgumentParser ParsableCommand.swift
[93/182] Compiling ArgumentParser ArgumentDecoder.swift
[94/182] Compiling ArgumentParser ArgumentDefinition.swift
[95/182] Compiling ArgumentParser ArgumentSet.swift
[96/182] Compiling ArgumentParser CommandParser.swift
[97/182] Compiling ArgumentParser InputKey.swift
[98/182] Compiling ArgumentParser InputOrigin.swift
[99/182] Compiling ArgumentParser Mutex.swift
[100/182] Compiling ArgumentParser Platform.swift
[101/182] Compiling ArgumentParser SequenceExtensions.swift
[102/182] Compiling ArgumentParser StringExtensions.swift
[103/182] Compiling ArgumentParser SwiftExtensions.swift
[104/182] Compiling ArgumentParser Tree.swift
[105/182] Compiling ArgumentParser HelpCommand.swift
[106/182] Compiling ArgumentParser HelpGenerator.swift
[107/182] Compiling ArgumentParser MessageInfo.swift
[108/182] Compiling ArgumentParser UsageGenerator.swift
[109/182] Compiling ArgumentParser CollectionExtensions.swift
[110/182] Compiling ArgumentParser Foundation.swift
[111/182] Compiling ArgumentParser Name.swift
[112/182] Compiling ArgumentParser Parsed.swift
[113/182] Compiling ArgumentParser ParsedValues.swift
[114/182] Compiling ArgumentParser ParserError.swift
[115/182] Compiling ArgumentParser SplitArguments.swift
[116/182] Compiling ArgumentParser DumpHelpGenerator.swift
[117/183] Wrapping AST for ArgumentParser for debugging
[119/183] Emitting module SwiftSyntax
[136/183] Compiling SwiftSyntax SyntaxNodesAB.swift
[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/201] Wrapping AST for SwiftSyntax for debugging
[174/243] Compiling SwiftDiagnostics Message.swift
[175/244] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[176/244] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[177/244] Compiling SwiftDiagnostics Note.swift
[178/244] Compiling SwiftBasicFormat Syntax+Extensions.swift
[179/244] Compiling SwiftBasicFormat InferIndentation.swift
[180/244] Compiling SwiftBasicFormat Indenter.swift
[181/244] Compiling SwiftDiagnostics FixIt.swift
[182/244] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[183/244] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[184/244] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[185/244] Emitting module SwiftDiagnostics
[186/244] Compiling SwiftParser Expressions.swift
[187/244] Compiling SwiftParser IncrementalParseTransition.swift
[188/244] Compiling SwiftParser Directives.swift
[189/244] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[190/245] Wrapping AST for SwiftDiagnostics for debugging
[192/245] Compiling SwiftParser LoopProgressCondition.swift
[193/245] Compiling SwiftParser Modifiers.swift
[194/245] Compiling SwiftParser Names.swift
[195/245] Compiling SwiftParser Nominals.swift
[196/245] Compiling SwiftParser Parameters.swift
[197/245] Compiling SwiftParser ParseSourceFile.swift
[198/250] Emitting module SwiftBasicFormat
[199/250] Compiling SwiftBasicFormat BasicFormat.swift
[200/251] Wrapping AST for SwiftBasicFormat for debugging
[202/251] Compiling SwiftParser Lexeme.swift
[203/251] Compiling SwiftParser LexemeSequence.swift
[204/251] Compiling SwiftParser Lexer.swift
[205/251] Compiling SwiftParser RegexLiteralLexer.swift
[206/251] Compiling SwiftParser UnicodeScalarExtensions.swift
[207/251] Compiling SwiftParser Lookahead.swift
[208/251] Emitting module SwiftParser
[209/251] Compiling SwiftParser StringLiterals.swift
[210/251] Compiling SwiftParser SwiftParserCompatibility.swift
[211/251] Compiling SwiftParser SwiftVersion.swift
[212/251] Compiling SwiftParser SyntaxUtils.swift
[213/251] Compiling SwiftParser TokenConsumer.swift
[214/251] Compiling SwiftParser TokenPrecedence.swift
[215/251] Compiling SwiftParser TokenSpec.swift
[216/251] Compiling SwiftParser TokenSpecSet.swift
[217/251] Compiling SwiftParser TopLevel.swift
[218/251] Compiling SwiftParser TriviaParser.swift
[219/251] Compiling SwiftParser Types.swift
[220/251] Compiling SwiftParser Parser.swift
[221/251] Compiling SwiftParser Patterns.swift
[222/251] Compiling SwiftParser Recovery.swift
[223/251] Compiling SwiftParser Specifiers.swift
[224/251] Compiling SwiftParser Statements.swift
[225/251] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[226/251] Compiling SwiftParser Attributes.swift
[227/251] Compiling SwiftParser Availability.swift
[228/251] Compiling SwiftParser CharacterInfo.swift
[229/251] Compiling SwiftParser CollectionNodes+Parsable.swift
[230/251] Compiling SwiftParser CompilerFiles.swift
[231/251] Compiling SwiftParser Declarations.swift
[236/251] Compiling SwiftParser IsValidIdentifier.swift
[237/251] Compiling SwiftParser Cursor.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 SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[246/275] Compiling SwiftOperators PrecedenceGroup.swift
[247/277] Compiling SwiftOperators PrecedenceGraph.swift
[248/277] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[249/277] Compiling SwiftOperators OperatorTable.swift
[250/277] Compiling SwiftOperators SyntaxSynthesis.swift
[251/277] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[252/277] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[253/277] Compiling SwiftOperators OperatorTable+Semantics.swift
[254/277] Compiling SwiftParserDiagnostics MissingNodesError.swift
[255/277] Compiling SwiftParserDiagnostics MissingTokenError.swift
[256/277] Compiling SwiftOperators OperatorTable+Folding.swift
[257/277] Emitting module SwiftOperators
[258/278] Emitting module SwiftParserDiagnostics
[259/278] Wrapping AST for SwiftOperators for debugging
[261/278] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[262/278] Compiling SwiftParserDiagnostics Utils.swift
[263/278] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[266/278] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[267/278] Compiling SwiftParserDiagnostics PresenceUtils.swift
[268/278] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[269/278] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[272/279] Wrapping AST for SwiftParserDiagnostics for debugging
[274/294] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[275/294] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[276/294] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[277/294] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[278/294] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[279/294] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[280/294] Compiling SwiftSyntaxBuilder Indenter.swift
[281/294] Compiling SwiftSyntaxBuilder ListBuilder.swift
[282/294] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[283/294] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[284/294] Emitting module SwiftSyntaxBuilder
[285/295] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[286/295] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[287/295] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[288/295] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[289/295] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[290/296] Wrapping AST for SwiftSyntaxBuilder for debugging
[292/310] Compiling SwiftIfConfig SyntaxLiteralUtils.swift
[293/310] Compiling SwiftIfConfig SyntaxProtocol+IfConfig.swift
[294/311] Compiling SwiftIfConfig VersionTuple+Parsing.swift
[295/311] Compiling SwiftIfConfig VersionTuple.swift
[296/311] Emitting module SwiftIfConfig
[297/311] Compiling SwiftIfConfig ActiveClauseEvaluator.swift
[298/311] Compiling SwiftIfConfig ActiveSyntaxRewriter.swift
[299/311] Compiling SwiftIfConfig ConfiguredRegions.swift
[300/311] Compiling SwiftIfConfig IfConfigDecl+IfConfig.swift
[301/311] Compiling SwiftIfConfig ActiveSyntaxVisitor.swift
[302/311] Compiling SwiftIfConfig BuildConfiguration.swift
[303/311] Compiling SwiftIfConfig IfConfigFunctions.swift
[304/311] Compiling SwiftIfConfig IfConfigRegionState.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/325] Compiling WhyFoundationCore TextReport.swift
[311/325] Compiling WhyFoundationCore TargetPlatform.swift
[312/325] Compiling WhyFoundationCore XcodeProjectImporter.swift
[313/325] Emitting module WhyFoundationCore
[314/325] Compiling WhyFoundationCore ExitStatus.swift
[315/325] Compiling WhyFoundationCore ImportScanner.swift
[316/325] Compiling WhyFoundationCore PackageGraph.swift
[317/325] Compiling WhyFoundationCore SourceLocator.swift
[318/325] Compiling WhyFoundationCore MemberAPI.swift
[319/325] Compiling WhyFoundationCore OneLineFix.swift
[320/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.2-RELEASE-android-0.1.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
[321/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.2-RELEASE-android-0.1.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
BUILD FAILURE 6.2 android