Build Information
Failed to build xtree, reference main (c4744b
), with Swift 6.1 for Android on 12 Jun 2025 11:29:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftyfinch/xtree.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/swiftyfinch/xtree
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c4744be Remove reviewers from dependabot config
Cloned https://github.com/swiftyfinch/xtree.git
Revision (git rev-parse @):
c4744be866e168c629493371693da03c2a4cc06a
SUCCESS checkout https://github.com/swiftyfinch/xtree.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/swiftyfinch/xtree.git
https://github.com/swiftyfinch/xtree.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.1",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
},
{
"identity" : "xcodeproj",
"requirement" : {
"range" : [
{
"lower_bound" : "9.1.0",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tuist/XcodeProj"
},
{
"identity" : "fish",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftyfinch/Fish"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams"
},
{
"identity" : "zipfoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.19",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/weichsel/ZIPFoundation"
}
],
"manifest_display_name" : "xtree",
"name" : "xtree",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "xtree",
"targets" : [
"CLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "XTreeKit",
"targets" : [
"XTreeKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XTreeKit",
"module_type" : "SwiftTarget",
"name" : "XTreeKit",
"path" : "Sources/XTreeKit",
"product_dependencies" : [
"Fish",
"XcodeProj",
"Yams"
],
"product_memberships" : [
"xtree",
"XTreeKit"
],
"sources" : [
"Common/Environment.swift",
"Common/Extensions/Collection+Concurrent.swift",
"Common/Inputs/InputFileCacher.swift",
"Common/Inputs/InputInMemoryCacher.swift",
"Common/Inputs/InputReader.swift",
"Common/Inputs/PodfileLockReader.swift",
"Common/Inputs/XcodeProjectReader.swift",
"Common/Inputs/YAMLFileManager.swift",
"Common/RegexBuilder.swift",
"Common/SHA1Hasher.swift",
"Common/System.swift",
"Common/Terminal.swift",
"Common/Tree/TreeBuilder.swift",
"Common/Tree/TreeFilter.swift",
"Common/Tree/TreeNode.swift",
"Common/Tree/TreeSorter.swift",
"Managers/FrequencyManager.swift",
"Managers/ImpactManager.swift",
"Managers/ParentsManager.swift",
"Managers/TreeManager.swift",
"Vault/Vault.swift"
],
"type" : "library"
},
{
"c99name" : "CLI",
"module_type" : "SwiftTarget",
"name" : "CLI",
"path" : "Sources/CLI",
"product_dependencies" : [
"ArgumentParser",
"Fish",
"Rainbow",
"ZIPFoundation"
],
"product_memberships" : [
"xtree"
],
"sources" : [
"Commands/Common/InputOptions.swift",
"Commands/Common/TreeOptions.swift",
"Commands/Frequency.swift",
"Commands/Impact.swift",
"Commands/Parents.swift",
"Commands/Print.swift",
"Commands/Update.swift",
"Common/CommonFlags.swift",
"Common/Environment.swift",
"Common/Extensions/Rainbow/Rainbow+Namespace.swift",
"Common/Extensions/Rainbow/Rainbow+Padding.swift",
"Common/Extensions/Rainbow/Rainbow+RawCount.swift",
"Common/Extensions/Rainbow/Rainbow+Split.swift",
"Common/Extensions/Rainbow/Rainbow+WordWrappedLines.swift",
"Common/Help/Drawing/BoxPainter.swift",
"Common/Help/Drawing/Palette.swift",
"Common/Help/HelpDumper.swift",
"Common/Help/HelpPrinter.swift",
"Common/ParsableCommand+ParseCommand.swift",
"Common/ParsableCommand+ParseCommandType.swift",
"Services/ErrorWrapper.swift",
"Services/GitHubUpdater.swift",
"Services/TreePrinter.swift",
"xtree.swift"
],
"target_dependencies" : [
"XTreeKit"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/swiftyfinch/Fish
Fetching https://github.com/weichsel/ZIPFoundation
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/tuist/XcodeProj
[1/1196] Fetching rainbow
[1197/1289] Fetching rainbow, fish
[1290/24610] Fetching rainbow, fish, xcodeproj
[1757/30184] Fetching rainbow, fish, xcodeproj, zipfoundation
Fetched https://github.com/swiftyfinch/Fish from cache (0.34s)
[2754/30091] Fetching rainbow, xcodeproj, zipfoundation
[15250/45471] Fetching rainbow, xcodeproj, zipfoundation, swift-argument-parser
Fetching https://github.com/jpsim/Yams
Fetched https://github.com/weichsel/ZIPFoundation from cache (0.74s)
[31760/39897] Fetching rainbow, xcodeproj, swift-argument-parser
[39898/50756] Fetching rainbow, xcodeproj, swift-argument-parser, yams
Fetched https://github.com/onevcat/Rainbow from cache (1.51s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.52s)
[29403/34180] Fetching xcodeproj, yams
Fetched https://github.com/tuist/XcodeProj from cache (1.60s)
[6407/10859] Fetching yams
Fetched https://github.com/jpsim/Yams from cache (1.51s)
Computing version for https://github.com/weichsel/ZIPFoundation
Computed https://github.com/weichsel/ZIPFoundation at 0.9.19 (2.79s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.0.1 (0.58s)
Computing version for https://github.com/swiftyfinch/Fish
Computed https://github.com/swiftyfinch/Fish at 0.1.3 (2.41s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.56s)
Computing version for https://github.com/tuist/XcodeProj
Computed https://github.com/tuist/XcodeProj at 9.4.2 (0.53s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[1398/3538] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.30s)
Fetched https://github.com/tadija/AEXML.git from cache (0.30s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.10s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.43s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.18s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.64s)
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/tuist/XcodeProj
Working copy of https://github.com/tuist/XcodeProj resolved at 9.4.2
Creating working copy for https://github.com/swiftyfinch/Fish
Working copy of https://github.com/swiftyfinch/Fish resolved at 0.1.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/weichsel/ZIPFoundation
Working copy of https://github.com/weichsel/ZIPFoundation resolved at 0.9.19
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[12/32] Compiling writer.c
[13/32] Compiling reader.c
[14/32] Compiling parser.c
[15/32] Compiling api.c
[16/32] Compiling emitter.c
[17/32] Write swift-version-24593BA9C3E375BF.txt
[18/32] Compiling scanner.c
[20/109] Compiling Rainbow StringGenerator.swift
[21/110] Emitting module ArgumentParserToolInfo
[22/110] Compiling ArgumentParserToolInfo ToolInfo.swift
[23/111] Compiling Rainbow String+Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/111] Emitting module ZIPFoundation
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
| `- error: cannot find type 'stat' in scope
78 |
79 | var lastAccessDate: Date {
[26/113] Compiling ZIPFoundation Entry.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[27/113] Compiling ZIPFoundation FileManager+ZIP.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[28/115] Compiling Rainbow Style.swift
[28/115] Wrapping AST for ArgumentParserToolInfo for debugging
[30/153] Compiling ArgumentParser ZshCompletionsGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[31/153] Compiling ArgumentParser Argument.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[32/153] Compiling ArgumentParser ArgumentHelp.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/153] Emitting module Yams
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/153] Emitting module ArgumentParser
[35/158] Compiling ArgumentParser ArgumentVisibility.swift
[36/158] Compiling ArgumentParser CompletionKind.swift
[37/158] Compiling ArgumentParser Errors.swift
[38/158] Compiling ArgumentParser Flag.swift
[39/158] Compiling ArgumentParser NameSpecification.swift
[40/158] Compiling ArgumentParser Option.swift
[41/158] Compiling ArgumentParser BashCompletionsGenerator.swift
[42/158] Compiling ArgumentParser CompletionsGenerator.swift
[43/158] Compiling ArgumentParser FishCompletionsGenerator.swift
[47/158] Compiling ArgumentParser OptionGroup.swift
[48/158] Compiling ArgumentParser AsyncParsableCommand.swift
[49/158] Compiling ArgumentParser CommandConfiguration.swift
[50/158] Compiling ArgumentParser CommandGroup.swift
[51/158] Compiling ArgumentParser EnumerableFlag.swift
[52/158] Compiling ArgumentParser ExpressibleByArgument.swift
[53/158] Compiling ArgumentParser ParsableArguments.swift
[54/158] Compiling ArgumentParser ParsableArgumentsValidation.swift
[55/158] Compiling ArgumentParser ParsableCommand.swift
[56/158] Compiling ArgumentParser ArgumentDecoder.swift
[57/158] Compiling ArgumentParser ArgumentDefinition.swift
[58/158] Compiling ArgumentParser ArgumentSet.swift
[59/158] Compiling ArgumentParser CommandParser.swift
[60/158] Compiling ArgumentParser InputKey.swift
[61/158] Compiling ArgumentParser InputOrigin.swift
[62/158] Compiling ArgumentParser CollectionExtensions.swift
[63/158] Compiling ArgumentParser Platform.swift
[64/158] Compiling ArgumentParser SequenceExtensions.swift
[65/158] Compiling ArgumentParser StringExtensions.swift
[66/158] Compiling ArgumentParser Tree.swift
[67/158] Emitting module Fish
[74/160] Compiling AEXML Parser.swift
[75/160] Compiling AEXML Options.swift
[76/160] Compiling AEXML Error.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[79/160] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
[80/160] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
[85/160] Compiling Rainbow Rainbow.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[91/160] Compiling AEXML Document.swift
[92/160] Compiling AEXML Builders.swift
[93/160] Emitting module AEXML
[94/160] Compiling AEXML Element.swift
[95/161] Compiling ArgumentParser Name.swift
[96/161] Compiling ArgumentParser Parsed.swift
[97/161] Compiling ArgumentParser ParsedValues.swift
[98/161] Compiling ArgumentParser ParserError.swift
[99/161] Compiling ArgumentParser SplitArguments.swift
[100/161] Compiling ArgumentParser DumpHelpGenerator.swift
[101/161] Compiling ArgumentParser HelpCommand.swift
[102/161] Compiling ArgumentParser HelpGenerator.swift
[103/161] Compiling ArgumentParser MessageInfo.swift
[104/161] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+MemoryFile.swift:45:20: error: value of optional type 'OpaquePointer?' must be unwrapped to a value of type 'OpaquePointer'
43 | #endif
44 | if append {
45 | fseeko(result, 0, SEEK_END)
| |- error: value of optional type 'OpaquePointer?' must be unwrapped to a value of type 'OpaquePointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
46 | }
47 | return result
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
39 | let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
40 | guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
41 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
42 | }
43 | defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+MemoryFile.swift:45:20: error: value of optional type 'OpaquePointer?' must be unwrapped to a value of type 'OpaquePointer'
43 | #endif
44 | if append {
45 | fseeko(result, 0, SEEK_END)
| |- error: value of optional type 'OpaquePointer?' must be unwrapped to a value of type 'OpaquePointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
46 | }
47 | return result
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
39 | let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
40 | guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
41 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
42 | }
43 | defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+MemoryFile.swift:45:20: error: value of optional type 'OpaquePointer?' must be unwrapped to a value of type 'OpaquePointer'
43 | #endif
44 | if append {
45 | fseeko(result, 0, SEEK_END)
| |- error: value of optional type 'OpaquePointer?' must be unwrapped to a value of type 'OpaquePointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
46 | }
47 | return result
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
39 | let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
40 | guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
41 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
42 | }
43 | defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
68 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
69 | guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
70 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
71 | }
72 | defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 | _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 | fflush(self.archiveFile)
272 | ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
| `- error: cannot find 'ftruncate' in scope
273 | fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 | _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
68 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
69 | guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
70 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
71 | }
72 | defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 | _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 | fflush(self.archiveFile)
272 | ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
| `- error: cannot find 'ftruncate' in scope
273 | fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 | _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
68 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
69 | guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
70 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
71 | }
72 | defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 | _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 | fflush(self.archiveFile)
272 | ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
| `- error: cannot find 'ftruncate' in scope
273 | fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 | _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
48 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
49 | guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
50 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
51 | }
52 | guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:71:34: error: cannot find 'errno' in scope
69 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
70 | guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
71 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
72 | }
73 | guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:116:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
114 | zipFileCommentData: Data())
115 | _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
116 | fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
| |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | }
118 | fallthrough
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
48 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
49 | guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
50 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
51 | }
52 | guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:71:34: error: cannot find 'errno' in scope
69 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
70 | guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
71 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
72 | }
73 | guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:116:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
114 | zipFileCommentData: Data())
115 | _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
116 | fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
| |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | }
118 | fallthrough
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
48 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
49 | guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
50 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
51 | }
52 | guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:71:34: error: cannot find 'errno' in scope
69 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
70 | guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
71 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
72 | }
73 | guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:116:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
114 | zipFileCommentData: Data())
115 | _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
116 | fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
| |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | }
118 | fallthrough
[125/161] Compiling Fish IItem.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[129/162] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[130/162] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:29:25: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
27 |
28 | init(mode: mode_t) {
29 | switch mode & S_IFMT {
| |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
| `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
30 | case S_IFDIR:
31 | self = .directory
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:152:92: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
150 | switch osType {
151 | case .unix, .osx:
152 | let mode = mode_t(self.centralDirectoryStructure.externalFileAttributes >> 16) & S_IFMT
| |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
| `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
153 | switch mode {
154 | case S_IFREG:
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:196:15: error: cannot find 'lchmod' in scope
194 | let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
195 | let modeT = posixPermissions.uint16Value
196 | guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
| `- error: cannot find 'lchmod' in scope
197 | throw POSIXError(errno, path: url.path)
198 | }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:197:30: error: cannot find 'errno' in scope
195 | let modeT = posixPermissions.uint16Value
196 | guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
197 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
198 | }
199 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:203:24: error: cannot find 'stat' in scope
201 | func setSymlinkModificationDate(_ modificationDate: Date, ofItemAtURL url: URL) throws {
202 | let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
204 | guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 | throw POSIXError(errno, path: url.path)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:204:15: error: cannot find 'lstat' in scope
202 | let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 | var fileStat = stat()
204 | guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
| `- error: cannot find 'lstat' in scope
205 | throw POSIXError(errno, path: url.path)
206 | }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:205:30: error: cannot find 'errno' in scope
203 | var fileStat = stat()
204 | guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
206 | }
207 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:214:19: error: cannot find 'lutimes' in scope
212 | ]
213 | try array.withUnsafeBufferPointer {
214 | guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
| `- error: cannot find 'lutimes' in scope
215 | throw POSIXError(errno, path: url.path)
216 | }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:215:34: error: cannot find 'errno' in scope
213 | try array.withUnsafeBufferPointer {
214 | guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
215 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
216 | }
217 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:244:72: error: cannot find 'S_IFMT' in scope
242 | switch osType {
243 | case .unix, .osx:
244 | let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
| `- error: cannot find 'S_IFMT' in scope
245 | let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
246 | return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:256:30: error: cannot find 'S_IFREG' in scope
254 | switch type {
255 | case .file:
256 | typeInt = UInt16(S_IFREG)
| `- error: cannot find 'S_IFREG' in scope
257 | case .directory:
258 | typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:258:30: error: cannot find 'S_IFDIR' in scope
256 | typeInt = UInt16(S_IFREG)
257 | case .directory:
258 | typeInt = UInt16(S_IFDIR)
| `- error: cannot find 'S_IFDIR' in scope
259 | case .symlink:
260 | typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:260:30: error: cannot find 'S_IFLNK' in scope
258 | typeInt = UInt16(S_IFDIR)
259 | case .symlink:
260 | typeInt = UInt16(S_IFLNK)
| `- error: cannot find 'S_IFLNK' in scope
261 | }
262 | var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:270:24: error: cannot find 'stat' in scope
268 | let fileManager = FileManager()
269 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
270 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
271 | lstat(entryFileSystemRepresentation, &fileStat)
272 | let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:271:9: error: cannot find 'lstat' in scope
269 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
270 | var fileStat = stat()
271 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
272 | let permissions = fileStat.st_mode
273 | return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:282:24: error: cannot find 'stat' in scope
280 | }
281 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
282 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
283 | lstat(entryFileSystemRepresentation, &fileStat)
284 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:283:9: error: cannot find 'lstat' in scope
281 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
282 | var fileStat = stat()
283 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
284 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
285 | let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:301:24: error: cannot find 'stat' in scope
299 | }
300 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
301 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
302 | lstat(entryFileSystemRepresentation, &fileStat)
303 | guard fileStat.st_size >= 0 else {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:302:9: error: cannot find 'lstat' in scope
300 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
301 | var fileStat = stat()
302 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
303 | guard fileStat.st_size >= 0 else {
304 | throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path])
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:316:24: error: cannot find 'stat' in scope
314 | }
315 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
316 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
317 | lstat(entryFileSystemRepresentation, &fileStat)
318 | return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:317:9: error: cannot find 'lstat' in scope
315 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
316 | var fileStat = stat()
317 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
318 | return Entry.EntryType(mode: mode_t(fileStat.st_mode))
319 | }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:29:25: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
27 |
28 | init(mode: mode_t) {
29 | switch mode & S_IFMT {
| |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
| `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
30 | case S_IFDIR:
31 | self = .directory
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:152:92: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
150 | switch osType {
151 | case .unix, .osx:
152 | let mode = mode_t(self.centralDirectoryStructure.externalFileAttributes >> 16) & S_IFMT
| |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
| `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
153 | switch mode {
154 | case S_IFREG:
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:196:15: error: cannot find 'lchmod' in scope
194 | let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
195 | let modeT = posixPermissions.uint16Value
196 | guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
| `- error: cannot find 'lchmod' in scope
197 | throw POSIXError(errno, path: url.path)
198 | }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:197:30: error: cannot find 'errno' in scope
195 | let modeT = posixPermissions.uint16Value
196 | guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
197 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
198 | }
199 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:203:24: error: cannot find 'stat' in scope
201 | func setSymlinkModificationDate(_ modificationDate: Date, ofItemAtURL url: URL) throws {
202 | let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
204 | guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 | throw POSIXError(errno, path: url.path)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:204:15: error: cannot find 'lstat' in scope
202 | let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 | var fileStat = stat()
204 | guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
| `- error: cannot find 'lstat' in scope
205 | throw POSIXError(errno, path: url.path)
206 | }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:205:30: error: cannot find 'errno' in scope
203 | var fileStat = stat()
204 | guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
206 | }
207 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:214:19: error: cannot find 'lutimes' in scope
212 | ]
213 | try array.withUnsafeBufferPointer {
214 | guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
| `- error: cannot find 'lutimes' in scope
215 | throw POSIXError(errno, path: url.path)
216 | }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:215:34: error: cannot find 'errno' in scope
213 | try array.withUnsafeBufferPointer {
214 | guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
215 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
216 | }
217 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:244:72: error: cannot find 'S_IFMT' in scope
242 | switch osType {
243 | case .unix, .osx:
244 | let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
| `- error: cannot find 'S_IFMT' in scope
245 | let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
246 | return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:256:30: error: cannot find 'S_IFREG' in scope
254 | switch type {
255 | case .file:
256 | typeInt = UInt16(S_IFREG)
| `- error: cannot find 'S_IFREG' in scope
257 | case .directory:
258 | typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:258:30: error: cannot find 'S_IFDIR' in scope
256 | typeInt = UInt16(S_IFREG)
257 | case .directory:
258 | typeInt = UInt16(S_IFDIR)
| `- error: cannot find 'S_IFDIR' in scope
259 | case .symlink:
260 | typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:260:30: error: cannot find 'S_IFLNK' in scope
258 | typeInt = UInt16(S_IFDIR)
259 | case .symlink:
260 | typeInt = UInt16(S_IFLNK)
| `- error: cannot find 'S_IFLNK' in scope
261 | }
262 | var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:270:24: error: cannot find 'stat' in scope
268 | let fileManager = FileManager()
269 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
270 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
271 | lstat(entryFileSystemRepresentation, &fileStat)
272 | let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:271:9: error: cannot find 'lstat' in scope
269 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
270 | var fileStat = stat()
271 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
272 | let permissions = fileStat.st_mode
273 | return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:282:24: error: cannot find 'stat' in scope
280 | }
281 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
282 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
283 | lstat(entryFileSystemRepresentation, &fileStat)
284 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:283:9: error: cannot find 'lstat' in scope
281 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
282 | var fileStat = stat()
283 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
284 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
285 | let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:301:24: error: cannot find 'stat' in scope
299 | }
300 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
301 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
302 | lstat(entryFileSystemRepresentation, &fileStat)
303 | guard fileStat.st_size >= 0 else {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:302:9: error: cannot find 'lstat' in scope
300 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
301 | var fileStat = stat()
302 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
303 | guard fileStat.st_size >= 0 else {
304 | throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path])
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:316:24: error: cannot find 'stat' in scope
314 | }
315 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
316 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
317 | lstat(entryFileSystemRepresentation, &fileStat)
318 | return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:317:9: error: cannot find 'lstat' in scope
315 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
316 | var fileStat = stat()
317 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
318 | return Entry.EntryType(mode: mode_t(fileStat.st_mode))
319 | }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
| `- error: cannot find type 'stat' in scope
78 |
79 | var lastAccessDate: Date {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
| `- error: cannot find type 'stat' in scope
78 |
79 | var lastAccessDate: Date {
[137/162] Compiling Fish IFolder.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
| `- error: cannot find type 'stat' in scope
78 |
79 | var lastAccessDate: Date {
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/15] Write swift-version-24593BA9C3E375BF.txt
[3/92] Compiling Yams Node.Sequence.swift
[4/92] Compiling Yams Node.swift
[5/94] Compiling AEXML Builders.swift
[6/94] Emitting module AEXML
[7/94] Compiling Yams Parser.swift
[8/94] Compiling Yams RedundancyAliasingStrategy.swift
[9/94] Compiling Yams Encoder.swift
[10/94] Compiling Yams Node.Scalar.swift
[11/94] Compiling Rainbow StringGenerator.swift
[12/95] Compiling Yams Node.Alias.swift
[13/95] Compiling Yams Node.Mapping.swift
[14/95] Compiling Yams AliasDereferencingStrategy.swift
[15/95] Compiling Yams Anchor.swift
[16/95] Emitting module Fish
[17/95] Compiling Yams Constructor.swift
[18/95] Compiling Yams Mark.swift
[19/95] Compiling Yams Decoder.swift
[20/95] Compiling Yams Emitter.swift
[21/95] Compiling AEXML Options.swift
[22/95] Compiling AEXML Parser.swift
[23/95] Compiling AEXML Error.swift
[24/95] Compiling Fish IFolder.swift
[25/95] Compiling Fish IItem.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/96] Emitting module ZIPFoundation
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
| `- error: cannot find type 'stat' in scope
78 |
79 | var lastAccessDate: Date {
[27/98] Compiling Yams Tag.swift
[28/98] Compiling Yams YamlAnchorProviding.swift
[31/98] Compiling Rainbow Rainbow.swift
[32/98] Compiling Rainbow String+Rainbow.swift
[33/98] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
48 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
49 | guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
50 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
51 | }
52 | guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:71:34: error: cannot find 'errno' in scope
69 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
70 | guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
71 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
72 | }
73 | guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:116:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
114 | zipFileCommentData: Data())
115 | _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
116 | fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
| |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | }
118 | fallthrough
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
48 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
49 | guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
50 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
51 | }
52 | guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:71:34: error: cannot find 'errno' in scope
69 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
70 | guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
71 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
72 | }
73 | guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:116:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
114 | zipFileCommentData: Data())
115 | _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
116 | fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
| |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | }
118 | fallthrough
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
48 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
49 | guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
50 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
51 | }
52 | guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:71:34: error: cannot find 'errno' in scope
69 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
70 | guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
71 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
72 | }
73 | guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:116:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
114 | zipFileCommentData: Data())
115 | _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
116 | fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
| |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
117 | }
118 | fallthrough
[38/100] Compiling Yams String+Yams.swift
[39/100] Compiling AEXML Document.swift
[40/100] Compiling AEXML Element.swift
[41/100] Compiling Rainbow Style.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/101] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[44/101] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[46/101] Emitting module ArgumentParserToolInfo
[47/101] Compiling ArgumentParserToolInfo ToolInfo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/102] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
[52/102] Wrapping AST for Fish for debugging
[53/102] Compiling Yams YamlError.swift
[54/102] Compiling Yams YamlTagProviding.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:29:25: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
27 |
28 | init(mode: mode_t) {
29 | switch mode & S_IFMT {
| |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
| `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
30 | case S_IFDIR:
31 | self = .directory
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:152:92: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
150 | switch osType {
151 | case .unix, .osx:
152 | let mode = mode_t(self.centralDirectoryStructure.externalFileAttributes >> 16) & S_IFMT
| |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
| `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
153 | switch mode {
154 | case S_IFREG:
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:196:15: error: cannot find 'lchmod' in scope
194 | let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
195 | let modeT = posixPermissions.uint16Value
196 | guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
| `- error: cannot find 'lchmod' in scope
197 | throw POSIXError(errno, path: url.path)
198 | }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:197:30: error: cannot find 'errno' in scope
195 | let modeT = posixPermissions.uint16Value
196 | guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
197 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
198 | }
199 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:203:24: error: cannot find 'stat' in scope
201 | func setSymlinkModificationDate(_ modificationDate: Date, ofItemAtURL url: URL) throws {
202 | let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
204 | guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 | throw POSIXError(errno, path: url.path)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:204:15: error: cannot find 'lstat' in scope
202 | let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 | var fileStat = stat()
204 | guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
| `- error: cannot find 'lstat' in scope
205 | throw POSIXError(errno, path: url.path)
206 | }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:205:30: error: cannot find 'errno' in scope
203 | var fileStat = stat()
204 | guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
206 | }
207 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:214:19: error: cannot find 'lutimes' in scope
212 | ]
213 | try array.withUnsafeBufferPointer {
214 | guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
| `- error: cannot find 'lutimes' in scope
215 | throw POSIXError(errno, path: url.path)
216 | }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:215:34: error: cannot find 'errno' in scope
213 | try array.withUnsafeBufferPointer {
214 | guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
215 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
216 | }
217 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:244:72: error: cannot find 'S_IFMT' in scope
242 | switch osType {
243 | case .unix, .osx:
244 | let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
| `- error: cannot find 'S_IFMT' in scope
245 | let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
246 | return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:256:30: error: cannot find 'S_IFREG' in scope
254 | switch type {
255 | case .file:
256 | typeInt = UInt16(S_IFREG)
| `- error: cannot find 'S_IFREG' in scope
257 | case .directory:
258 | typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:258:30: error: cannot find 'S_IFDIR' in scope
256 | typeInt = UInt16(S_IFREG)
257 | case .directory:
258 | typeInt = UInt16(S_IFDIR)
| `- error: cannot find 'S_IFDIR' in scope
259 | case .symlink:
260 | typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:260:30: error: cannot find 'S_IFLNK' in scope
258 | typeInt = UInt16(S_IFDIR)
259 | case .symlink:
260 | typeInt = UInt16(S_IFLNK)
| `- error: cannot find 'S_IFLNK' in scope
261 | }
262 | var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:270:24: error: cannot find 'stat' in scope
268 | let fileManager = FileManager()
269 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
270 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
271 | lstat(entryFileSystemRepresentation, &fileStat)
272 | let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:271:9: error: cannot find 'lstat' in scope
269 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
270 | var fileStat = stat()
271 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
272 | let permissions = fileStat.st_mode
273 | return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:282:24: error: cannot find 'stat' in scope
280 | }
281 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
282 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
283 | lstat(entryFileSystemRepresentation, &fileStat)
284 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:283:9: error: cannot find 'lstat' in scope
281 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
282 | var fileStat = stat()
283 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
284 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
285 | let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:301:24: error: cannot find 'stat' in scope
299 | }
300 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
301 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
302 | lstat(entryFileSystemRepresentation, &fileStat)
303 | guard fileStat.st_size >= 0 else {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:302:9: error: cannot find 'lstat' in scope
300 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
301 | var fileStat = stat()
302 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
303 | guard fileStat.st_size >= 0 else {
304 | throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path])
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:316:24: error: cannot find 'stat' in scope
314 | }
315 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
316 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
317 | lstat(entryFileSystemRepresentation, &fileStat)
318 | return Entry.EntryType(mode: mode_t(fileStat.st_mode))
BUILD FAILURE 6.1 android