Build Information
Failed to build nest, reference main (0561cc
), with Swift 6.1 for Android on 3 Jun 2025 17:53:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mtj0928/nest.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/mtj0928/nest
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0561cc2 Merge pull request #40 from mtj0928/README/run
Cloned https://github.com/mtj0928/nest.git
Revision (git rev-parse @):
0561cc2c2fe68afd053b3750a35537be19e51c9e
SUCCESS checkout https://github.com/mtj0928/nest.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/mtj0928/nest.git
https://github.com/mtj0928/nest.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-http-types",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-http-types.git"
},
{
"identity" : "zipfoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/weichsel/ZIPFoundation"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.1",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.1.3",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "swift-async-operations",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mtj0928/swift-async-operations"
}
],
"manifest_display_name" : "nest",
"name" : "nest",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "nest",
"targets" : [
"nest"
],
"type" : {
"executable" : null
}
},
{
"name" : "NestCLI",
"targets" : [
"NestCLI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "NestKit",
"targets" : [
"NestKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "nest",
"module_type" : "SwiftTarget",
"name" : "nest",
"path" : "Sources/nest",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"nest"
],
"sources" : [
"Arguments/ExcludedTarget+Arguments.swift",
"Arguments/GitURL+Arguemtns.swift",
"Arguments/GitVersion+Arguments.swift",
"Arguments/RunCommandArgument.swift",
"Commands/BootstrapCommand.swift",
"Commands/GenerateNestfileCommand.swift",
"Commands/InstallCommand.swift",
"Commands/ListCommand.swift",
"Commands/ResolveNestfileCommand.swift",
"Commands/RunCommand.swift",
"Commands/SwitchCommand.swift",
"Commands/UninstallCommand.swift",
"Commands/UpdateNestfileCommand.swift",
"Utils/CLIUtil.swift",
"Utils/Configuration+Dependencies.swift",
"Utils/NestLogHandler.swift",
"nest.swift"
],
"target_dependencies" : [
"NestCLI"
],
"type" : "executable"
},
{
"c99name" : "NestTests",
"module_type" : "SwiftTarget",
"name" : "NestTests",
"path" : "Tests/NestTests",
"sources" : [
"Arguments/ExcludedTarget+ArgumentsTests.swift",
"Arguments/InstallTargetTests.swift",
"Arguments/SubCommandOfRunCommandTests.swift"
],
"target_dependencies" : [
"nest"
],
"type" : "test"
},
{
"c99name" : "NestTestHelpers",
"module_type" : "SwiftTarget",
"name" : "NestTestHelpers",
"path" : "Sources/NestTestHelpers",
"sources" : [
"FileStorageItem.swift",
"MockExecutorBuilder.swift",
"MockFileSystem.swift",
"MockHTTPClient.swift"
],
"target_dependencies" : [
"NestKit"
],
"type" : "library"
},
{
"c99name" : "NestKitTests",
"module_type" : "SwiftTarget",
"name" : "NestKitTests",
"path" : "Tests/NestKitTests",
"sources" : [
"ArtifactBundle/ArtifactBundleInfoTests.swift",
"ArtifactBundleManagerTests.swift",
"Extensions/URLTests.swift",
"FileSystemItemTests.swift",
"Git/GitHubURLBuilderTests.swift",
"Git/GitURLTests.swift",
"GitHub/GitHubAssetRegistryClientTests.swift",
"GitHub/GitHubRepositoryNameTests.swift",
"GitHub/GitHubServerConfigsTests.swift",
"NestDirectoryTests.swift",
"NestFileDownloaderTests.swift",
"NestInfoControllerTests.swift",
"Swift/SwiftPackageTests.swift",
"TestingEnvironmentVariables.swift",
"TripleDetectorTests.swift"
],
"target_dependencies" : [
"NestKit",
"NestTestHelpers"
],
"type" : "test"
},
{
"c99name" : "NestKit",
"module_type" : "SwiftTarget",
"name" : "NestKit",
"path" : "Sources/NestKit",
"product_dependencies" : [
"Logging",
"Rainbow",
"ZIPFoundation",
"HTTPTypesFoundation"
],
"product_memberships" : [
"nest",
"NestCLI",
"NestKit"
],
"sources" : [
"ArtifactBundle/ArtifactBundle.swift",
"ArtifactBundle/ArtifactBundleInfo.swift",
"ArtifactBundleAssetSelector.swift",
"ArtifactBundleManager.swift",
"Assets/AssetRegistryClient.swift",
"Assets/AssetRegistryClientBuilder.swift",
"ChecksumCalculator.swift",
"Configuration.swift",
"ExecutableBinary/ExecutableBinary.swift",
"Extensions/Logger+extension.swift",
"Extensions/URL+extension.swift",
"FileSystem.swift",
"Git/GitCommand.swift",
"Git/GitURL.swift",
"Git/GitVersion.swift",
"GitHub/ExcludedTarget.swift",
"GitHub/GitHubAssetRegistryClient.swift",
"GitHub/GitHubAssetResponse.swift",
"GitHub/GitHubRegistryConfigs.swift",
"GitHub/GitHubRepositoryName.swift",
"GitHub/GitHubURLBuilder.swift",
"HTTPClient.swift",
"NestDirectory.swift",
"NestFileDownloader.swift",
"NestInfo.swift",
"NestInfoController.swift",
"Swift/SwiftCommand+Build.swift",
"Swift/SwiftCommand+Checksum.swift",
"Swift/SwiftCommand+Description.swift",
"Swift/SwiftCommand+TargetInfo.swift",
"Swift/SwiftCommand.swift",
"Swift/SwiftPackage.swift",
"TripleDetector.swift",
"Utils/ProcessExecutor.swift",
"Utils/ProcessExecutorBuilder.swift"
],
"type" : "library"
},
{
"c99name" : "NestCLITests",
"module_type" : "SwiftTarget",
"name" : "NestCLITests",
"path" : "Tests/NestCLITests",
"sources" : [
"ArtfactBundleFetcherTests.swift",
"NestfileControllerTests.swift",
"NestfileTests.swift"
],
"target_dependencies" : [
"NestCLI",
"NestTestHelpers"
],
"type" : "test"
},
{
"c99name" : "NestCLI",
"module_type" : "SwiftTarget",
"name" : "NestCLI",
"path" : "Sources/NestCLI",
"product_dependencies" : [
"AsyncOperations",
"Yams"
],
"product_memberships" : [
"nest",
"NestCLI"
],
"sources" : [
"ArtifactBundleFetcher.swift",
"ArtifactDuplicatedDetector.swift",
"ExecutableBinaryPreparer.swift",
"NestCLIError.swift",
"Nestfile.swift",
"NestfileController.swift",
"SwiftPackageBuilder.swift"
],
"target_dependencies" : [
"NestKit"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 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/jpsim/Yams.git
Fetching https://github.com/mtj0928/swift-async-operations
Fetching https://github.com/weichsel/ZIPFoundation
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-log.git
[1/5574] Fetching zipfoundation
[280/6770] Fetching zipfoundation, rainbow
[2034/7172] Fetching zipfoundation, rainbow, swift-async-operations
[2332/8076] Fetching zipfoundation, rainbow, swift-async-operations, swift-http-types
[2446/11912] Fetching zipfoundation, rainbow, swift-async-operations, swift-http-types, swift-log
[4530/22643] Fetching zipfoundation, rainbow, swift-async-operations, swift-http-types, swift-log, yams
Fetched https://github.com/onevcat/Rainbow from cache (0.43s)
Fetching https://github.com/apple/swift-argument-parser
[12112/21447] Fetching zipfoundation, swift-async-operations, swift-http-types, swift-log, yams
Fetched https://github.com/mtj0928/swift-async-operations from cache (0.54s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.54s)
[13059/20141] Fetching zipfoundation, swift-log, yams
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
[9438/16305] Fetching zipfoundation, yams
Fetched https://github.com/weichsel/ZIPFoundation from cache (0.56s)
[5795/10731] Fetching yams
[10625/26112] Fetching yams, swift-argument-parser
Fetched https://github.com/jpsim/Yams.git from cache (1.31s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.93s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.89s)
Computing version for https://github.com/mtj0928/swift-async-operations
Computed https://github.com/mtj0928/swift-async-operations at 0.3.0 (2.12s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.06s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (2.13s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.49s)
Computing version for https://github.com/weichsel/ZIPFoundation
Computed https://github.com/weichsel/ZIPFoundation at 0.9.19 (0.49s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
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/weichsel/ZIPFoundation
Working copy of https://github.com/weichsel/ZIPFoundation resolved at 0.9.19
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/mtj0928/swift-async-operations
Working copy of https://github.com/mtj0928/swift-async-operations resolved at 0.3.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.5.1
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/35] Write sources
[14/35] Compiling writer.c
[15/35] Compiling reader.c
[16/35] Compiling api.c
[17/35] Compiling parser.c
[18/35] Compiling emitter.c
[19/35] Write swift-version-24593BA9C3E375BF.txt
[20/35] Compiling scanner.c
[22/116] Emitting module Logging
[23/116] Emitting module HTTPTypes
[24/117] Compiling Yams Emitter.swift
[25/117] Compiling Yams Encoder.swift
[26/118] Compiling Yams Parser.swift
[27/118] Compiling Yams RedundancyAliasingStrategy.swift
[28/118] Compiling Yams Node.Sequence.swift
[29/118] Compiling Yams Node.swift
[30/118] Compiling ArgumentParserToolInfo ToolInfo.swift
[31/118] Emitting module ArgumentParserToolInfo
[32/118] Compiling HTTPTypes HTTPResponse.swift
[33/118] Compiling HTTPTypes HTTPParsedFields.swift
[34/118] Compiling HTTPTypes HTTPRequest.swift
[35/118] Compiling HTTPTypes ISOLatin1String.swift
[36/119] Compiling HTTPTypes NIOLock.swift
[38/119] Compiling Yams AliasDereferencingStrategy.swift
[39/119] Compiling Yams Anchor.swift
[40/119] Compiling Yams Node.Mapping.swift
[41/119] Compiling Yams Node.Scalar.swift
[42/119] Compiling Yams Mark.swift
[43/119] Compiling Yams Node.Alias.swift
[44/119] Compiling Yams Constructor.swift
[45/119] Compiling Yams Decoder.swift
[46/119] Emitting module AsyncOperations
[47/119] Compiling AsyncOperations withThrowingOrderedTaskGroup.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/120] 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 | }
[49/121] Wrapping AST for ArgumentParserToolInfo for debugging
[50/121] Wrapping AST for AsyncOperations for debugging
[52/122] Compiling Rainbow StringGenerator.swift
[53/139] Compiling Rainbow String+Rainbow.swift
[54/159] Compiling ArgumentParser ExpressibleByArgument.swift
[55/159] Compiling ArgumentParser ParsableArguments.swift
[56/161] Compiling Rainbow Style.swift
[57/161] Emitting module Yams
[58/161] Compiling Logging Locks.swift
[59/161] Compiling Logging MetadataProvider.swift
[60/161] Compiling Logging LogHandler.swift
[61/161] Compiling Logging Logging.swift
[62/162] Wrapping AST for Logging for debugging
[64/162] Compiling Yams YamlError.swift
[65/162] Compiling Yams YamlTagProviding.swift
[66/162] Compiling Rainbow Rainbow.swift
[67/162] Compiling ArgumentParser ArgumentVisibility.swift
[68/162] Compiling ArgumentParser CompletionKind.swift
[69/162] Compiling ArgumentParser Errors.swift
[70/162] Compiling ArgumentParser Flag.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 {
[71/162] Compiling ArgumentParser NameSpecification.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 {
[72/162] Compiling ArgumentParser Option.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 {
[73/162] Compiling ArgumentParser Argument.swift
[74/162] Compiling ArgumentParser ArgumentHelp.swift
[75/162] 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 | }
[79/164] Compiling ArgumentParser OptionGroup.swift
[80/164] Compiling ArgumentParser AsyncParsableCommand.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))
/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 | }
[85/164] Compiling ArgumentParser CommandConfiguration.swift
[86/164] Compiling ArgumentParser CommandGroup.swift
[87/164] Compiling ArgumentParser EnumerableFlag.swift
[88/164] Compiling ArgumentParser BashCompletionsGenerator.swift
[89/164] Compiling ArgumentParser CompletionsGenerator.swift
[90/164] Compiling ArgumentParser FishCompletionsGenerator.swift
[91/164] Compiling ArgumentParser ZshCompletionsGenerator.swift
[95/164] Compiling HTTPTypes HTTPFieldName.swift
[96/164] Compiling HTTPTypes HTTPField.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
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/16] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/97] 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 {
[4/99] Compiling Logging Locks.swift
[5/99] Compiling Logging MetadataProvider.swift
[6/99] Compiling Rainbow Rainbow.swift
[7/99] Compiling Rainbow String+Rainbow.swift
[8/99] 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 | }
[9/100] Compiling Yams Node.Mapping.swift
[10/100] Compiling Yams Node.Scalar.swift
[11/100] Compiling Yams Parser.swift
[12/100] Compiling Yams RedundancyAliasingStrategy.swift
[13/100] Compiling Yams Node.Sequence.swift
[14/100] Compiling Yams Node.swift
[15/101] Compiling Rainbow StringGenerator.swift
[16/101] Compiling Yams Emitter.swift
[17/101] Compiling Yams Encoder.swift
[18/101] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[19/101] Compiling ZIPFoundation URL+ZIP.swift
[20/101] Emitting module AsyncOperations
[21/101] Compiling Yams AliasDereferencingStrategy.swift
[22/101] Compiling Yams Anchor.swift
[23/101] Compiling Yams Constructor.swift
[24/101] Compiling Yams Decoder.swift
[25/101] Compiling Yams Mark.swift
[26/101] Compiling Yams Node.Alias.swift
[29/101] Compiling HTTPTypes ISOLatin1String.swift
[30/101] Compiling HTTPTypes HTTPResponse.swift
[31/102] Compiling AsyncOperations withThrowingOrderedTaskGroup.swift
[32/103] Compiling Rainbow Style.swift
[33/103] Compiling Yams Tag.swift
[34/103] Compiling Yams YamlAnchorProviding.swift
[35/105] Compiling HTTPTypes HTTPField.swift
[37/105] Compiling HTTPTypes HTTPParsedFields.swift
[38/105] Compiling HTTPTypes HTTPRequest.swift
[39/105] Compiling Yams Resolver.swift
[40/105] Compiling Yams String+Yams.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))
/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 | }
[43/105] Compiling HTTPTypes NIOLock.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 {
/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 {
[48/105] Wrapping AST for AsyncOperations for debugging
[50/105] Emitting module ArgumentParserToolInfo
[51/105] Compiling ArgumentParserToolInfo ToolInfo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/106] 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 | }
[59/106] Compiling Yams Representer.swift
[61/106] Compiling Logging LogHandler.swift
[62/106] Emitting module Logging
[63/106] Compiling Logging Logging.swift
[65/107] Compiling Yams YamlError.swift
[66/107] Compiling Yams YamlTagProviding.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
[88/107] Emitting module Yams
[89/107] Compiling HTTPTypes HTTPFieldName.swift
[90/107] Emitting module HTTPTypes
BUILD FAILURE 6.1 android