Build Information
Failed to build Rosalind, reference main (59b087
), with Swift 6.1 for Android on 25 Aug 2025 08:02:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tuist/Rosalind.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/tuist/Rosalind
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 59b087b [Release] Rosalind 0.5.108
Cloned https://github.com/tuist/Rosalind.git
Revision (git rev-parse @):
59b087b62266b7f32e7e93ab2f7c2d39cc476480
SUCCESS checkout https://github.com/tuist/Rosalind.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/tuist/Rosalind.git
https://github.com/tuist/Rosalind.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "path",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.8",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tuist/Path.git"
},
{
"identity" : "filesystem",
"requirement" : {
"range" : [
{
"lower_bound" : "0.11.13",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tuist/FileSystem.git"
},
{
"identity" : "command",
"requirement" : {
"range" : [
{
"lower_bound" : "0.13.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tuist/Command.git"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.18.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "3.14.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
},
{
"identity" : "machokit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.38.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/p-x9/MachOKit"
},
{
"identity" : "mockable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kolos65/Mockable"
}
],
"manifest_display_name" : "Rosalind",
"name" : "Rosalind",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Rosalind",
"targets" : [
"Rosalind"
],
"type" : {
"library" : [
"static"
]
}
}
],
"targets" : [
{
"c99name" : "RosalindTests",
"module_type" : "SwiftTarget",
"name" : "RosalindTests",
"path" : "Tests/RosalindTests",
"product_dependencies" : [
"SnapshotTesting",
"Mockable"
],
"sources" : [
"Extensions/Snapshotting+RosalindReport.swift",
"RosalindAcceptanceTests.swift",
"RosalindTests.swift"
],
"target_dependencies" : [
"Rosalind"
],
"type" : "test"
},
{
"c99name" : "Rosalind",
"module_type" : "SwiftTarget",
"name" : "Rosalind",
"path" : "Sources/Rosalind",
"product_dependencies" : [
"Crypto",
"Path",
"FileSystem",
"Command",
"MachOKit"
],
"product_memberships" : [
"Rosalind"
],
"sources" : [
"AppBundle.swift",
"AppBundleLoader.swift",
"AssetUtilController.swift",
"Extensions/FileHandle+Read.swift",
"Extensions/Sequence+Concurrency.swift",
"PoolLock.swift",
"Rosalind.swift",
"RosalindReport.swift",
"ShasumCalculator.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/tuist/FileSystem.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/p-x9/MachOKit
[1/2015] Fetching filesystem
[425/3842] Fetching filesystem, mockable
[3239/9572] Fetching filesystem, mockable, machokit
[4989/25848] Fetching filesystem, mockable, machokit, swift-crypto
Fetching https://github.com/tuist/Command.git
Fetched https://github.com/tuist/FileSystem.git from cache (0.72s)
[7531/23833] Fetching mockable, machokit, swift-crypto
Fetching https://github.com/tuist/Path.git
[8535/24202] Fetching mockable, machokit, swift-crypto, path
[8639/39543] Fetching mockable, machokit, swift-crypto, path, swift-snapshot-testing
Fetched https://github.com/Kolos65/Mockable from cache (1.09s)
Fetched https://github.com/p-x9/MachOKit from cache (1.11s)
[2133/31986] Fetching swift-crypto, path, swift-snapshot-testing
Fetched https://github.com/tuist/Path.git from cache (0.43s)
[1927/33592] Fetching swift-crypto, swift-snapshot-testing, command
Fetched https://github.com/tuist/Command.git from cache (0.93s)
[2712/31617] Fetching swift-crypto, swift-snapshot-testing
Fetched https://github.com/apple/swift-crypto.git from cache (6.33s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (6.43s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.4.0 (7.62s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5505] Fetching xctest-dynamic-overlay
[3470/77289] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (2.06s)
[24407/71784] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (19.47s)
Computing version for https://github.com/p-x9/MachOKit
warning: 'machokit': /Package.swift:77:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
75 | }
76 |
77 | extension SwiftSetting: CaseIterable {
| |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
78 | public static var allCases: [Self] {
79 | [
Computed https://github.com/p-x9/MachOKit at 0.38.0 (22.15s)
Fetching https://github.com/p-x9/swift-fileio.git
[1/209] Fetching swift-fileio
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.71s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (7.17s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.31s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.6 (1.54s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4577] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.51s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (1.47s)
Fetching https://github.com/apple/swift-log
[1/3897] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.69s)
Computing version for https://github.com/tuist/FileSystem.git
Computed https://github.com/tuist/FileSystem.git at 0.11.13 (1.70s)
Fetching https://github.com/tuist/ZIPFoundation
Fetching https://github.com/apple/swift-nio
[1/4875] Fetching zipfoundation
[4876/82533] Fetching zipfoundation, swift-nio
Fetched https://github.com/tuist/ZIPFoundation from cache (0.78s)
[2330/77658] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (9.18s)
Computing version for https://github.com/tuist/Path.git
Computed https://github.com/tuist/Path.git at 0.3.8 (11.61s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.82s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.76s)
Computing version for https://github.com/tuist/ZIPFoundation
Computed https://github.com/tuist/ZIPFoundation at 0.9.20 (0.57s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.86.0 (0.92s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1808] Fetching swift-atomics
[598/6708] Fetching swift-atomics, swift-system
[3588/24062] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.87s)
Fetched https://github.com/apple/swift-system.git from cache (0.87s)
[4339/17354] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.28s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.12.0 (2.91s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.74s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (3.97s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (2.55s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (1.62s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.91s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.87s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/tuist/ZIPFoundation
Working copy of https://github.com/tuist/ZIPFoundation resolved at 0.9.20
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.14.0
Creating working copy for https://github.com/p-x9/MachOKit
Working copy of https://github.com/p-x9/MachOKit resolved at 0.38.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.6
Creating working copy for https://github.com/tuist/Command.git
Working copy of https://github.com/tuist/Command.git resolved at 0.13.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
Creating working copy for https://github.com/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.1
Creating working copy for https://github.com/tuist/Path.git
Working copy of https://github.com/tuist/Path.git resolved at 0.3.8
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.86.0
Creating working copy for https://github.com/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.12.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/tuist/FileSystem.git
Working copy of https://github.com/tuist/FileSystem.git resolved at 0.11.13
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:77:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
75 | }
76 |
77 | extension SwiftSetting: CaseIterable {
| |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
78 | public static var allCases: [Self] {
79 | [
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
Building for debugging...
[0/466] Compiling CNIOWASI CNIOWASI.c
[1/466] Compiling CNIOLinux liburing_shims.c
[2/466] Write sources
[18/466] Compiling CNIOPosix event_loop_id.c
[19/466] Write sources
[30/466] Compiling CNIODarwin shim.c
[31/466] Write sources
[37/466] Compiling CNIOWindows WSAStartup.c
[38/466] Write sources
[42/466] Compiling _AtomicsShims.c
[43/466] Compiling CNIOWindows shim.c
[44/466] Compiling _SwiftSyntaxCShims dummy.c
[45/466] Compiling CSystem shims.c
[46/466] Compiling CNIOLinux shim.c
[47/466] Compiling MachOKitC mach-o-linux.c
[48/466] Compiling fiat_p256_adx_sqr.S
[49/466] Compiling fiat_curve25519_adx_square.S
[50/466] Compiling md5-x86_64-linux.S
[51/466] Compiling fiat_p256_adx_mul.S
[52/466] Compiling fiat_curve25519_adx_mul.S
[53/466] Compiling md5-x86_64-apple.S
[54/466] Compiling md5-586-linux.S
[55/466] Write swift-version-24593BA9C3E375BF.txt
[56/466] Compiling md5-586-apple.S
[57/466] Compiling chacha20_poly1305_x86_64-linux.S
[58/466] Compiling chacha20_poly1305_x86_64-apple.S
[59/466] Compiling CCryptoBoringSSLShims shims.c
[60/466] Compiling chacha20_poly1305_armv8-win.S
[61/525] Compiling err_data.cc
[63/527] Emitting module SwiftSyntax600
<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
[63/527] Compiling c-nioatomics.c
[65/527] Emitting module SystemPackage
[65/533] Compiling c-atomics.c
[67/533] Emitting module SwiftSyntax601
<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
[68/533] Compiling SwiftSyntax601 Empty.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
[69/535] Emitting module SwiftSyntax510
<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
[70/536] Compiling SwiftSyntax510 Empty.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
[71/537] Compiling SwiftSyntax600 Empty.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
[74/538] Compiling SwiftSyntax509 Empty.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
[75/538] Emitting module SwiftSyntax509
<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
[78/539] Emitting module _NIOBase64
[79/539] Compiling _NIOBase64 Base64.swift
[81/545] Compiling ZIPFoundation Archive+Reading.swift
[82/545] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
[83/545] Compiling ZIPFoundation Archive+Writing.swift
[84/545] Compiling ZIPFoundation Archive+WritingDeprecated.swift
[85/545] Compiling ZIPFoundation Archive+ZIP64.swift
[86/553] Compiling ZIPFoundation Data+CompressionDeprecated.swift
[87/553] Compiling ZIPFoundation Data+Serialization.swift
[88/553] Compiling ZIPFoundation Date+ZIP.swift
[89/553] Compiling ZIPFoundation Entry.swift
[90/553] Compiling ZIPFoundation Archive.swift
[91/553] Compiling ZIPFoundation Data+Compression.swift
[92/553] Compiling ZIPFoundation Entry+Serialization.swift
[93/553] Compiling ZIPFoundation Entry+ZIP64.swift
[94/553] Compiling _NIODataStructures PriorityQueue.swift
[95/553] Compiling _NIODataStructures _TinyArray.swift
[96/558] Compiling SystemPackage SystemString.swift
[97/558] Compiling SystemPackage Util+StringArray.swift
[98/558] Compiling SystemPackage Util.swift
[99/558] Compiling SystemPackage UtilConsumers.swift
[100/558] Emitting module _NIODataStructures
[101/559] Compiling _NIODataStructures Heap.swift
[102/568] Emitting module Path
[104/568] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[105/568] Compiling InternalCollectionsUtilities UInt+reversed.swift
[106/568] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[107/568] Compiling InternalCollectionsUtilities Integer rank.swift
[108/568] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[109/603] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[110/641] Compiling SwiftSyntax EditorPlaceholder.swift
[111/641] Compiling SwiftSyntax Identifier.swift
[112/641] Compiling SwiftSyntax MemoryLayout.swift
[113/641] Compiling SwiftSyntax MissingNodeInitializers.swift
[114/641] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[115/641] Compiling NIOConcurrencyHelpers NIOLock.swift
[116/641] Compiling NIOConcurrencyHelpers lock.swift
[117/641] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[118/641] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[119/641] Compiling NIOConcurrencyHelpers atomics.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[120/641] 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 {
[121/641] Emitting module NIOConcurrencyHelpers
[123/644] Compiling SwiftSyntax Convenience.swift
[124/644] Compiling SwiftSyntax CustomTraits.swift
[125/644] Compiling SwiftSyntax AbsolutePosition.swift
[126/644] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[127/644] Emitting module InternalCollectionsUtilities
[128/644] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[129/644] Compiling SwiftSyntax Assert.swift
[130/644] Compiling SwiftSyntax BumpPtrAllocator.swift
[131/644] Compiling SwiftSyntax CommonAncestor.swift
[133/652] Compiling Path Path.swift
[133/653] Wrapping AST for SwiftSyntax601 for debugging
[135/668] Wrapping AST for SwiftSyntax600 for debugging
[136/668] Wrapping AST for SwiftSyntax510 for debugging
[138/668] Compiling DequeModule Deque+CustomReflectable.swift
[139/668] Compiling DequeModule Deque+Descriptions.swift
[139/670] Wrapping AST for SwiftSyntax509 for debugging
[141/670] Compiling DequeModule _DequeBuffer.swift
[142/670] Compiling DequeModule _DequeBufferHeader.swift
[143/670] Compiling SwiftSyntax SourceLocation.swift
[144/670] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[145/670] Compiling ZIPFoundation URL+ZIP.swift
[146/670] Compiling SwiftSyntax Syntax.swift
[147/670] Compiling Logging MetadataProvider.swift
[148/670] Compiling SwiftSyntax SyntaxArena.swift
[149/670] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[150/670] Compiling SwiftSyntax SyntaxChildren.swift
[151/670] Compiling SwiftSyntax SyntaxCollection.swift
[152/670] Compiling SwiftSyntax SyntaxHashable.swift
[153/670] Compiling SwiftSyntax SyntaxIdentifier.swift
[154/670] Compiling SwiftSyntax SyntaxNodeFactory.swift
[155/670] Compiling SwiftSyntax SyntaxNodeStructure.swift
[156/671] Compiling Logging LogHandler.swift
[157/671] Compiling Logging Locks.swift
[158/671] Emitting module Logging
[159/671] Compiling Logging Logging.swift
[160/672] Compiling DequeModule Deque+Equatable.swift
[161/672] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[162/672] Wrapping AST for _NIODataStructures for debugging
[164/672] Wrapping AST for _NIOBase64 for debugging
[165/672] Wrapping AST for Path for debugging
[166/672] Wrapping AST for SystemPackage for debugging
[167/672] Wrapping AST for NIOConcurrencyHelpers for debugging
[168/672] Wrapping AST for Logging for debugging
/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:72:34: error: cannot find 'errno' in scope
70 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
71 | guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
72 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
73 | }
74 | 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:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 | zipFileCommentData: Data())
108 | _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 | 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'
110 | }
111 | 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:72:34: error: cannot find 'errno' in scope
70 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
71 | guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
72 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
73 | }
74 | 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:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 | zipFileCommentData: Data())
108 | _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 | 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'
110 | }
111 | fallthrough
[172/672] Compiling DequeModule Deque+Codable.swift
/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:72:34: error: cannot find 'errno' in scope
70 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
71 | guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
72 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
73 | }
74 | 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:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 | zipFileCommentData: Data())
108 | _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 | 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'
110 | }
111 | fallthrough
[173/672] Compiling DequeModule _DequeSlot.swift
[174/672] Compiling DequeModule _UnsafeWrappedBuffer.swift
[174/672] Wrapping AST for InternalCollectionsUtilities for debugging
[175/672] Compiling chacha20_poly1305_armv8-linux.S
[178/672] Compiling chacha20_poly1305_armv8-apple.S
[179/672] Compiling chacha-x86_64-linux.S
[181/672] Compiling DequeModule Deque+Collection.swift
/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+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+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
[184/672] Compiling DequeModule Deque+Testing.swift
/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,
[185/672] Compiling DequeModule Deque._Storage.swift
/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,
[186/672] Compiling DequeModule Deque._UnsafeHandle.swift
/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,
[187/672] Compiling DequeModule Deque.swift
[190/672] Compiling Glob Unicode.GeneralCategory+Helpers.swift
[191/672] Compiling FileIO system.swift
[191/672] Compiling chacha-x86_64-apple.S
[193/672] Emitting module Glob
[193/672] Compiling chacha-x86-linux.S
[199/672] Compiling DequeModule Deque+Extras.swift
[200/672] Compiling DequeModule Deque+Hashable.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 {
[207/672] Compiling SwiftSyntax SourceEdit.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 {
[208/672] Compiling SwiftSyntax SourceLength.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:241:72: error: cannot find 'S_IFMT' in scope
239 | switch osType {
240 | case .unix, .osx:
241 | let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
| `- error: cannot find 'S_IFMT' in scope
242 | let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
243 | return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:253:30: error: cannot find 'S_IFREG' in scope
251 | switch type {
252 | case .file:
253 | typeInt = UInt16(S_IFREG)
| `- error: cannot find 'S_IFREG' in scope
254 | case .directory:
255 | typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:255:30: error: cannot find 'S_IFDIR' in scope
253 | typeInt = UInt16(S_IFREG)
254 | case .directory:
255 | typeInt = UInt16(S_IFDIR)
| `- error: cannot find 'S_IFDIR' in scope
256 | case .symlink:
257 | typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:257:30: error: cannot find 'S_IFLNK' in scope
255 | typeInt = UInt16(S_IFDIR)
256 | case .symlink:
257 | typeInt = UInt16(S_IFLNK)
| `- error: cannot find 'S_IFLNK' in scope
258 | }
259 | var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:267:24: error: cannot find 'stat' in scope
265 | let fileManager = FileManager()
266 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
268 | lstat(entryFileSystemRepresentation, &fileStat)
269 | let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:268:9: error: cannot find 'lstat' in scope
266 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 | var fileStat = stat()
268 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
269 | let permissions = fileStat.st_mode
270 | return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:279:24: error: cannot find 'stat' in scope
277 | }
278 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
280 | lstat(entryFileSystemRepresentation, &fileStat)
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:280:9: error: cannot find 'lstat' in scope
278 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 | var fileStat = stat()
280 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
282 | let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:299:21: error: cannot find 'stat' in scope
297 |
298 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 | var stats = stat()
| `- error: cannot find 'stat' in scope
300 | lstat(entryFileSystemRepresentation, &stats)
301 | guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:300:9: error: cannot find 'lstat' in scope
298 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 | var stats = stat()
300 | lstat(entryFileSystemRepresentation, &stats)
| `- error: cannot find 'lstat' in scope
301 | guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
302 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:313:24: error: cannot find 'stat' in scope
311 | }
312 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
314 | lstat(entryFileSystemRepresentation, &fileStat)
315 | return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:314:9: error: cannot find 'lstat' in scope
312 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 | var fileStat = stat()
314 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
315 | return Entry.EntryType(mode: mode_t(fileStat.st_mode))
316 | }
/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:241:72: error: cannot find 'S_IFMT' in scope
239 | switch osType {
240 | case .unix, .osx:
241 | let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
| `- error: cannot find 'S_IFMT' in scope
242 | let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
243 | return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:253:30: error: cannot find 'S_IFREG' in scope
251 | switch type {
252 | case .file:
253 | typeInt = UInt16(S_IFREG)
| `- error: cannot find 'S_IFREG' in scope
254 | case .directory:
255 | typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:255:30: error: cannot find 'S_IFDIR' in scope
253 | typeInt = UInt16(S_IFREG)
254 | case .directory:
255 | typeInt = UInt16(S_IFDIR)
| `- error: cannot find 'S_IFDIR' in scope
256 | case .symlink:
257 | typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:257:30: error: cannot find 'S_IFLNK' in scope
255 | typeInt = UInt16(S_IFDIR)
256 | case .symlink:
257 | typeInt = UInt16(S_IFLNK)
| `- error: cannot find 'S_IFLNK' in scope
258 | }
259 | var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:267:24: error: cannot find 'stat' in scope
265 | let fileManager = FileManager()
266 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
268 | lstat(entryFileSystemRepresentation, &fileStat)
269 | let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:268:9: error: cannot find 'lstat' in scope
266 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 | var fileStat = stat()
268 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
269 | let permissions = fileStat.st_mode
270 | return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:279:24: error: cannot find 'stat' in scope
277 | }
278 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
280 | lstat(entryFileSystemRepresentation, &fileStat)
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:280:9: error: cannot find 'lstat' in scope
278 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 | var fileStat = stat()
280 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
282 | let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:299:21: error: cannot find 'stat' in scope
297 |
298 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 | var stats = stat()
| `- error: cannot find 'stat' in scope
300 | lstat(entryFileSystemRepresentation, &stats)
301 | guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:300:9: error: cannot find 'lstat' in scope
298 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 | var stats = stat()
300 | lstat(entryFileSystemRepresentation, &stats)
| `- error: cannot find 'lstat' in scope
301 | guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
302 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:313:24: error: cannot find 'stat' in scope
311 | }
312 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
314 | lstat(entryFileSystemRepresentation, &fileStat)
315 | return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:314:9: error: cannot find 'lstat' in scope
312 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 | var fileStat = stat()
314 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
315 | return Entry.EntryType(mode: mode_t(fileStat.st_mode))
316 | }
[209/672] Compiling chacha-x86-apple.S
[210/672] Compiling chacha-armv8-linux.S
[211/672] Compiling chacha-armv8-win.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[213/672] Emitting module FileIO
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:155:13: error: cannot find 'msync' in scope
153 | data.withUnsafeBytes { buffer in
154 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
155 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'msync' in scope
156 | }
157 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:155:57: error: cannot find 'MS_SYNC' in scope
153 | data.withUnsafeBytes { buffer in
154 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
155 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
156 | }
157 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:202:9: error: cannot find 'msync' in scope
200 | .assumingMemoryBound(to: T.self)
201 | .pointee = value
202 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
203 | }
204 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:202:49: error: cannot find 'MS_SYNC' in scope
200 | .assumingMemoryBound(to: T.self)
201 | .pointee = value
202 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
203 | }
204 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:99:13: error: cannot find 'msync' in scope
97 | data.withUnsafeBytes { buffer in
98 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
99 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'msync' in scope
100 | }
101 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:99:57: error: cannot find 'MS_SYNC' in scope
97 | data.withUnsafeBytes { buffer in
98 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
99 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
100 | }
101 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:105:9: error: cannot find 'msync' in scope
103 | @inlinable @inline(__always)
104 | public func sync() {
105 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'msync' in scope
106 | }
107 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:105:26: error: cannot find 'MS_SYNC' in scope
103 | @inlinable @inline(__always)
104 | public func sync() {
105 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
106 | }
107 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:152:13: error: cannot find 'msync' in scope
150 | data.withUnsafeBytes { buffer in
151 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
152 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'msync' in scope
153 | }
154 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:152:68: error: cannot find 'MS_SYNC' in scope
150 | data.withUnsafeBytes { buffer in
151 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
152 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
153 | }
154 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:207:9: error: cannot find 'msync' in scope
205 | .assumingMemoryBound(to: T.self)
206 | .pointee = value
207 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
208 | }
209 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:207:49: error: cannot find 'MS_SYNC' in scope
205 | .assumingMemoryBound(to: T.self)
206 | .pointee = value
207 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
208 | }
209 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:284:9: error: cannot find 'msync' in scope
282 | @inlinable @inline(__always)
283 | public func sync() {
284 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'msync' in scope
285 | }
286 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:284:58: error: cannot find 'MS_SYNC' in scope
282 | @inlinable @inline(__always)
283 | public func sync() {
284 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
285 | }
286 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:348:9: error: cannot find 'msync' in scope
346 | .assumingMemoryBound(to: T.self)
347 | .pointee = value
348 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
349 | }
350 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:348:49: error: cannot find 'MS_SYNC' in scope
346 | .assumingMemoryBound(to: T.self)
347 | .pointee = value
348 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
349 | }
350 | }
[214/672] Compiling FileIO FileIO.swift
[215/672] Compiling FileIO MemoryMappedFile.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:34:13: error: cannot find 'close' in scope
32 | unmap()
33 | if fileDescriptor >= 0 {
34 | close(fileDescriptor)
| `- error: cannot find 'close' in scope
35 | }
36 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:41:47: error: cannot find 'O_RDWR' in scope
39 | extension MemoryMappedFile {
40 | public static func open(url: URL, isWritable: Bool) throws -> MemoryMappedFile {
41 | let fd = _open(url.path, isWritable ? O_RDWR : O_RDONLY)
| `- error: cannot find 'O_RDWR' in scope
42 | guard _fastPath(fd > 0) else {
43 | throw POSIXError(.init(rawValue: errno)!)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:41:56: error: cannot find 'O_RDONLY' in scope
39 | extension MemoryMappedFile {
40 | public static func open(url: URL, isWritable: Bool) throws -> MemoryMappedFile {
41 | let fd = _open(url.path, isWritable ? O_RDWR : O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
42 | guard _fastPath(fd > 0) else {
43 | throw POSIXError(.init(rawValue: errno)!)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:43:46: error: cannot find 'errno' in scope
41 | let fd = _open(url.path, isWritable ? O_RDWR : O_RDONLY)
42 | guard _fastPath(fd > 0) else {
43 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
44 | }
45 |
/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/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:46:24: error: cannot find 'lseek' in scope
44 | }
45 |
46 | let fileSize = lseek(fd, 0, SEEK_END)
| `- error: cannot find 'lseek' in scope
47 | guard _fastPath(fileSize >= 0) else {
48 | close(fd)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:48:13: error: cannot find 'close' in scope
46 | let fileSize = lseek(fd, 0, SEEK_END)
47 | guard _fastPath(fileSize >= 0) else {
48 | close(fd)
| `- error: cannot find 'close' in scope
49 | throw POSIXError(.init(rawValue: errno)!)
50 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:49:46: error: cannot find 'errno' in scope
47 | guard _fastPath(fileSize >= 0) else {
48 | close(fd)
49 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
50 | }
51 |
/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/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:61:27: error: cannot find 'PROT_READ' in scope
59 | }
60 |
61 | var prot: Int32 = PROT_READ
| `- error: cannot find 'PROT_READ' in scope
62 | if isWritable { prot |= PROT_WRITE }
63 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:62:33: error: cannot find 'PROT_WRITE' in scope
60 |
61 | var prot: Int32 = PROT_READ
62 | if isWritable { prot |= PROT_WRITE }
| `- error: cannot find 'PROT_WRITE' in scope
63 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
64 | guard let ptr,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:63:19: error: cannot find 'mmap' in scope
61 | var prot: Int32 = PROT_READ
62 | if isWritable { prot |= PROT_WRITE }
63 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
| `- error: cannot find 'mmap' in scope
64 | guard let ptr,
65 | _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:63:50: error: cannot find 'MAP_SHARED' in scope
61 | var prot: Int32 = PROT_READ
62 | if isWritable { prot |= PROT_WRITE }
63 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
| `- error: cannot find 'MAP_SHARED' in scope
64 | guard let ptr,
65 | _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:63:24: error: 'nil' requires a contextual type
61 | var prot: Int32 = PROT_READ
62 | if isWritable { prot |= PROT_WRITE }
63 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
| `- error: 'nil' requires a contextual type
64 | guard let ptr,
65 | _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:65:32: error: cannot find 'MAP_FAILED' in scope
63 | let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
64 | guard let ptr,
65 | _fastPath(ptr != MAP_FAILED) else {
| `- error: cannot find 'MAP_FAILED' in scope
66 | close(fd)
67 | throw POSIXError(.init(rawValue: errno)!)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:66:13: error: cannot find 'close' in scope
64 | guard let ptr,
65 | _fastPath(ptr != MAP_FAILED) else {
66 | close(fd)
| `- error: cannot find 'close' in scope
67 | throw POSIXError(.init(rawValue: errno)!)
68 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:67:46: error: cannot find 'errno' in scope
65 | _fastPath(ptr != MAP_FAILED) else {
66 | close(fd)
67 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
68 | }
69 |
/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/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:99:13: error: cannot find 'msync' in scope
97 | data.withUnsafeBytes { buffer in
98 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
99 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'msync' in scope
100 | }
101 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:99:57: error: cannot find 'MS_SYNC' in scope
97 | data.withUnsafeBytes { buffer in
98 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
99 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
100 | }
101 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:105:9: error: cannot find 'msync' in scope
103 | @inlinable @inline(__always)
104 | public func sync() {
105 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'msync' in scope
106 | }
107 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:105:26: error: cannot find 'MS_SYNC' in scope
103 | @inlinable @inline(__always)
104 | public func sync() {
105 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
106 | }
107 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:109:9: error: cannot find 'munmap' in scope
107 |
108 | internal func unmap() {
109 | munmap(ptr, size)
| `- error: cannot find 'munmap' in scope
110 | }
111 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:118:15: error: cannot find 'ftruncate' in scope
116 | guard _fastPath(newSize >= 0) else { return }
117 |
118 | guard ftruncate(fileDescriptor, off_t(newSize)) == 0 else {
| `- error: cannot find 'ftruncate' in scope
119 | throw POSIXError(.init(rawValue: errno)!)
120 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:119:46: error: cannot find 'errno' in scope
117 |
118 | guard ftruncate(fileDescriptor, off_t(newSize)) == 0 else {
119 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
120 | }
121 |
/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/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:124:27: error: cannot find 'PROT_READ' in scope
122 | unmap()
123 |
124 | var prot: Int32 = PROT_READ
| `- error: cannot find 'PROT_READ' in scope
125 | if isWritable { prot |= PROT_WRITE }
126 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:125:33: error: cannot find 'PROT_WRITE' in scope
123 |
124 | var prot: Int32 = PROT_READ
125 | if isWritable { prot |= PROT_WRITE }
| `- error: cannot find 'PROT_WRITE' in scope
126 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
127 | guard let ptr,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:126:19: error: cannot find 'mmap' in scope
124 | var prot: Int32 = PROT_READ
125 | if isWritable { prot |= PROT_WRITE }
126 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
| `- error: cannot find 'mmap' in scope
127 | guard let ptr,
128 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:126:44: error: cannot find 'MAP_SHARED' in scope
124 | var prot: Int32 = PROT_READ
125 | if isWritable { prot |= PROT_WRITE }
126 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
| `- error: cannot find 'MAP_SHARED' in scope
127 | guard let ptr,
128 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:126:24: error: 'nil' requires a contextual type
124 | var prot: Int32 = PROT_READ
125 | if isWritable { prot |= PROT_WRITE }
126 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
| `- error: 'nil' requires a contextual type
127 | guard let ptr,
128 | ptr != MAP_FAILED else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:128:22: error: cannot find 'MAP_FAILED' in scope
126 | let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
127 | guard let ptr,
128 | ptr != MAP_FAILED else {
| `- error: cannot find 'MAP_FAILED' in scope
129 | throw POSIXError(.init(rawValue: errno)!)
130 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:129:46: error: cannot find 'errno' in scope
127 | guard let ptr,
128 | ptr != MAP_FAILED else {
129 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
130 | }
131 |
/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/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:152:13: error: cannot find 'msync' in scope
150 | data.withUnsafeBytes { buffer in
151 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
152 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'msync' in scope
153 | }
154 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:152:68: error: cannot find 'MS_SYNC' in scope
150 | data.withUnsafeBytes { buffer in
151 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
152 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
153 | }
154 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:207:9: error: cannot find 'msync' in scope
205 | .assumingMemoryBound(to: T.self)
206 | .pointee = value
207 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
208 | }
209 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:207:49: error: cannot find 'MS_SYNC' in scope
205 | .assumingMemoryBound(to: T.self)
206 | .pointee = value
207 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
208 | }
209 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:284:9: error: cannot find 'msync' in scope
282 | @inlinable @inline(__always)
283 | public func sync() {
284 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'msync' in scope
285 | }
286 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:284:58: error: cannot find 'MS_SYNC' in scope
282 | @inlinable @inline(__always)
283 | public func sync() {
284 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
285 | }
286 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:348:9: error: cannot find 'msync' in scope
346 | .assumingMemoryBound(to: T.self)
347 | .pointee = value
348 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
349 | }
350 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:348:49: error: cannot find 'MS_SYNC' in scope
346 | .assumingMemoryBound(to: T.self)
347 | .pointee = value
348 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
349 | }
350 | }
[216/672] Compiling FileIO ConcatenatedMemoryMappedFile.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:49:51: error: cannot find 'O_RDWR' in scope
47 | var fdAndSizes: [(fd: CInt, size: off_t)] = []
48 | for url in urls {
49 | let fd = _open(url.path, isWritable ? O_RDWR : O_RDONLY)
| `- error: cannot find 'O_RDWR' in scope
50 | guard _fastPath(fd > 0) else {
51 | cleanup(fds: fdAndSizes.map(\.fd))
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:49:60: error: cannot find 'O_RDONLY' in scope
47 | var fdAndSizes: [(fd: CInt, size: off_t)] = []
48 | for url in urls {
49 | let fd = _open(url.path, isWritable ? O_RDWR : O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
50 | guard _fastPath(fd > 0) else {
51 | cleanup(fds: fdAndSizes.map(\.fd))
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:52:50: error: cannot find 'errno' in scope
50 | guard _fastPath(fd > 0) else {
51 | cleanup(fds: fdAndSizes.map(\.fd))
52 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
53 | }
54 |
/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/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:55:28: error: cannot find 'lseek' in scope
53 | }
54 |
55 | let fileSize = lseek(fd, 0, SEEK_END)
| `- error: cannot find 'lseek' in scope
56 | guard _fastPath(fileSize > 0) else {
57 | cleanup(fds: fdAndSizes.map(\.fd))
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:58:17: error: cannot find 'close' in scope
56 | guard _fastPath(fileSize > 0) else {
57 | cleanup(fds: fdAndSizes.map(\.fd))
58 | close(fd)
| `- error: cannot find 'close' in scope
59 | throw POSIXError(.init(rawValue: errno)!)
60 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:59:50: error: cannot find 'errno' in scope
57 | cleanup(fds: fdAndSizes.map(\.fd))
58 | close(fd)
59 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
60 | }
61 |
/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/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:67:23: error: cannot find 'mmap' in scope
65 | let fullSize = fdAndSizes.reduce(0, { $0 + $1.size })
66 |
67 | let basePtr = mmap(
| `- error: cannot find 'mmap' in scope
68 | nil,
69 | numericCast(fullSize),
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:70:13: error: cannot find 'PROT_NONE' in scope
68 | nil,
69 | numericCast(fullSize),
70 | PROT_NONE,
| `- error: cannot find 'PROT_NONE' in scope
71 | MAP_PRIVATE | MAP_ANONYMOUS,
72 | -1,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:71:13: error: cannot find 'MAP_PRIVATE' in scope
69 | numericCast(fullSize),
70 | PROT_NONE,
71 | MAP_PRIVATE | MAP_ANONYMOUS,
| `- error: cannot find 'MAP_PRIVATE' in scope
72 | -1,
73 | 0
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:71:27: error: cannot find 'MAP_ANONYMOUS' in scope
69 | numericCast(fullSize),
70 | PROT_NONE,
71 | MAP_PRIVATE | MAP_ANONYMOUS,
| `- error: cannot find 'MAP_ANONYMOUS' in scope
72 | -1,
73 | 0
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:68:13: error: 'nil' requires a contextual type
66 |
67 | let basePtr = mmap(
68 | nil,
| `- error: 'nil' requires a contextual type
69 | numericCast(fullSize),
70 | PROT_NONE,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:69:13: error: generic parameter 'U' could not be inferred
67 | let basePtr = mmap(
68 | nil,
69 | numericCast(fullSize),
| `- error: generic parameter 'U' could not be inferred
70 | PROT_NONE,
71 | MAP_PRIVATE | MAP_ANONYMOUS,
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:76:36: error: cannot find 'MAP_FAILED' in scope
74 | )
75 | guard let basePtr,
76 | _fastPath(basePtr != MAP_FAILED) else {
| `- error: cannot find 'MAP_FAILED' in scope
77 | cleanup(fds: fdAndSizes.map(\.fd))
78 | throw POSIXError(.init(rawValue: errno)!)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:78:46: error: cannot find 'errno' in scope
76 | _fastPath(basePtr != MAP_FAILED) else {
77 | cleanup(fds: fdAndSizes.map(\.fd))
78 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
79 | }
80 |
/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/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:81:27: error: cannot find 'PROT_READ' in scope
79 | }
80 |
81 | var prot: Int32 = PROT_READ
| `- error: cannot find 'PROT_READ' in scope
82 | if isWritable { prot |= PROT_WRITE }
83 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:82:33: error: cannot find 'PROT_WRITE' in scope
80 |
81 | var prot: Int32 = PROT_READ
82 | if isWritable { prot |= PROT_WRITE }
| `- error: cannot find 'PROT_WRITE' in scope
83 |
84 | var offset = 0
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:89:29: error: cannot find 'mmap' in scope
87 | let size: Int = numericCast(size)
88 | let ptr = basePtr.advanced(by: offset)
89 | let mappedPtr = mmap(ptr, size, prot, MAP_FIXED | MAP_PRIVATE, fd, 0)
| `- error: cannot find 'mmap' in scope
90 | guard ptr == mappedPtr,
91 | _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:89:51: error: cannot find 'MAP_FIXED' in scope
87 | let size: Int = numericCast(size)
88 | let ptr = basePtr.advanced(by: offset)
89 | let mappedPtr = mmap(ptr, size, prot, MAP_FIXED | MAP_PRIVATE, fd, 0)
| `- error: cannot find 'MAP_FIXED' in scope
90 | guard ptr == mappedPtr,
91 | _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:89:63: error: cannot find 'MAP_PRIVATE' in scope
87 | let size: Int = numericCast(size)
88 | let ptr = basePtr.advanced(by: offset)
89 | let mappedPtr = mmap(ptr, size, prot, MAP_FIXED | MAP_PRIVATE, fd, 0)
| `- error: cannot find 'MAP_PRIVATE' in scope
90 | guard ptr == mappedPtr,
91 | _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:91:36: error: cannot find 'MAP_FAILED' in scope
89 | let mappedPtr = mmap(ptr, size, prot, MAP_FIXED | MAP_PRIVATE, fd, 0)
90 | guard ptr == mappedPtr,
91 | _fastPath(ptr != MAP_FAILED) else {
| `- error: cannot find 'MAP_FAILED' in scope
92 | cleanup(fds: fdAndSizes.map(\.fd))
93 | throw POSIXError(.init(rawValue: errno)!)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:93:50: error: cannot find 'errno' in scope
91 | _fastPath(ptr != MAP_FAILED) else {
92 | cleanup(fds: fdAndSizes.map(\.fd))
93 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
94 | }
95 | files.append(
/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/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:119:23: error: cannot find 'close' in scope
117 |
118 | private static func cleanup(fds: [CInt]) {
119 | fds.forEach { close($0) }
| `- error: cannot find 'close' in scope
120 | }
121 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:155:13: error: cannot find 'msync' in scope
153 | data.withUnsafeBytes { buffer in
154 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
155 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'msync' in scope
156 | }
157 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:155:57: error: cannot find 'MS_SYNC' in scope
153 | data.withUnsafeBytes { buffer in
154 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
155 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
156 | }
157 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:202:9: error: cannot find 'msync' in scope
200 | .assumingMemoryBound(to: T.self)
201 | .pointee = value
202 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
203 | }
204 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:202:49: error: cannot find 'MS_SYNC' in scope
200 | .assumingMemoryBound(to: T.self)
201 | .pointee = value
202 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
203 | }
204 | }
[217/672] Compiling FileIO ConcatenatedStreamedFile.swift
[218/672] Compiling Glob Pattern.swift
[219/672] Compiling Glob GlobSearch.swift
[219/672] Compiling chacha-armv8-apple.S
[220/672] Compiling chacha-armv4-linux.S
[221/672] Compiling aes128gcmsiv-x86_64-linux.S
[223/672] Compiling Glob InvalidPattern.swift
[223/672] Compiling x86_64-mont5-apple.S
[223/672] Compiling x86_64-mont5-linux.S
[223/672] Compiling aes128gcmsiv-x86_64-apple.S
<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-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:77:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
75 | }
76 |
77 | extension SwiftSetting: CaseIterable {
| |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
78 | public static var allCases: [Self] {
79 | [
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/RosalindTests/__Snapshots__/RosalindAcceptanceTests/ios_app.1
/host/spi-builder-workspace/Tests/RosalindTests/__Snapshots__/RosalindAcceptanceTests/ios_app_xcarchive.1
/host/spi-builder-workspace/Tests/RosalindTests/__Snapshots__/RosalindAcceptanceTests/ios_app_ipa.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
[0/1] Planning build
Building for debugging...
[0/392] Compiling x86_64-mont-linux.S
[0/392] Compiling x86_64-mont5-linux.S
[2/392] Compiling x86_64-mont-apple.S
[3/392] Compiling aes128gcmsiv-x86_64-apple.S
[4/392] Compiling x86_64-mont5-apple.S
[5/392] Compiling x86-mont-apple.S
[6/392] Compiling x86-mont-linux.S
[7/392] Compiling vpaes-x86_64-linux.S
[8/392] Compiling vpaes-x86_64-apple.S
[9/392] Compiling vpaes-armv8-win.S
[10/392] Compiling vpaes-x86-apple.S
[11/392] Compiling vpaes-armv8-apple.S
[12/392] Compiling sha512-x86_64-linux.S
[13/392] Compiling vpaes-x86-linux.S
[14/392] Compiling vpaes-armv7-linux.S
[15/392] Compiling sha512-x86_64-apple.S
[16/392] Compiling vpaes-armv8-linux.S
[17/392] Compiling sha512-armv8-win.S
[18/392] Compiling sha512-armv8-apple.S
[19/392] Compiling sha512-586-apple.S
[20/392] Compiling sha512-armv4-linux.S
[21/392] Compiling sha512-armv8-linux.S
[22/392] Compiling sha512-586-linux.S
[23/392] Compiling sha256-armv8-win.S
[24/392] Compiling sha256-x86_64-linux.S
[25/392] Compiling sha256-x86_64-apple.S
[26/392] Compiling sha256-armv8-apple.S
[27/392] Write swift-version-24593BA9C3E375BF.txt
[28/392] Compiling sha256-armv4-linux.S
[29/392] Compiling sha1-x86_64-apple.S
[29/392] Compiling sha256-586-apple.S
[31/392] Compiling sha256-armv8-linux.S
[32/392] Compiling sha1-x86_64-linux.S
[33/392] Compiling sha256-586-linux.S
[34/392] Compiling sha1-armv8-win.S
[35/392] Compiling sha1-armv8-linux.S
[37/457] Emitting module SwiftSyntax509
[38/457] Compiling SwiftSyntax509 Empty.swift
[39/458] Emitting module SwiftSyntax601
[40/458] Compiling SwiftSyntax510 Empty.swift
[41/458] Emitting module SwiftSyntax510
[42/459] Compiling SwiftSyntax601 Empty.swift
[43/459] Emitting module SwiftSyntax600
[44/459] Compiling SwiftSyntax600 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/463] 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 {
[50/472] Compiling SystemPackage Syscalls.swift
[51/472] Compiling SystemPackage WindowsSyscallAdapters.swift
[52/472] Compiling SystemPackage MachPort.swift
[53/472] Compiling SystemPackage PlatformString.swift
[54/490] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
/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
[55/490] Compiling InternalCollectionsUtilities Integer rank.swift
/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
[56/490] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
/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
[57/490] Compiling InternalCollectionsUtilities UInt+reversed.swift
/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:72:34: error: cannot find 'errno' in scope
70 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
71 | guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
72 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
73 | }
74 | 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:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 | zipFileCommentData: Data())
108 | _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 | 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'
110 | }
111 | fallthrough
[58/490] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
/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:72:34: error: cannot find 'errno' in scope
70 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
71 | guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
72 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
73 | }
74 | 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:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 | zipFileCommentData: Data())
108 | _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 | 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'
110 | }
111 | fallthrough
[59/490] Compiling InternalCollectionsUtilities _SortedCollection.swift
/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:72:34: error: cannot find 'errno' in scope
70 | let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
71 | guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
72 | throw POSIXError(errno, path: url.path)
| `- error: cannot find 'errno' in scope
73 | }
74 | 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:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 | zipFileCommentData: Data())
108 | _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 | 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'
110 | }
111 | fallthrough
[60/490] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[61/490] Compiling ZIPFoundation URL+ZIP.swift
[62/490] Emitting module _NIODataStructures
[63/490] Emitting module _NIOBase64
[64/490] Compiling _NIOBase64 Base64.swift
[65/491] Compiling _NIODataStructures Heap.swift
[66/491] Compiling _NIODataStructures PriorityQueue.swift
[67/491] Compiling _NIODataStructures _TinyArray.swift
[68/492] Compiling Logging MetadataProvider.swift
[69/492] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[70/493] Compiling InternalCollectionsUtilities Descriptions.swift
[71/493] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[72/493] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[73/493] Compiling InternalCollectionsUtilities Debugging.swift
[74/493] Compiling NIOConcurrencyHelpers NIOLock.swift
[75/493] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[80/493] Compiling ZIPFoundation Entry.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:241:72: error: cannot find 'S_IFMT' in scope
239 | switch osType {
240 | case .unix, .osx:
241 | let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
| `- error: cannot find 'S_IFMT' in scope
242 | let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
243 | return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:253:30: error: cannot find 'S_IFREG' in scope
251 | switch type {
252 | case .file:
253 | typeInt = UInt16(S_IFREG)
| `- error: cannot find 'S_IFREG' in scope
254 | case .directory:
255 | typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:255:30: error: cannot find 'S_IFDIR' in scope
253 | typeInt = UInt16(S_IFREG)
254 | case .directory:
255 | typeInt = UInt16(S_IFDIR)
| `- error: cannot find 'S_IFDIR' in scope
256 | case .symlink:
257 | typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:257:30: error: cannot find 'S_IFLNK' in scope
255 | typeInt = UInt16(S_IFDIR)
256 | case .symlink:
257 | typeInt = UInt16(S_IFLNK)
| `- error: cannot find 'S_IFLNK' in scope
258 | }
259 | var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:267:24: error: cannot find 'stat' in scope
265 | let fileManager = FileManager()
266 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
268 | lstat(entryFileSystemRepresentation, &fileStat)
269 | let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:268:9: error: cannot find 'lstat' in scope
266 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 | var fileStat = stat()
268 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
269 | let permissions = fileStat.st_mode
270 | return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:279:24: error: cannot find 'stat' in scope
277 | }
278 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
280 | lstat(entryFileSystemRepresentation, &fileStat)
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:280:9: error: cannot find 'lstat' in scope
278 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 | var fileStat = stat()
280 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
282 | let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:299:21: error: cannot find 'stat' in scope
297 |
298 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 | var stats = stat()
| `- error: cannot find 'stat' in scope
300 | lstat(entryFileSystemRepresentation, &stats)
301 | guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:300:9: error: cannot find 'lstat' in scope
298 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 | var stats = stat()
300 | lstat(entryFileSystemRepresentation, &stats)
| `- error: cannot find 'lstat' in scope
301 | guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
302 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:313:24: error: cannot find 'stat' in scope
311 | }
312 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
314 | lstat(entryFileSystemRepresentation, &fileStat)
315 | return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:314:9: error: cannot find 'lstat' in scope
312 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 | var fileStat = stat()
314 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
315 | return Entry.EntryType(mode: mode_t(fileStat.st_mode))
316 | }
[81/493] Compiling ZIPFoundation FileManager+ZIP.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:241:72: error: cannot find 'S_IFMT' in scope
239 | switch osType {
240 | case .unix, .osx:
241 | let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
| `- error: cannot find 'S_IFMT' in scope
242 | let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
243 | return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:253:30: error: cannot find 'S_IFREG' in scope
251 | switch type {
252 | case .file:
253 | typeInt = UInt16(S_IFREG)
| `- error: cannot find 'S_IFREG' in scope
254 | case .directory:
255 | typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:255:30: error: cannot find 'S_IFDIR' in scope
253 | typeInt = UInt16(S_IFREG)
254 | case .directory:
255 | typeInt = UInt16(S_IFDIR)
| `- error: cannot find 'S_IFDIR' in scope
256 | case .symlink:
257 | typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:257:30: error: cannot find 'S_IFLNK' in scope
255 | typeInt = UInt16(S_IFDIR)
256 | case .symlink:
257 | typeInt = UInt16(S_IFLNK)
| `- error: cannot find 'S_IFLNK' in scope
258 | }
259 | var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:267:24: error: cannot find 'stat' in scope
265 | let fileManager = FileManager()
266 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
268 | lstat(entryFileSystemRepresentation, &fileStat)
269 | let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:268:9: error: cannot find 'lstat' in scope
266 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 | var fileStat = stat()
268 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
269 | let permissions = fileStat.st_mode
270 | return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:279:24: error: cannot find 'stat' in scope
277 | }
278 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
280 | lstat(entryFileSystemRepresentation, &fileStat)
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:280:9: error: cannot find 'lstat' in scope
278 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 | var fileStat = stat()
280 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
282 | let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:299:21: error: cannot find 'stat' in scope
297 |
298 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 | var stats = stat()
| `- error: cannot find 'stat' in scope
300 | lstat(entryFileSystemRepresentation, &stats)
301 | guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:300:9: error: cannot find 'lstat' in scope
298 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 | var stats = stat()
300 | lstat(entryFileSystemRepresentation, &stats)
| `- error: cannot find 'lstat' in scope
301 | guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
302 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:313:24: error: cannot find 'stat' in scope
311 | }
312 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 | var fileStat = stat()
| `- error: cannot find 'stat' in scope
314 | lstat(entryFileSystemRepresentation, &fileStat)
315 | return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:314:9: error: cannot find 'lstat' in scope
312 | let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 | var fileStat = stat()
314 | lstat(entryFileSystemRepresentation, &fileStat)
| `- error: cannot find 'lstat' in scope
315 | return Entry.EntryType(mode: mode_t(fileStat.st_mode))
316 | }
[82/493] Compiling ZIPFoundation Date+ZIP.swift
[83/493] Compiling ZIPFoundation Entry+Serialization.swift
[84/493] Compiling ZIPFoundation Entry+ZIP64.swift
[89/492] Compiling SystemPackage CInterop.swift
[90/492] Compiling SystemPackage Constants.swift
[91/492] Compiling SystemPackage Exports.swift
[92/492] Compiling SystemPackage Mocking.swift
[93/492] Compiling SystemPackage RawBuffer.swift
[95/492] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[96/492] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[98/491] Compiling NIOConcurrencyHelpers lock.swift
[99/491] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[100/491] Compiling NIOConcurrencyHelpers atomics.swift
[101/491] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[104/491] Emitting module Logging
[105/491] Emitting module NIOConcurrencyHelpers
[107/563] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[108/563] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[109/563] Emitting module InternalCollectionsUtilities
[110/563] Compiling SwiftSyntax RawSyntaxTokenView.swift
[111/563] Compiling SwiftSyntax SourceEdit.swift
[112/564] Compiling SwiftSyntax Convenience.swift
[113/564] Compiling SwiftSyntax CustomTraits.swift
[114/564] Compiling SwiftSyntax Assert.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 {
[115/564] Compiling SwiftSyntax BumpPtrAllocator.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 {
[116/564] Compiling SwiftSyntax CommonAncestor.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 {
[117/564] Emitting module SystemPackage
[118/564] Compiling Glob Unicode.GeneralCategory+Helpers.swift
[119/564] Compiling Glob InvalidPattern.swift
[121/565] Compiling Path Path.swift
[122/565] Emitting module Path
[122/572] Compiling sha1-armv8-apple.S
[125/586] Compiling Glob Pattern.swift
[126/586] Compiling FileIO system.swift
[127/586] Compiling Glob Pattern+Options.swift
[128/586] Compiling Glob Pattern+Parser.swift
[128/586] Wrapping AST for InternalCollectionsUtilities for debugging
[129/586] Compiling sha1-armv4-large-linux.S
[131/586] Compiling SwiftSyntax SyntaxProtocol.swift
[132/586] Compiling SwiftSyntax SyntaxText.swift
[133/586] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[134/586] Compiling SwiftSyntax TokenDiagnostic.swift
[134/586] Compiling sha1-586-linux.S
[136/586] Emitting module Glob
[136/586] Compiling sha1-586-apple.S
[138/586] Compiling DequeModule Deque+CustomReflectable.swift
[139/586] Compiling DequeModule Deque+Descriptions.swift
[139/588] Compiling rsaz-avx2-linux.S
[141/588] Compiling Glob Pattern+Match.swift
[142/588] Compiling Glob GlobSearch.swift
[143/589] Compiling DequeModule _DequeBuffer.swift
[144/589] Compiling DequeModule _DequeBufferHeader.swift
[145/589] Compiling Logging Locks.swift
[146/589] Compiling Logging LogHandler.swift
[147/589] Compiling Logging Logging.swift
[147/590] Compiling rsaz-avx2-apple.S
[149/590] Compiling FileIO ConcatenatedStreamedFile.swift
[150/590] Compiling FileIO ConcatenatedMemoryMappedFile.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:49:51: error: cannot find 'O_RDWR' in scope
47 | var fdAndSizes: [(fd: CInt, size: off_t)] = []
48 | for url in urls {
49 | let fd = _open(url.path, isWritable ? O_RDWR : O_RDONLY)
| `- error: cannot find 'O_RDWR' in scope
50 | guard _fastPath(fd > 0) else {
51 | cleanup(fds: fdAndSizes.map(\.fd))
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:49:60: error: cannot find 'O_RDONLY' in scope
47 | var fdAndSizes: [(fd: CInt, size: off_t)] = []
48 | for url in urls {
49 | let fd = _open(url.path, isWritable ? O_RDWR : O_RDONLY)
| `- error: cannot find 'O_RDONLY' in scope
50 | guard _fastPath(fd > 0) else {
51 | cleanup(fds: fdAndSizes.map(\.fd))
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:52:50: error: cannot find 'errno' in scope
50 | guard _fastPath(fd > 0) else {
51 | cleanup(fds: fdAndSizes.map(\.fd))
52 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
53 | }
54 |
/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/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:55:28: error: cannot find 'lseek' in scope
53 | }
54 |
55 | let fileSize = lseek(fd, 0, SEEK_END)
| `- error: cannot find 'lseek' in scope
56 | guard _fastPath(fileSize > 0) else {
57 | cleanup(fds: fdAndSizes.map(\.fd))
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:58:17: error: cannot find 'close' in scope
56 | guard _fastPath(fileSize > 0) else {
57 | cleanup(fds: fdAndSizes.map(\.fd))
58 | close(fd)
| `- error: cannot find 'close' in scope
59 | throw POSIXError(.init(rawValue: errno)!)
60 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:59:50: error: cannot find 'errno' in scope
57 | cleanup(fds: fdAndSizes.map(\.fd))
58 | close(fd)
59 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
60 | }
61 |
/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/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:67:23: error: cannot find 'mmap' in scope
65 | let fullSize = fdAndSizes.reduce(0, { $0 + $1.size })
66 |
67 | let basePtr = mmap(
| `- error: cannot find 'mmap' in scope
68 | nil,
69 | numericCast(fullSize),
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:70:13: error: cannot find 'PROT_NONE' in scope
68 | nil,
69 | numericCast(fullSize),
70 | PROT_NONE,
| `- error: cannot find 'PROT_NONE' in scope
71 | MAP_PRIVATE | MAP_ANONYMOUS,
72 | -1,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:71:13: error: cannot find 'MAP_PRIVATE' in scope
69 | numericCast(fullSize),
70 | PROT_NONE,
71 | MAP_PRIVATE | MAP_ANONYMOUS,
| `- error: cannot find 'MAP_PRIVATE' in scope
72 | -1,
73 | 0
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:71:27: error: cannot find 'MAP_ANONYMOUS' in scope
69 | numericCast(fullSize),
70 | PROT_NONE,
71 | MAP_PRIVATE | MAP_ANONYMOUS,
| `- error: cannot find 'MAP_ANONYMOUS' in scope
72 | -1,
73 | 0
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:68:13: error: 'nil' requires a contextual type
66 |
67 | let basePtr = mmap(
68 | nil,
| `- error: 'nil' requires a contextual type
69 | numericCast(fullSize),
70 | PROT_NONE,
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:69:13: error: generic parameter 'U' could not be inferred
67 | let basePtr = mmap(
68 | nil,
69 | numericCast(fullSize),
| `- error: generic parameter 'U' could not be inferred
70 | PROT_NONE,
71 | MAP_PRIVATE | MAP_ANONYMOUS,
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:76:36: error: cannot find 'MAP_FAILED' in scope
74 | )
75 | guard let basePtr,
76 | _fastPath(basePtr != MAP_FAILED) else {
| `- error: cannot find 'MAP_FAILED' in scope
77 | cleanup(fds: fdAndSizes.map(\.fd))
78 | throw POSIXError(.init(rawValue: errno)!)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:78:46: error: cannot find 'errno' in scope
76 | _fastPath(basePtr != MAP_FAILED) else {
77 | cleanup(fds: fdAndSizes.map(\.fd))
78 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
79 | }
80 |
/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/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:81:27: error: cannot find 'PROT_READ' in scope
79 | }
80 |
81 | var prot: Int32 = PROT_READ
| `- error: cannot find 'PROT_READ' in scope
82 | if isWritable { prot |= PROT_WRITE }
83 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:82:33: error: cannot find 'PROT_WRITE' in scope
80 |
81 | var prot: Int32 = PROT_READ
82 | if isWritable { prot |= PROT_WRITE }
| `- error: cannot find 'PROT_WRITE' in scope
83 |
84 | var offset = 0
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:89:29: error: cannot find 'mmap' in scope
87 | let size: Int = numericCast(size)
88 | let ptr = basePtr.advanced(by: offset)
89 | let mappedPtr = mmap(ptr, size, prot, MAP_FIXED | MAP_PRIVATE, fd, 0)
| `- error: cannot find 'mmap' in scope
90 | guard ptr == mappedPtr,
91 | _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:89:51: error: cannot find 'MAP_FIXED' in scope
87 | let size: Int = numericCast(size)
88 | let ptr = basePtr.advanced(by: offset)
89 | let mappedPtr = mmap(ptr, size, prot, MAP_FIXED | MAP_PRIVATE, fd, 0)
| `- error: cannot find 'MAP_FIXED' in scope
90 | guard ptr == mappedPtr,
91 | _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:89:63: error: cannot find 'MAP_PRIVATE' in scope
87 | let size: Int = numericCast(size)
88 | let ptr = basePtr.advanced(by: offset)
89 | let mappedPtr = mmap(ptr, size, prot, MAP_FIXED | MAP_PRIVATE, fd, 0)
| `- error: cannot find 'MAP_PRIVATE' in scope
90 | guard ptr == mappedPtr,
91 | _fastPath(ptr != MAP_FAILED) else {
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:91:36: error: cannot find 'MAP_FAILED' in scope
89 | let mappedPtr = mmap(ptr, size, prot, MAP_FIXED | MAP_PRIVATE, fd, 0)
90 | guard ptr == mappedPtr,
91 | _fastPath(ptr != MAP_FAILED) else {
| `- error: cannot find 'MAP_FAILED' in scope
92 | cleanup(fds: fdAndSizes.map(\.fd))
93 | throw POSIXError(.init(rawValue: errno)!)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:93:50: error: cannot find 'errno' in scope
91 | _fastPath(ptr != MAP_FAILED) else {
92 | cleanup(fds: fdAndSizes.map(\.fd))
93 | throw POSIXError(.init(rawValue: errno)!)
| `- error: cannot find 'errno' in scope
94 | }
95 | files.append(
/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/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:119:23: error: cannot find 'close' in scope
117 |
118 | private static func cleanup(fds: [CInt]) {
119 | fds.forEach { close($0) }
| `- error: cannot find 'close' in scope
120 | }
121 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:155:13: error: cannot find 'msync' in scope
153 | data.withUnsafeBytes { buffer in
154 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
155 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'msync' in scope
156 | }
157 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:155:57: error: cannot find 'MS_SYNC' in scope
153 | data.withUnsafeBytes { buffer in
154 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
155 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
156 | }
157 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:202:9: error: cannot find 'msync' in scope
200 | .assumingMemoryBound(to: T.self)
201 | .pointee = value
202 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
203 | }
204 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:202:49: error: cannot find 'MS_SYNC' in scope
200 | .assumingMemoryBound(to: T.self)
201 | .pointee = value
202 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
203 | }
204 | }
[151/590] Compiling FileIO FileIO.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[152/590] Emitting module FileIO
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:155:13: error: cannot find 'msync' in scope
153 | data.withUnsafeBytes { buffer in
154 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
155 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'msync' in scope
156 | }
157 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:155:57: error: cannot find 'MS_SYNC' in scope
153 | data.withUnsafeBytes { buffer in
154 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
155 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
156 | }
157 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:202:9: error: cannot find 'msync' in scope
200 | .assumingMemoryBound(to: T.self)
201 | .pointee = value
202 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
203 | }
204 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:202:49: error: cannot find 'MS_SYNC' in scope
200 | .assumingMemoryBound(to: T.self)
201 | .pointee = value
202 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
203 | }
204 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:99:13: error: cannot find 'msync' in scope
97 | data.withUnsafeBytes { buffer in
98 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
99 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'msync' in scope
100 | }
101 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:99:57: error: cannot find 'MS_SYNC' in scope
97 | data.withUnsafeBytes { buffer in
98 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
99 | msync(ptr.advanced(by: offset), data.count, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
100 | }
101 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:105:9: error: cannot find 'msync' in scope
103 | @inlinable @inline(__always)
104 | public func sync() {
105 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'msync' in scope
106 | }
107 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:105:26: error: cannot find 'MS_SYNC' in scope
103 | @inlinable @inline(__always)
104 | public func sync() {
105 | msync(ptr, size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
106 | }
107 |
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:152:13: error: cannot find 'msync' in scope
150 | data.withUnsafeBytes { buffer in
151 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
152 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'msync' in scope
153 | }
154 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:152:68: error: cannot find 'MS_SYNC' in scope
150 | data.withUnsafeBytes { buffer in
151 | memcpy(ptr.advanced(by: offset), buffer.baseAddress!, data.count)
152 | msync(ptr.advanced(by: offset), data.count + tailSize, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
153 | }
154 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:207:9: error: cannot find 'msync' in scope
205 | .assumingMemoryBound(to: T.self)
206 | .pointee = value
207 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
208 | }
209 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:207:49: error: cannot find 'MS_SYNC' in scope
205 | .assumingMemoryBound(to: T.self)
206 | .pointee = value
207 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
208 | }
209 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:284:9: error: cannot find 'msync' in scope
282 | @inlinable @inline(__always)
283 | public func sync() {
284 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'msync' in scope
285 | }
286 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:284:58: error: cannot find 'MS_SYNC' in scope
282 | @inlinable @inline(__always)
283 | public func sync() {
284 | msync(parent.ptr.advanced(by: baseOffset), size, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
285 | }
286 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:348:9: error: cannot find 'msync' in scope
346 | .assumingMemoryBound(to: T.self)
347 | .pointee = value
348 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'msync' in scope
349 | }
350 | }
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:348:49: error: cannot find 'MS_SYNC' in scope
346 | .assumingMemoryBound(to: T.self)
347 | .pointee = value
348 | msync(ptr.advanced(by: offset), length, MS_SYNC)
| `- error: cannot find 'MS_SYNC' in scope
349 | }
350 | }
[152/590] Compiling rdrand-x86_64-linux.S
[154/590] Compiling DequeModule Deque._Storage.swift
[155/590] Compiling DequeModule Deque._UnsafeHandle.swift
[156/590] Compiling DequeModule Deque.swift
[159/590] Compiling DequeModule Deque+Equatable.swift
[160/590] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[161/590] Compiling DequeModule Deque+Codable.swift
[162/590] Compiling DequeModule Deque+Collection.swift
[166/590] Compiling DequeModule Deque+Extras.swift
[167/590] Compiling DequeModule Deque+Hashable.swift
/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,
[174/591] Compiling DequeModule Deque+Testing.swift
[174/591] Compiling rdrand-x86_64-apple.S
[175/591] Compiling p256_beeu-x86_64-asm-apple.S
[175/591] Compiling p256_beeu-x86_64-asm-linux.S
BUILD FAILURE 6.1 android