The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Rosalind, reference 0.5.108 (59b087), with Swift 6.1 for Android on 25 Aug 2025 07:54:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 0.5.108
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
 * tag               0.5.108    -> FETCH_HEAD
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 0.5.108
========================================
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-4609320-1":/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
e1a89dea01a6: Already exists
39bc14e52995: Already exists
cc0382103b05: Already exists
084072dee40a: Already exists
b0737d6887f9: Pulling fs layer
b0737d6887f9: Waiting
b0737d6887f9: Verifying Checksum
b0737d6887f9: Download complete
b0737d6887f9: Pull complete
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/p-x9/MachOKit
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/tuist/FileSystem.git
[1/2015] Fetching filesystem
[163/3990] Fetching filesystem, command
[1066/9720] Fetching filesystem, command, machokit
[6456/11547] Fetching filesystem, command, machokit, mockable
[11548/27823] Fetching filesystem, command, machokit, mockable, swift-crypto
Fetched https://github.com/tuist/Command.git from cache (0.48s)
Fetching https://github.com/tuist/Path.git
[10061/25848] Fetching filesystem, machokit, mockable, swift-crypto
Fetched https://github.com/tuist/FileSystem.git from cache (0.49s)
[8209/23833] Fetching machokit, mockable, swift-crypto
[9186/24202] Fetching machokit, mockable, swift-crypto, path
Fetched https://github.com/tuist/Path.git from cache (0.22s)
[9348/23833] Fetching machokit, mockable, swift-crypto
[9837/39174] Fetching machokit, mockable, swift-crypto, swift-snapshot-testing
Fetched https://github.com/Kolos65/Mockable from cache (4.54s)
Fetched https://github.com/apple/swift-crypto.git from cache (4.57s)
Fetched https://github.com/p-x9/MachOKit from cache (5.79s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (5.86s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.4.0 (12.84s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-syntax.git
[1/5505] Fetching xctest-dynamic-overlay
[5506/77289] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (6.96s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.00s)
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 (9.39s)
Fetching https://github.com/p-x9/swift-fileio.git
[3/209] Fetching swift-fileio
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.22s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (6.31s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.27s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.6 (0.82s)
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.31s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (0.89s)
Fetching https://github.com/apple/swift-log
[1/3897] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.37s)
Computing version for https://github.com/tuist/FileSystem.git
Computed https://github.com/tuist/FileSystem.git at 0.11.13 (1.22s)
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/tuist/ZIPFoundation
[1/4875] Fetching zipfoundation
Fetched https://github.com/tuist/ZIPFoundation from cache (0.47s)
[1/77658] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (7.73s)
Computing version for https://github.com/tuist/Path.git
Computed https://github.com/tuist/Path.git at 0.3.8 (8.60s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.85s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.72s)
Computing version for https://github.com/tuist/ZIPFoundation
Computed https://github.com/tuist/ZIPFoundation at 0.9.20 (0.85s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.86.0 (1.03s)
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/4900] Fetching swift-system
[1128/6708] Fetching swift-system, swift-atomics
[6456/24062] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.60s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.60s)
[2951/17354] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.45s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.12.0 (1.94s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.54s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.80s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (5.34s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (5.05s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (4.74s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.71s)
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/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/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/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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/tuist/ZIPFoundation
Working copy of https://github.com/tuist/ZIPFoundation resolved at 0.9.20
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/p-x9/MachOKit
Working copy of https://github.com/p-x9/MachOKit resolved at 0.38.0
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/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.4.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/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/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/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.86.0
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/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/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/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.12.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 CNIODarwin shim.c
[1/466] Compiling CNIOWindows WSAStartup.c
[2/466] Write sources
[18/466] Compiling CNIOWASI CNIOWASI.c
[18/466] Write sources
[22/466] Compiling CNIOPosix event_loop_id.c
[22/466] Compiling CNIOLinux liburing_shims.c
[22/466] Write sources
[42/466] Compiling _SwiftSyntaxCShims dummy.c
[43/466] Compiling _AtomicsShims.c
[44/466] Compiling CNIOWindows shim.c
[45/466] Compiling CNIOLinux shim.c
[46/466] Compiling CSystem shims.c
[47/466] Compiling fiat_p256_adx_sqr.S
[48/466] Compiling MachOKitC mach-o-linux.c
[49/466] Compiling fiat_p256_adx_mul.S
[50/466] Compiling md5-x86_64-linux.S
[51/466] Compiling fiat_curve25519_adx_square.S
[52/466] Compiling fiat_curve25519_adx_mul.S
[53/466] Compiling md5-x86_64-apple.S
[54/466] Compiling md5-586-apple.S
[55/466] Compiling md5-586-linux.S
[56/466] Write swift-version-24593BA9C3E375BF.txt
[57/466] Compiling chacha20_poly1305_armv8-win.S
[58/466] Compiling chacha20_poly1305_x86_64-apple.S
[59/466] Compiling chacha20_poly1305_x86_64-linux.S
[60/466] Compiling CCryptoBoringSSLShims shims.c
[61/466] Compiling chacha20_poly1305_armv8-linux.S
[62/525] Compiling err_data.cc
[64/527] Emitting module _NIOBase64
[65/527] Emitting module _NIODataStructures
[65/527] Compiling c-nioatomics.c
[66/527] Compiling c-atomics.c
[68/527] Emitting module SystemPackage
[69/535] 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
[70/535] 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
[71/535] 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
[72/536] 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
[73/536] 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
[75/537] 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
[76/537] Compiling _NIODataStructures _TinyArray.swift
[77/537] 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
[78/537] 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
[80/539] Compiling SystemPackage SystemString.swift
[81/539] Compiling SystemPackage Util+StringArray.swift
[82/539] Compiling SystemPackage Util.swift
[83/539] Compiling SystemPackage UtilConsumers.swift
[84/539] Compiling _NIODataStructures Heap.swift
[85/539] Compiling _NIOBase64 Base64.swift
[86/539] Compiling _NIODataStructures PriorityQueue.swift
[87/541] Compiling ZIPFoundation Archive+Progress.swift
[88/541] Compiling ZIPFoundation Archive+Reading.swift
[89/541] Compiling ZIPFoundation Data+CompressionDeprecated.swift
[90/541] Compiling ZIPFoundation Data+Serialization.swift
[91/541] Compiling ZIPFoundation Archive+BackingConfiguration.swift
[92/541] Compiling ZIPFoundation Archive+Deprecated.swift
[93/541] Compiling ZIPFoundation Archive+Helpers.swift
[94/541] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
[95/541] Compiling ZIPFoundation Archive+Writing.swift
[96/541] Compiling ZIPFoundation Archive+WritingDeprecated.swift
[97/541] Compiling ZIPFoundation Archive+ZIP64.swift
[98/541] Compiling ZIPFoundation Archive.swift
[99/541] Compiling ZIPFoundation Data+Compression.swift
[100/541] Compiling ZIPFoundation Archive+MemoryFile.swift
[105/568] Emitting module Path
[106/568] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[107/640] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[108/641] Compiling SwiftSyntax Convenience.swift
[109/641] Compiling SwiftSyntax CustomTraits.swift
[110/641] Compiling SwiftSyntax MemoryLayout.swift
[111/641] Compiling SwiftSyntax MissingNodeInitializers.swift
[112/641] Compiling NIOConcurrencyHelpers NIOLock.swift
[113/641] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[114/641] Compiling NIOConcurrencyHelpers atomics.swift
[115/641] Compiling NIOConcurrencyHelpers lock.swift
[116/641] Compiling SwiftSyntax EditorPlaceholder.swift
[117/641] Compiling SwiftSyntax Identifier.swift
[118/641] Emitting module NIOConcurrencyHelpers
[119/641] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[121/642] Compiling SwiftSyntax BumpPtrAllocator.swift
[122/642] Compiling SwiftSyntax CommonAncestor.swift
[123/642] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[124/642] Compiling SwiftSyntax Assert.swift
[125/642] Compiling SwiftSyntax AbsolutePosition.swift
[126/642] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[127/642] Emitting module InternalCollectionsUtilities
[129/665] Compiling Path Path.swift
[131/666] Compiling DequeModule Deque+CustomReflectable.swift
[132/666] Compiling DequeModule Deque+Descriptions.swift
[132/668] Wrapping AST for SwiftSyntax601 for debugging
[134/668] Compiling DequeModule _DequeBuffer.swift
[135/668] Compiling DequeModule _DequeBufferHeader.swift
[135/668] Wrapping AST for SwiftSyntax600 for debugging
[137/668] Compiling DequeModule _DequeSlot.swift
[138/668] Compiling DequeModule _UnsafeWrappedBuffer.swift
[139/668] Compiling DequeModule Deque+Codable.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
[140/668] Compiling DequeModule Deque+Collection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[143/668] Compiling DequeModule Deque+Equatable.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
[144/668] Compiling DequeModule Deque+ExpressibleByArrayLiteral.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
[145/668] Compiling DequeModule Deque+Testing.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
[146/668] Compiling DequeModule Deque._Storage.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
[147/668] Compiling DequeModule Deque+Extras.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
[147/675] Wrapping AST for SwiftSyntax510 for debugging
[151/677] Compiling Logging MetadataProvider.swift
[152/677] Compiling Logging Locks.swift
[153/677] Compiling SwiftSyntax SyntaxHashable.swift
[154/677] Compiling SwiftSyntax SyntaxIdentifier.swift
[155/677] Compiling SwiftSyntax SyntaxNodeFactory.swift
[156/677] Compiling SwiftSyntax SyntaxNodeStructure.swift
[157/677] Compiling SwiftSyntax SyntaxArena.swift
[158/677] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[159/677] Compiling SwiftSyntax SyntaxChildren.swift
[160/677] Compiling SwiftSyntax SyntaxCollection.swift
[161/677] Compiling SwiftSyntax SourceLocation.swift
[162/677] Compiling SwiftSyntax SourcePresence.swift
[163/677] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[164/677] Compiling SwiftSyntax Syntax.swift
[167/677] Compiling SwiftSyntax SourceEdit.swift
[168/677] Compiling SwiftSyntax SourceLength.swift
[169/678] Emitting module Logging
[170/678] Compiling Logging Logging.swift
[171/678] Compiling Logging LogHandler.swift
[171/679] Wrapping AST for SwiftSyntax509 for debugging
[174/679] Wrapping AST for _NIODataStructures for debugging
[175/679] Wrapping AST for SystemPackage for debugging
[176/679] Wrapping AST for _NIOBase64 for debugging
[177/679] Wrapping AST for Path for debugging
[178/679] Wrapping AST for NIOConcurrencyHelpers for debugging
[179/679] Wrapping AST for Logging for debugging
[180/679] Compiling chacha-x86_64-linux.S
[181/679] Compiling chacha20_poly1305_armv8-apple.S
[182/679] Wrapping AST for InternalCollectionsUtilities for debugging
[184/679] Emitting module DequeModule
[184/679] Compiling chacha-x86-linux.S
[189/679] Compiling DequeModule Deque+Hashable.swift
[190/679] Compiling DequeModule Deque._UnsafeHandle.swift
[191/679] Compiling DequeModule Deque.swift
[191/679] Compiling chacha-x86_64-apple.S
[192/679] Compiling chacha-x86-apple.S
[195/680] Compiling chacha-armv8-win.S
[196/680] Compiling chacha-armv8-apple.S
[198/680] Compiling aes128gcmsiv-x86_64-linux.S
[199/680] Compiling chacha-armv4-linux.S
/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,
[203/680] Compiling chacha-armv8-linux.S
[204/682] Compiling x86_64-mont5-linux.S
[205/682] Compiling x86_64-mont5-apple.S
[206/682] Compiling x86_64-mont-linux.S
[207/682] Compiling aes128gcmsiv-x86_64-apple.S
[208/682] Compiling x86_64-mont-apple.S
[209/682] Compiling x86-mont-apple.S
[210/682] Wrapping AST for DequeModule for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[212/682] 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 {
/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
/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
[215/682] Compiling x86-mont-linux.S
/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
[219/682] Compiling vpaes-x86_64-linux.S
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
[228/682] Compiling vpaes-x86_64-apple.S
[229/682] Compiling vpaes-armv8-win.S
[230/682] Compiling vpaes-x86-linux.S
[232/682] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[233/682] Compiling ZIPFoundation URL+ZIP.swift
[233/682] Compiling vpaes-x86-apple.S
[234/682] Compiling vpaes-armv8-apple.S
[235/682] Compiling vpaes-armv8-linux.S
[236/682] Compiling vpaes-armv7-linux.S
[237/682] Compiling sha512-x86_64-linux.S
[238/682] Compiling sha512-x86_64-apple.S
[239/682] Compiling sha512-armv8-win.S
/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 |     }
[243/682] Compiling Glob Unicode.GeneralCategory+Helpers.swift
[243/682] Compiling sha512-armv8-apple.S
[243/682] Compiling sha512-armv8-linux.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
[243/682] Compiling sha512-586-linux.S
[243/682] Compiling sha512-armv4-linux.S
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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_ipa.1
    /host/spi-builder-workspace/Tests/RosalindTests/__Snapshots__/RosalindAcceptanceTests/ios_app_xcarchive.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/374] Compiling sha512-armv8-apple.S
[1/374] Compiling sha512-586-linux.S
[2/374] Compiling sha512-armv4-linux.S
[3/374] Compiling sha256-armv8-win.S
[4/374] Compiling sha512-armv8-linux.S
[5/374] Compiling sha256-x86_64-linux.S
[5/374] Compiling sha256-x86_64-apple.S
[7/374] Compiling sha256-armv4-linux.S
[8/374] Compiling sha512-586-apple.S
[9/374] Compiling sha256-armv8-apple.S
[10/374] Compiling sha256-586-linux.S
[11/374] Compiling sha1-armv8-win.S
[12/374] Compiling sha1-x86_64-linux.S
[13/374] Compiling sha1-x86_64-apple.S
[14/374] Compiling sha256-586-apple.S
[15/374] Compiling sha256-armv8-linux.S
[16/374] Compiling sha1-armv4-large-linux.S
[17/374] Compiling sha1-armv8-apple.S
[18/374] Compiling sha1-armv8-linux.S
[19/374] Compiling rsaz-avx2-apple.S
[20/374] Compiling sha1-586-apple.S
[21/374] Compiling sha1-586-linux.S
[22/374] Compiling rsaz-avx2-linux.S
[23/374] Compiling p256_beeu-x86_64-asm-linux.S
[24/374] Compiling rdrand-x86_64-apple.S
[25/374] Compiling p256_beeu-x86_64-asm-apple.S
[26/374] Compiling rdrand-x86_64-linux.S
[27/374] Compiling p256_beeu-armv8-asm-win.S
[28/374] Compiling p256_beeu-armv8-asm-apple.S
[29/374] Compiling p256_beeu-armv8-asm-linux.S
[30/374] Compiling p256-x86_64-asm-linux.S
[31/374] Write swift-version-24593BA9C3E375BF.txt
[32/374] Compiling p256-x86_64-asm-apple.S
[33/374] Compiling p256-armv8-asm-win.S
[34/374] Compiling p256-armv8-asm-apple.S
[35/374] Compiling ghashv8-armv8-win.S
[36/374] Compiling ghashv8-armv8-apple.S
[37/374] Compiling ghashv8-armv8-linux.S
[38/374] Compiling p256-armv8-asm-linux.S
[39/374] Compiling ghashv8-armv7-linux.S
[41/419] Compiling SwiftSyntax510 Empty.swift
[42/419] Emitting module SwiftSyntax510
[43/436] Emitting module SwiftSyntax600
[44/436] Compiling SwiftSyntax600 Empty.swift
[45/436] Compiling SwiftSyntax509 Empty.swift
[46/436] Emitting module SwiftSyntax509
[47/442] Compiling SwiftSyntax601 Empty.swift
[48/442] Emitting module SwiftSyntax601
[53/441] Compiling _NIOBase64 Base64.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/449] 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 {
[55/454] Emitting module _NIOBase64
[56/455] Compiling SystemPackage Syscalls.swift
[57/455] Compiling SystemPackage WindowsSyscallAdapters.swift
[58/455] Compiling SystemPackage MachPort.swift
[59/455] Compiling SystemPackage PlatformString.swift
[60/473] Emitting module Path
[62/472] Compiling _NIODataStructures Heap.swift
[63/472] Compiling _NIODataStructures PriorityQueue.swift
[64/472] Compiling _NIODataStructures _TinyArray.swift
[65/472] Compiling InternalCollectionsUtilities UInt+reversed.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
[66/472] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.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
[67/472] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.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
[68/472] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.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
[69/472] Compiling InternalCollectionsUtilities Integer rank.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
[70/472] Compiling InternalCollectionsUtilities UInt+first and last set bit.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
[71/472] Compiling InternalCollectionsUtilities _UnsafeBitSet.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,
[72/472] Compiling InternalCollectionsUtilities _SortedCollection.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,
[73/472] Compiling InternalCollectionsUtilities _UniqueCollection.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,
[74/472] Emitting module _NIODataStructures
[76/473] Compiling InternalCollectionsUtilities Debugging.swift
[77/474] Compiling Logging MetadataProvider.swift
[78/474] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[79/474] Compiling ZIPFoundation URL+ZIP.swift
[80/474] 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/474] 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/474] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[86/474] Compiling SystemPackage CInterop.swift
[87/474] Compiling SystemPackage Constants.swift
[88/474] Compiling SystemPackage Exports.swift
[89/474] Compiling SystemPackage Mocking.swift
[90/474] Compiling SystemPackage RawBuffer.swift
[91/474] Compiling InternalCollectionsUtilities Descriptions.swift
[92/474] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[93/474] Compiling ZIPFoundation Date+ZIP.swift
[94/474] Compiling ZIPFoundation Entry+Serialization.swift
[95/474] Compiling ZIPFoundation Entry+ZIP64.swift
[98/473] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[99/473] Compiling NIOConcurrencyHelpers NIOLock.swift
[102/473] Compiling ZIPFoundation Data+CompressionDeprecated.swift
[103/473] Compiling ZIPFoundation Data+Serialization.swift
[104/473] Compiling Logging Locks.swift
[105/473] Emitting module Logging
[106/537] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[107/537] Compiling NIOConcurrencyHelpers lock.swift
[108/537] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[109/537] Compiling NIOConcurrencyHelpers atomics.swift
[110/537] Compiling SwiftSyntax SourceLocation.swift
[111/537] Compiling SwiftSyntax SourcePresence.swift
[112/545] Emitting module NIOConcurrencyHelpers
[114/545] Compiling Glob Unicode.GeneralCategory+Helpers.swift
[115/545] Emitting module InternalCollectionsUtilities
[116/545] Compiling SwiftSyntax RawSyntax.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/545] Compiling SwiftSyntax RawSyntaxLayoutView.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 {
[118/545] Compiling SwiftSyntax RawSyntaxNodeProtocol.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 {
[119/545] Compiling SwiftSyntax RawSyntaxTokenView.swift
[120/545] Compiling SwiftSyntax SourceEdit.swift
[121/545] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[122/545] Compiling SwiftSyntax Syntax.swift
[123/545] Compiling SwiftSyntax SyntaxArena.swift
[124/545] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[125/545] Compiling SwiftSyntax SyntaxChildren.swift
[126/545] Compiling SwiftSyntax SyntaxCollection.swift
[127/546] Compiling Path Path.swift
[131/551] Compiling SwiftSyntax SyntaxHashable.swift
[132/551] Compiling SwiftSyntax Identifier.swift
[133/553] Emitting module SystemPackage
[139/554] Compiling Glob Pattern+Options.swift
[141/554] Compiling Glob Pattern.swift
[143/554] Compiling Glob Pattern+Parser.swift
[143/553] Compiling ghash-x86_64-linux.S
[145/553] Compiling FileIO FileIO.swift
[146/553] Compiling Glob InvalidPattern.swift
[146/553] Wrapping AST for InternalCollectionsUtilities for debugging
[148/553] Compiling Glob Pattern+Match.swift
[149/553] Compiling Logging LogHandler.swift
[150/553] Compiling Logging Logging.swift
[152/554] Compiling SwiftSyntax MemoryLayout.swift
[153/554] Compiling SwiftSyntax MissingNodeInitializers.swift
[153/554] Compiling ghash-x86_64-apple.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[155/554] Compiling FileIO ConcatenatedStreamedFile.swift
[156/554] 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 | }
[157/554] 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 | }
[157/554] Compiling ghash-x86-linux.S
[158/554] Emitting module Glob
[159/554] Compiling FileIO system.swift
[160/554] Compiling SwiftSyntax SyntaxProtocol.swift
[161/554] Compiling SwiftSyntax SyntaxText.swift
[162/554] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[163/554] Compiling SwiftSyntax TokenDiagnostic.swift
BUILD FAILURE 6.1 android