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.43 (9a678c), with Swift 6.1 for Android on 17 Jun 2025 07:03:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tuist/Rosalind.git
Reference: 0.5.43
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.43     -> FETCH_HEAD
HEAD is now at 9a678c6 [Release] Rosalind 0.5.43
Cloned https://github.com/tuist/Rosalind.git
Revision (git rev-parse @):
9a678c6416c9f74788af7a0c450348dc0d573edb
SUCCESS checkout https://github.com/tuist/Rosalind.git at 0.5.43
========================================
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.10.8",
            "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.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.12.3",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "machokit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.35.1",
            "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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/Kolos65/Mockable
[20/1974] Fetching command
Fetched https://github.com/tuist/Command.git from cache (0.51s)
Fetching https://github.com/tuist/Path.git
[1/354] Fetching path
Fetched https://github.com/tuist/Path.git from cache (0.31s)
[1/1790] Fetching mockable
Fetched https://github.com/Kolos65/Mockable from cache (1.31s)
[1/14996] Fetching swift-crypto
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/p-x9/MachOKit
Fetching https://github.com/tuist/FileSystem.git
Fetched https://github.com/apple/swift-crypto.git from cache (6.89s)
[1/1784] Fetching filesystem
[1232/7065] Fetching filesystem, machokit
Fetched https://github.com/tuist/FileSystem.git from cache (0.57s)
[1/13227] Fetching swift-snapshot-testing
Fetched https://github.com/p-x9/MachOKit from cache (0.68s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.47s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.4.0 (10.04s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-syntax.git
[1/5467] Fetching xctest-dynamic-overlay
[5468/76328] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (7.02s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.09s)
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.35.1 (7.85s)
Fetching https://github.com/p-x9/swift-fileio.git
[1/163] Fetching swift-fileio
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.30s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (5.26s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.30s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.4 (0.95s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.37s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (1.00s)
Fetching https://github.com/apple/swift-log
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.43s)
Computing version for https://github.com/tuist/FileSystem.git
Computed https://github.com/tuist/FileSystem.git at 0.10.8 (1.06s)
Fetching https://github.com/tuist/ZIPFoundation
Fetching https://github.com/apple/swift-nio
[1/4875] Fetching zipfoundation
[4876/81198] Fetching zipfoundation, swift-nio
Fetched https://github.com/tuist/ZIPFoundation from cache (0.62s)
[3817/76323] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (6.02s)
Computing version for https://github.com/tuist/Path.git
Computed https://github.com/tuist/Path.git at 0.3.8 (6.71s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.9.0 (0.60s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.64s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.62s)
Computing version for https://github.com/tuist/ZIPFoundation
Computed https://github.com/tuist/ZIPFoundation at 0.9.20 (0.62s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (4.41s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/4428] Fetching swift-system
[2393/6225] Fetching swift-system, swift-atomics
[5130/22831] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.82s)
[8746/21034] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.22s)
Fetched https://github.com/apple/swift-collections.git from cache (2.27s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.16s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.79s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.94s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.63s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.97s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (1.22s)
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.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/tuist/FileSystem.git
Working copy of https://github.com/tuist/FileSystem.git resolved at 0.10.8
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/tuist/ZIPFoundation
Working copy of https://github.com/tuist/ZIPFoundation resolved at 0.9.20
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
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.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
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/Command.git
Working copy of https://github.com/tuist/Command.git resolved at 0.13.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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.9.0
Creating working copy for https://github.com/p-x9/MachOKit
Working copy of https://github.com/p-x9/MachOKit resolved at 0.35.1
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.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
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/457] Compiling CNIODarwin shim.c
[1/457] Compiling CNIOWindows shim.c
[1/457] Write sources
[18/457] Compiling CNIOWindows WSAStartup.c
[19/457] Write sources
[21/457] Compiling CNIOWASI CNIOWASI.c
[22/457] Write sources
[31/457] Compiling CSystem shims.c
[32/457] Write sources
[42/457] Compiling _AtomicsShims.c
[43/457] Compiling _SwiftSyntaxCShims dummy.c
[44/457] Compiling CNIOLinux liburing_shims.c
[45/457] Compiling MachOKitC mach-o-linux.c
[46/457] Compiling fiat_p256_adx_sqr.S
[47/457] Compiling fiat_curve25519_adx_mul.S
[48/457] Compiling fiat_p256_adx_mul.S
[49/457] Compiling fiat_curve25519_adx_square.S
[50/457] Compiling CNIOLinux shim.c
[51/457] Compiling md5-x86_64-linux.S
[52/457] Compiling md5-x86_64-apple.S
[53/457] Compiling md5-586-linux.S
[54/457] Compiling md5-586-apple.S
[55/457] Compiling chacha20_poly1305_x86_64-apple.S
[56/457] Compiling chacha20_poly1305_armv8-win.S
[57/457] Compiling chacha20_poly1305_x86_64-linux.S
[58/457] Compiling chacha20_poly1305_armv8-apple.S
[59/457] Write swift-version-24593BA9C3E375BF.txt
[60/457] Compiling chacha-x86_64-linux.S
[61/457] Compiling chacha20_poly1305_armv8-linux.S
[62/457] Compiling chacha-x86_64-apple.S
[63/457] Compiling chacha-x86-linux.S
[64/457] Compiling CCryptoBoringSSLShims shims.c
[65/513] Compiling err_data.cc
[67/513] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[68/515] Emitting module _NIODataStructures
[69/515] Emitting module SystemPackage
[70/518] 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
[70/519] Compiling c-nioatomics.c
[73/519] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[74/519] 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
[76/524] 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
[77/524] 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
[78/527] 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
[79/527] 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
[80/528] Compiling _NIOBase64 Base64.swift
[81/528] Emitting module _NIOBase64
[82/529] Compiling SystemPackage Util+StringArray.swift
[83/529] Compiling SystemPackage Util.swift
[84/529] Compiling SystemPackage UtilConsumers.swift
[85/529] Compiling _NIODataStructures _TinyArray.swift
[86/529] Compiling _NIODataStructures PriorityQueue.swift
[88/529] Compiling SystemPackage MachPort.swift
[89/529] Compiling SystemPackage PlatformString.swift
[90/529] Compiling SystemPackage SystemString.swift
[91/529] Compiling _NIODataStructures Heap.swift
[94/530] Compiling SystemPackage FilePathParsing.swift
[95/530] Compiling SystemPackage FilePathString.swift
[96/530] Compiling SystemPackage FilePathSyntax.swift
[97/530] Compiling SystemPackage FilePathTemp.swift
[98/530] Compiling SystemPackage Errno.swift
[99/530] Compiling SystemPackage ErrnoWindows.swift
[100/530] Compiling SystemPackage FileDescriptor.swift
[101/530] Compiling SystemPackage FileHelpers.swift
[102/530] Compiling SystemPackage FileOperations.swift
[103/530] Compiling SystemPackage FilePath.swift
[104/530] Compiling SystemPackage FilePathComponentView.swift
[105/530] Compiling SystemPackage FilePathComponents.swift
[106/530] Emitting module Path
[108/621] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[109/622] Compiling SwiftSyntax SourceLength.swift
[110/622] Compiling SwiftSyntax AbsolutePosition.swift
[111/622] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[112/622] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[113/622] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[114/622] Compiling Path Path.swift
[114/623] Compiling c-atomics.c
[117/623] Compiling SwiftSyntax RawSyntaxTokenView.swift
[118/623] Compiling SwiftSyntax SourceEdit.swift
[119/623] Compiling SwiftSyntax Identifier.swift
[120/623] Compiling SwiftSyntax MemoryLayout.swift
[121/623] Compiling SwiftSyntax MissingNodeInitializers.swift
[122/623] Compiling SwiftSyntax RawSyntax.swift
[123/623] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[124/623] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[125/627] Emitting module InternalCollectionsUtilities
[126/634] Wrapping AST for SwiftSyntax601 for debugging
[128/649] Compiling NIOConcurrencyHelpers NIOLock.swift
[129/649] Compiling Logging MetadataProvider.swift
[130/649] Compiling DequeModule _DequeBuffer.swift
[131/649] Compiling DequeModule _DequeBufferHeader.swift
[132/649] Compiling SwiftSyntax CommonAncestor.swift
[133/649] Compiling SwiftSyntax Convenience.swift
[134/649] Compiling SwiftSyntax CustomTraits.swift
[135/649] Compiling SwiftSyntax EditorPlaceholder.swift
[136/649] Compiling SwiftSyntax SourceLocation.swift
[137/649] Compiling SwiftSyntax SourcePresence.swift
[138/649] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[139/649] Compiling SwiftSyntax SyntaxChildren.swift
[140/649] Compiling SwiftSyntax SyntaxCollection.swift
[141/649] Compiling SwiftSyntax SyntaxHashable.swift
[142/650] Compiling Logging Locks.swift
[143/650] Emitting module Logging
[144/650] Compiling Logging LogHandler.swift
[145/650] Compiling Logging Logging.swift
[146/651] Compiling DequeModule Deque+CustomReflectable.swift
[147/651] Compiling DequeModule Deque+Descriptions.swift
[152/653] Compiling NIOConcurrencyHelpers lock.swift
[153/653] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[154/653] Emitting module NIOConcurrencyHelpers
[154/653] Wrapping AST for SwiftSyntax600 for debugging
[155/653] Wrapping AST for SwiftSyntax510 for debugging
[157/653] Compiling DequeModule Deque+Extras.swift
[158/653] Compiling DequeModule Deque+Hashable.swift
[159/653] Compiling DequeModule Deque+Equatable.swift
[160/653] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[160/653] Wrapping AST for SwiftSyntax509 for debugging
[162/653] Compiling NIOConcurrencyHelpers atomics.swift
[163/653] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[163/653] Wrapping AST for _NIODataStructures for debugging
[164/654] Wrapping AST for _NIOBase64 for debugging
[166/654] Wrapping AST for SystemPackage for debugging
[167/654] Wrapping AST for Path for debugging
[169/654] Compiling Glob Unicode.GeneralCategory+Helpers.swift
[169/654] Wrapping AST for Logging for debugging
[171/654] Compiling DequeModule _DequeSlot.swift
[172/654] Compiling DequeModule _UnsafeWrappedBuffer.swift
[173/654] Compiling FileIO FileIO.swift
[173/654] Wrapping AST for InternalCollectionsUtilities for debugging
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[178/654] 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 {
[179/654] Compiling Glob InvalidPattern.swift
[180/654] Compiling DequeModule Deque+Codable.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
[181/654] Compiling DequeModule Deque+Collection.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[183/656] Compiling DequeModule Deque+Testing.swift
[184/656] Compiling DequeModule Deque._Storage.swift
[185/656] Compiling DequeModule Deque._UnsafeHandle.swift
[186/656] Compiling DequeModule Deque.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
/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 |     }
/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 {
[199/656] Compiling chacha-x86-apple.S
[200/656] Compiling chacha-armv8-win.S
[201/656] Compiling chacha-armv8-apple.S
[202/656] Wrapping AST for NIOConcurrencyHelpers for debugging
[203/656] Compiling chacha-armv4-linux.S
[204/656] Compiling chacha-armv8-linux.S
[205/656] Compiling aes128gcmsiv-x86_64-linux.S
[206/656] Compiling aes128gcmsiv-x86_64-apple.S
[208/656] Emitting module FileIO
[208/656] Compiling x86_64-mont5-linux.S
[212/656] Emitting module DequeModule
[212/656] Compiling x86_64-mont5-apple.S
[214/657] Compiling Glob Pattern.swift
[215/657] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[216/657] Compiling ZIPFoundation URL+ZIP.swift
[216/657] Compiling x86_64-mont-linux.S
[218/657] Compiling Glob Pattern+Options.swift
[219/657] Compiling Glob Pattern+Parser.swift
[219/657] Compiling x86_64-mont-apple.S
[220/657] Compiling x86-mont-linux.S
[222/657] Compiling x86-mont-apple.S
[223/657] Compiling vpaes-x86_64-apple.S
[223/657] Compiling vpaes-x86-linux.S
[224/657] Emitting module Glob
[225/657] Compiling FileIO MemoryMappedFile.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:73:22: error: cannot find 'MAP_FAILED' in scope
 71 |         let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
 72 |         guard let ptr,
 73 |               ptr != MAP_FAILED else {
    |                      `- error: cannot find 'MAP_FAILED' in scope
 74 |             close(fd)
 75 |             throw POSIXError(.init(rawValue: errno)!)
/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/sys/mman.h:43:9: note: macro 'MAP_FAILED' unavailable: structure not supported
 41 |
 42 | /** Return value for mmap(). */
 43 | #define MAP_FAILED __BIONIC_CAST(reinterpret_cast, void*, -1)
    |         `- note: macro 'MAP_FAILED' unavailable: structure not supported
 44 |
 45 | /**
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:72:15: error: initializer for conditional binding must have Optional type, not 'UnsafeMutableRawPointer'
 70 |         if isWritable { prot |= PROT_WRITE }
 71 |         let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
 72 |         guard let ptr,
    |               `- error: initializer for conditional binding must have Optional type, not 'UnsafeMutableRawPointer'
 73 |               ptr != MAP_FAILED else {
 74 |             close(fd)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:133:22: error: cannot find 'MAP_FAILED' in scope
131 |         let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
132 |         guard let ptr,
133 |               ptr != MAP_FAILED else {
    |                      `- error: cannot find 'MAP_FAILED' in scope
134 |             throw POSIXError(.init(rawValue: errno)!)
135 |         }
/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/sys/mman.h:43:9: note: macro 'MAP_FAILED' unavailable: structure not supported
 41 |
 42 | /** Return value for mmap(). */
 43 | #define MAP_FAILED __BIONIC_CAST(reinterpret_cast, void*, -1)
    |         `- note: macro 'MAP_FAILED' unavailable: structure not supported
 44 |
 45 | /**
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:132:15: error: initializer for conditional binding must have Optional type, not 'UnsafeMutableRawPointer'
130 |         if isWritable { prot |= PROT_WRITE }
131 |         let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
132 |         guard let ptr,
    |               `- error: initializer for conditional binding must have Optional type, not 'UnsafeMutableRawPointer'
133 |               ptr != MAP_FAILED else {
134 |             throw POSIXError(.init(rawValue: errno)!)
[225/657] Compiling vpaes-x86_64-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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
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_xcarchive.1
    /host/spi-builder-workspace/Tests/RosalindTests/__Snapshots__/RosalindAcceptanceTests/ios_app_ipa.1
    /host/spi-builder-workspace/Tests/RosalindTests/__Snapshots__/RosalindAcceptanceTests/ios_app.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/377] Compiling vpaes-x86-apple.S
[1/377] Compiling vpaes-x86-linux.S
[2/377] Compiling vpaes-armv8-win.S
[3/377] Compiling vpaes-x86_64-apple.S
[4/377] Compiling vpaes-x86_64-linux.S
[5/377] Compiling vpaes-armv7-linux.S
[6/377] Compiling sha512-x86_64-linux.S
[7/377] Compiling vpaes-armv8-apple.S
[8/377] Compiling sha512-armv8-apple.S
[9/377] Compiling vpaes-armv8-linux.S
[10/377] Compiling sha512-armv8-win.S
[11/377] Compiling sha512-x86_64-apple.S
[12/377] Compiling sha512-586-apple.S
[13/377] Compiling sha512-586-linux.S
[13/377] Compiling sha512-armv4-linux.S
[15/377] Compiling sha256-x86_64-linux.S
[16/377] Compiling sha512-armv8-linux.S
[17/377] Compiling sha256-armv8-win.S
[18/377] Compiling sha256-x86_64-apple.S
[19/377] Compiling sha256-armv4-linux.S
[20/377] Compiling sha256-586-apple.S
[21/377] Compiling sha256-586-linux.S
[21/377] Compiling sha256-armv8-apple.S
[23/377] Compiling sha256-armv8-linux.S
[24/377] Compiling sha1-x86_64-apple.S
[25/377] Compiling sha1-x86_64-linux.S
[26/377] Compiling sha1-armv8-win.S
[27/377] Compiling sha1-armv8-apple.S
[28/377] Compiling sha1-586-linux.S
[29/377] Compiling sha1-armv4-large-linux.S
[30/377] Compiling sha1-armv8-linux.S
[31/377] Compiling sha1-586-apple.S
[32/377] Compiling rsaz-avx2-linux.S
[33/377] Compiling rdrand-x86_64-linux.S
[34/377] Write swift-version-24593BA9C3E375BF.txt
[35/377] Compiling p256_beeu-x86_64-asm-linux.S
[36/377] Compiling rdrand-x86_64-apple.S
[37/377] Compiling rsaz-avx2-apple.S
[38/377] Compiling p256_beeu-x86_64-asm-apple.S
[39/377] Compiling p256_beeu-armv8-asm-win.S
[40/377] Compiling p256_beeu-armv8-asm-linux.S
[41/377] Compiling p256_beeu-armv8-asm-apple.S
[42/377] Compiling p256-x86_64-asm-linux.S
[44/439] Compiling SwiftSyntax600 Empty.swift
[45/439] Compiling SwiftSyntax509 Empty.swift
[46/439] Emitting module SwiftSyntax601
[47/439] Compiling SwiftSyntax601 Empty.swift
[48/440] Emitting module SwiftSyntax510
[49/440] Compiling SwiftSyntax510 Empty.swift
[50/441] Emitting module SwiftSyntax600
[51/442] Emitting module SwiftSyntax509
[56/444] Compiling ZIPFoundation Archive+WritingDeprecated.swift
[57/446] Compiling ZIPFoundation Archive+ZIP64.swift
[58/446] Compiling ZIPFoundation Archive.swift
[59/446] Compiling ZIPFoundation Data+Compression.swift
[60/447] 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
[61/447] 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
[62/448] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/458] 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 {
[64/458] Emitting module _NIOBase64
[65/458] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[66/461] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[67/461] Compiling ZIPFoundation URL+ZIP.swift
[68/461] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[69/461] Compiling InternalCollectionsUtilities Debugging.swift
[70/461] Compiling InternalCollectionsUtilities Descriptions.swift
[71/461] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[72/467] Compiling _NIODataStructures PriorityQueue.swift
[73/467] Compiling _NIODataStructures Heap.swift
[74/467] Compiling _NIODataStructures _TinyArray.swift
[75/472] Emitting module _NIODataStructures
[76/473] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[77/473] Compiling _NIOBase64 Base64.swift
[78/474] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[81/474] Compiling Logging MetadataProvider.swift
[82/474] Compiling SystemPackage Util+StringArray.swift
[83/474] Compiling SystemPackage Util.swift
[84/474] Compiling SystemPackage UtilConsumers.swift
[85/472] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[86/472] Compiling NIOConcurrencyHelpers NIOLock.swift
[87/472] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[88/472] Compiling InternalCollectionsUtilities _SortedCollection.swift
[89/472] 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 |     }
[90/472] 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 |     }
[92/472] Compiling SystemPackage RawBuffer.swift
[93/472] Compiling SystemPackage Syscalls.swift
[94/472] Compiling SystemPackage WindowsSyscallAdapters.swift
[95/472] Compiling SystemPackage MachPort.swift
[96/472] Compiling SystemPackage PlatformString.swift
[97/472] Compiling SystemPackage SystemString.swift
[101/472] Compiling InternalCollectionsUtilities UInt+reversed.swift
[106/472] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[107/472] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[108/472] Compiling NIOConcurrencyHelpers lock.swift
[109/472] Compiling NIOConcurrencyHelpers atomics.swift
[110/496] Emitting module InternalCollectionsUtilities
[111/526] Compiling SwiftSyntax Assert.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
[112/526] Compiling SwiftSyntax BumpPtrAllocator.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
[113/526] Compiling SwiftSyntax CommonAncestor.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
[114/530] Compiling SwiftSyntax Convenience.swift
[115/530] Compiling SwiftSyntax CustomTraits.swift
[116/537] Emitting module NIOConcurrencyHelpers
[123/546] Compiling SwiftSyntax EditorPlaceholder.swift
[124/546] Compiling SwiftSyntax SourceLocation.swift
[125/546] Compiling SwiftSyntax SourcePresence.swift
[127/564] Emitting module Path
[128/564] Compiling Path Path.swift
[129/565] Compiling DequeModule Deque+Equatable.swift
[130/565] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[131/565] Compiling DequeModule Deque+Extras.swift
[132/565] Compiling DequeModule Deque+Hashable.swift
[133/565] Emitting module SystemPackage
[134/566] Compiling DequeModule Deque+CustomReflectable.swift
[135/566] Compiling DequeModule Deque+Descriptions.swift
[136/568] Compiling Glob Pattern.swift
[137/568] Compiling Glob Pattern+Options.swift
[139/567] Compiling Glob Unicode.GeneralCategory+Helpers.swift
[140/567] Compiling Glob Pattern+Parser.swift
[142/567] Emitting module FileIO
[143/567] Compiling DequeModule _DequeBuffer.swift
[144/567] Compiling DequeModule _DequeBufferHeader.swift
[145/567] Compiling FileIO FileIO.swift
[145/567] Compiling p256-x86_64-asm-apple.S
[146/567] Wrapping AST for InternalCollectionsUtilities for debugging
[150/567] Compiling Glob InvalidPattern.swift
[151/567] Compiling Glob Pattern+Match.swift
[153/567] Compiling p256-armv8-asm-win.S
[154/567] Wrapping AST for SystemPackage for debugging
/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
[159/567] Compiling DequeModule Deque.swift
[160/567] Compiling DequeModule Deque+Testing.swift
[161/567] Compiling DequeModule Deque._Storage.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
/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,
[164/567] Compiling DequeModule Deque._UnsafeHandle.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
[164/567] Compiling p256-armv8-asm-linux.S
[165/567] Compiling Logging LogHandler.swift
[167/567] Emitting module Logging
[168/567] Compiling Logging Logging.swift
[169/567] Compiling Logging Locks.swift
[169/568] Compiling p256-armv8-asm-apple.S
[171/568] Compiling ghashv8-armv8-win.S
BUILD FAILURE 6.1 android