The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LLVS, reference main (92fe81), with Swift 6.1 for Android on 6 Mar 2026 22:58:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mentalfaculty/LLVS.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/mentalfaculty/LLVS
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 92fe81b Update CLAUDE.md for LLVSModel, smart merge, and async exchanges
Cloned https://github.com/mentalfaculty/LLVS.git
Revision (git rev-parse @):
92fe81b57dc5552110bafcfe63a37fce51c3ad28
SUCCESS checkout https://github.com/mentalfaculty/LLVS.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mentalfaculty/LLVS.git
https://github.com/mentalfaculty/LLVS.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "zipfoundation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/weichsel/ZIPFoundation.git"
    },
    {
      "identity" : "pcloud-sdk-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pCloud/pcloud-sdk-swift.git"
    },
    {
      "identity" : "box-ios-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "10.0.0",
            "upper_bound" : "11.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/box/box-ios-sdk.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "600.0.0",
            "upper_bound" : "601.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "LLVS",
  "name" : "LLVS",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "watchos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "SQLite3",
      "targets" : [
        "SQLite3"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LLVS",
      "targets" : [
        "LLVS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LLVSCloudKit",
      "targets" : [
        "LLVSCloudKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LLVSSQLite",
      "targets" : [
        "LLVSSQLite"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LLVSPCloud",
      "targets" : [
        "LLVSPCloud"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LLVSBox",
      "targets" : [
        "LLVSBox"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LLVSModel",
      "targets" : [
        "LLVSModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LLVSWebDAV",
      "targets" : [
        "LLVSWebDAV"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LLVSGoogleDrive",
      "targets" : [
        "LLVSGoogleDrive"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LLVSOneDrive",
      "targets" : [
        "LLVSOneDrive"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LLVSModelMacros",
      "targets" : [
        "LLVSModelMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SQLite3",
      "module_type" : "SystemLibraryTarget",
      "name" : "SQLite3",
      "path" : "Sources/SQLite3",
      "product_memberships" : [
        "SQLite3",
        "LLVSSQLite"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "LLVSWebDAV",
      "module_type" : "SwiftTarget",
      "name" : "LLVSWebDAV",
      "path" : "Sources/LLVSWebDAV",
      "product_memberships" : [
        "LLVSWebDAV"
      ],
      "sources" : [
        "WebDAVFileSystem.swift",
        "WebDAVResponseParser.swift"
      ],
      "target_dependencies" : [
        "LLVS"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LLVSTests",
      "module_type" : "SwiftTarget",
      "name" : "LLVSTests",
      "path" : "Tests/LLVSTests",
      "sources" : [
        "ArrayDiffTests.swift",
        "CloudFileSystemExchangeTests.swift",
        "DataCompressionTests.swift",
        "DiffTests.swift",
        "DynamicTaskBatcherTests.swift",
        "FileSystemExchangeTests.swift",
        "FileZoneTests.swift",
        "GeneralTests.swift",
        "HistoryTests.swift",
        "MapTests.swift",
        "MemoryExchangeTests.swift",
        "MergeTests.swift",
        "MostRecentBranchArbiterTests.swift",
        "MostRecentChangeArbiterTests.swift",
        "MultipeerExchangeTests.swift",
        "PerformanceTests.swift",
        "PrevailingValueTests.swift",
        "SQLitePerformanceTests.swift",
        "SQLiteZoneTests.swift",
        "SerialHistoryTests.swift",
        "SharedStoreTests.swift",
        "SnapshotTests.swift",
        "StoreSetupTests.swift",
        "ValueChangesInVersionTests.swift",
        "ValueTests.swift",
        "VersionTests.swift"
      ],
      "target_dependencies" : [
        "LLVS",
        "LLVSSQLite"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LLVSSQLite",
      "module_type" : "SwiftTarget",
      "name" : "LLVSSQLite",
      "path" : "Sources/LLVSSQLite",
      "product_memberships" : [
        "LLVSSQLite"
      ],
      "sources" : [
        "SQLiteDatabase+Zones.swift",
        "SQLiteDatabase.swift",
        "SQLiteZone.swift"
      ],
      "target_dependencies" : [
        "LLVS",
        "SQLite3"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LLVSPCloud",
      "module_type" : "SwiftTarget",
      "name" : "LLVSPCloud",
      "path" : "Sources/LLVSPCloud",
      "product_dependencies" : [
        "PCloudSDKSwift"
      ],
      "product_memberships" : [
        "LLVSPCloud"
      ],
      "sources" : [
        "PCloudExchange.swift"
      ],
      "target_dependencies" : [
        "LLVS"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LLVSOneDrive",
      "module_type" : "SwiftTarget",
      "name" : "LLVSOneDrive",
      "path" : "Sources/LLVSOneDrive",
      "product_memberships" : [
        "LLVSOneDrive"
      ],
      "sources" : [
        "OneDriveAuthenticator.swift",
        "OneDriveFileSystem.swift"
      ],
      "target_dependencies" : [
        "LLVS"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LLVSModelTests",
      "module_type" : "SwiftTarget",
      "name" : "LLVSModelTests",
      "path" : "Tests/LLVSModelTests",
      "sources" : [
        "MergeableArbiterTests.swift"
      ],
      "target_dependencies" : [
        "LLVSModel",
        "LLVS",
        "LLVSSQLite"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LLVSModelMacros",
      "module_type" : "SwiftTarget",
      "name" : "LLVSModelMacros",
      "path" : "Sources/LLVSModelMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "LLVSModel",
        "LLVSModelMacros"
      ],
      "sources" : [
        "MergeableModelMacro.swift",
        "Plugin.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "LLVSModel",
      "module_type" : "SwiftTarget",
      "name" : "LLVSModel",
      "path" : "Sources/LLVSModel",
      "product_memberships" : [
        "LLVSModel"
      ],
      "sources" : [
        "Macros.swift",
        "Mergeable.swift",
        "MergeableArbiter.swift",
        "StorableModel.swift",
        "StoreCoordinator+Model.swift"
      ],
      "target_dependencies" : [
        "LLVS",
        "LLVSModelMacros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LLVSGoogleDrive",
      "module_type" : "SwiftTarget",
      "name" : "LLVSGoogleDrive",
      "path" : "Sources/LLVSGoogleDrive",
      "product_memberships" : [
        "LLVSGoogleDrive"
      ],
      "sources" : [
        "GoogleDriveAuthenticator.swift",
        "GoogleDriveFileSystem.swift"
      ],
      "target_dependencies" : [
        "LLVS"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LLVSCloudKit",
      "module_type" : "SwiftTarget",
      "name" : "LLVSCloudKit",
      "path" : "Sources/LLVSCloudKit",
      "product_memberships" : [
        "LLVSCloudKit"
      ],
      "sources" : [
        "CloudKitExchange.swift"
      ],
      "target_dependencies" : [
        "LLVS"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LLVSBox",
      "module_type" : "SwiftTarget",
      "name" : "LLVSBox",
      "path" : "Sources/LLVSBox",
      "product_dependencies" : [
        "BoxSDK"
      ],
      "product_memberships" : [
        "LLVSBox"
      ],
      "sources" : [
        "BoxExchange.swift"
      ],
      "target_dependencies" : [
        "LLVS"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LLVS",
      "module_type" : "SwiftTarget",
      "name" : "LLVS",
      "path" : "Sources/LLVS",
      "product_dependencies" : [
        "ZIPFoundation"
      ],
      "product_memberships" : [
        "LLVS",
        "LLVSCloudKit",
        "LLVSSQLite",
        "LLVSPCloud",
        "LLVSBox",
        "LLVSModel",
        "LLVSWebDAV",
        "LLVSGoogleDrive",
        "LLVSOneDrive"
      ],
      "sources" : [
        "Core/Exchange.swift",
        "Core/FileZone.swift",
        "Core/FolderBasedExchange.swift",
        "Core/History.swift",
        "Core/Map.swift",
        "Core/Merge.swift",
        "Core/Snapshot.swift",
        "Core/SnapshotCapable+ZIP.swift",
        "Core/Storage.swift",
        "Core/Store.swift",
        "Core/StoreCoordinator.swift",
        "Core/Value.swift",
        "Core/Version.swift",
        "Core/Zone.swift",
        "Exchanges/CloudFileSystem.swift",
        "Exchanges/CloudFileSystemExchange.swift",
        "Exchanges/FileSystemExchange.swift",
        "Exchanges/MemoryExchange.swift",
        "Exchanges/MultipeerExchange.swift",
        "General/Cache.swift",
        "General/DataCompression.swift",
        "General/DynamicTaskBatcher.swift",
        "General/General.swift",
        "General/Log.swift",
        "Utilities/ArrayDiff.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/box/box-ios-sdk.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pCloud/pcloud-sdk-swift.git
Fetching https://github.com/weichsel/ZIPFoundation.git
[1/3453] Fetching pcloud-sdk-swift
[1728/9416] Fetching pcloud-sdk-swift, zipfoundation
[2824/43319] Fetching pcloud-sdk-swift, zipfoundation, box-ios-sdk
[13825/117922] Fetching pcloud-sdk-swift, zipfoundation, box-ios-sdk, swift-syntax
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (0.94s)
[16068/111959] Fetching pcloud-sdk-swift, box-ios-sdk, swift-syntax
Fetched https://github.com/pCloud/pcloud-sdk-swift.git from cache (12.97s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (13.07s)
[21359/33903] Fetching box-ios-sdk
Fetched https://github.com/box/box-ios-sdk.git from cache (22.29s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (25.49s)
Computing version for https://github.com/box/box-ios-sdk.git
Computed https://github.com/box/box-ios-sdk.git at 10.4.0 (0.64s)
Computing version for https://github.com/pCloud/pcloud-sdk-swift.git
Computed https://github.com/pCloud/pcloud-sdk-swift.git at 3.2.3 (0.64s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.20 (0.61s)
Creating working copy for https://github.com/box/box-ios-sdk.git
Working copy of https://github.com/box/box-ios-sdk.git resolved at 10.4.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/pCloud/pcloud-sdk-swift.git
Working copy of https://github.com/pCloud/pcloud-sdk-swift.git resolved at 3.2.3
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.20
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
warning: 'box-ios-sdk': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/box-ios-sdk/BoxSdkGen/Sources/Info.plist
Building for debugging...
[0/48] Write sources
[3/48] Copying PrivacyInfo.xcprivacy
[3/48] Write sources
[29/48] Compiling _SwiftSyntaxCShims dummy.c
[30/48] Write swift-version-24593BA9C3E375BF.txt
[32/283] 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
[33/283] 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
[34/284] 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
[35/284] 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
[36/285] 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
[37/285] 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
[40/286] Wrapping AST for SwiftSyntax509 for debugging
[41/286] Wrapping AST for SwiftSyntax600 for debugging
[42/286] Wrapping AST for SwiftSyntax510 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/350] Emitting module PCloudSDKSwift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/354] 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 {
[46/356] Compiling SwiftSyntax AbsolutePosition.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
[47/356] Compiling SwiftSyntax AbsoluteRawSyntax.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
[48/356] Compiling SwiftSyntax AbsoluteSyntaxInfo.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
[49/356] Compiling SwiftSyntax Assert.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
[50/356] Compiling SwiftSyntax BumpPtrAllocator.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
[51/356] Compiling SwiftSyntax CommonAncestor.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
[52/356] Compiling SwiftSyntax Convenience.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
[53/356] Compiling SwiftSyntax CustomTraits.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
[54/356] Compiling SwiftSyntax Identifier.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
[55/364] Compiling SwiftSyntax SourcePresence.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
[56/364] Compiling ZIPFoundation FileManager+ZIPDeprecated.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
[57/364] Compiling ZIPFoundation URL+ZIP.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[58/364] Compiling SwiftSyntax SyntaxArena.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
[59/364] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.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
[60/364] Compiling SwiftSyntax SyntaxChildren.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
[61/364] Compiling SwiftSyntax SyntaxCollection.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
[62/364] Compiling SwiftSyntax SyntaxHashable.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
[63/364] Compiling SwiftSyntax SyntaxIdentifier.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
[64/364] Compiling SwiftSyntax MemoryLayout.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
[65/364] Compiling SwiftSyntax MissingNodeInitializers.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
[66/364] Compiling SwiftSyntax RawSyntax.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
[67/364] Compiling SwiftSyntax RawSyntaxLayoutView.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
[68/364] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[69/364] Compiling SwiftSyntax RawSyntaxTokenView.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/364] Compiling SwiftSyntax SourceEdit.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[71/364] Compiling SwiftSyntax SourceLength.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
[72/364] Compiling SwiftSyntax SourceLocation.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
[73/364] Compiling SwiftSyntax SyntaxNodeFactory.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/364] Compiling SwiftSyntax SyntaxNodeStructure.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[75/364] Compiling SwiftSyntax SyntaxProtocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[76/364] Compiling SwiftSyntax SyntaxText.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
[77/364] Compiling SwiftSyntax SyntaxTreeViewMode.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/364] Compiling PCloudSDKSwift User.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/364] Compiling PCloudSDKSwift VoidCancellationToken.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[80/364] Compiling PCloudSDKSwift OAuthWebViewMobile.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
[81/364] Compiling PCloudSDKSwift PCloud+OAuthMobile.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
/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:283:9: error: cannot find 'ftruncate' in scope
281 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
282 |         fflush(self.archiveFile)
283 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
284 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
285 |         _ = 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:283:9: error: cannot find 'ftruncate' in scope
281 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
282 |         fflush(self.archiveFile)
283 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
284 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
285 |         _ = 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:283:9: error: cannot find 'ftruncate' in scope
281 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
282 |         fflush(self.archiveFile)
283 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
284 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
285 |         _ = 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:150:42: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
148 |             // Use truncatingIfNeeded for safer conversion across platforms
149 |             let modeValue = UInt16(truncatingIfNeeded: self.centralDirectoryStructure.externalFileAttributes >> 16)
150 |             let mode = mode_t(modeValue) & 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)
151 |             switch mode {
152 |             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:150:42: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
148 |             // Use truncatingIfNeeded for safer conversion across platforms
149 |             let modeValue = UInt16(truncatingIfNeeded: self.centralDirectoryStructure.externalFileAttributes >> 16)
150 |             let mode = mode_t(modeValue) & 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)
151 |             switch mode {
152 |             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 {
/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
/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
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[139/364] Compiling BoxSdkGen CreateFileUploadSessionForExistingFileHeaders.swift
[140/364] Compiling BoxSdkGen CreateFileUploadSessionForExistingFileRequestBody.swift
[141/364] Compiling BoxSdkGen CreateFileUploadSessionHeaders.swift
[142/364] Compiling BoxSdkGen CreateFileUploadSessionRequestBody.swift
[143/364] Compiling BoxSdkGen DeleteFileUploadSessionByIdHeaders.swift
[144/364] Compiling BoxSdkGen DeleteFileUploadSessionByUrlHeaders.swift
[145/364] Compiling BoxSdkGen GetFileUploadSessionByIdHeaders.swift
[146/364] Compiling BoxSdkGen GetFileUploadSessionByUrlHeaders.swift
[147/364] Compiling BoxSdkGen GetFileUploadSessionPartsByUrlHeaders.swift
[148/364] Compiling BoxSdkGen GetFileUploadSessionPartsByUrlQueryParams.swift
[149/364] Compiling BoxSdkGen GetFileUploadSessionPartsHeaders.swift
[150/364] Compiling BoxSdkGen GetFileUploadSessionPartsQueryParams.swift
[151/364] Compiling BoxSdkGen PartAccumulator.swift
[152/364] Compiling BoxSdkGen UploadFilePartByUrlHeaders.swift
[153/364] Compiling BoxSdkGen UploadFilePartHeaders.swift
[154/364] Compiling BoxSdkGen AddClassificationHeaders.swift
[155/364] Compiling BoxSdkGen AddClassificationRequestBody.swift
[156/364] Compiling BoxSdkGen AddClassificationRequestBodyDataField.swift
[157/364] Compiling BoxSdkGen AddClassificationRequestBodyDataStaticConfigClassificationField.swift
[158/364] Compiling BoxSdkGen AddClassificationRequestBodyDataStaticConfigField.swift
[159/364] Compiling BoxSdkGen AddClassificationRequestBodyFieldKeyField.swift
[160/364] Compiling BoxSdkGen AddClassificationRequestBodyOpField.swift
[161/364] Compiling BoxSdkGen ClassificationsManager.swift
[162/364] Compiling BoxSdkGen CreateClassificationTemplateHeaders.swift
[163/364] Compiling BoxSdkGen CreateClassificationTemplateRequestBody.swift
[164/364] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyDisplayNameField.swift
[165/364] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyFieldsDisplayNameField.swift
[166/364] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyFieldsField.swift
[167/364] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyFieldsKeyField.swift
[168/364] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyFieldsOptionsField.swift
[169/364] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyFieldsOptionsStaticConfigClassificationField.swift
[170/364] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyFieldsOptionsStaticConfigField.swift
[171/364] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyFieldsTypeField.swift
[172/364] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyScopeField.swift
[173/364] Compiling BoxSdkGen CreateClassificationTemplateRequestBodyTemplateKeyField.swift
[174/364] Compiling BoxSdkGen GetClassificationTemplateHeaders.swift
[175/364] Compiling BoxSdkGen UpdateClassificationHeaders.swift
[176/364] Compiling BoxSdkGen UpdateClassificationRequestBody.swift
[177/364] Compiling BoxSdkGen UpdateClassificationRequestBodyDataField.swift
[178/364] Compiling BoxSdkGen UpdateClassificationRequestBodyDataStaticConfigClassificationField.swift
[179/364] Compiling BoxSdkGen UpdateClassificationRequestBodyDataStaticConfigField.swift
[180/364] Compiling BoxSdkGen UpdateClassificationRequestBodyFieldKeyField.swift
[181/364] Compiling BoxSdkGen UpdateClassificationRequestBodyOpField.swift
[182/364] Compiling BoxSdkGen CollaborationAllowlistEntriesManager.swift
[183/364] Compiling BoxSdkGen CreateCollaborationWhitelistEntryHeaders.swift
[184/364] Compiling BoxSdkGen CreateCollaborationWhitelistEntryRequestBody.swift
[185/364] Compiling BoxSdkGen CreateCollaborationWhitelistEntryRequestBodyDirectionField.swift
[186/364] Compiling BoxSdkGen DeleteCollaborationWhitelistEntryByIdHeaders.swift
[187/364] Compiling BoxSdkGen GetCollaborationWhitelistEntriesHeaders.swift
[188/364] Compiling BoxSdkGen GetCollaborationWhitelistEntriesQueryParams.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
[189/364] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[190/364] Compiling SwiftSyntax SyntaxBaseNodes.swift
[191/364] Compiling SwiftSyntax SyntaxCollections.swift
[192/364] Compiling SwiftSyntax SyntaxEnum.swift
[193/364] Compiling SwiftSyntax SyntaxKind.swift
[194/364] Compiling SwiftSyntax SyntaxRewriter.swift
[195/364] Compiling SwiftSyntax SyntaxTraits.swift
[196/364] Compiling SwiftSyntax SyntaxVisitor.swift
[197/364] Compiling SwiftSyntax TokenKind.swift
[198/364] Compiling SwiftSyntax Tokens.swift
[199/364] Compiling SwiftSyntax TriviaPieces.swift
[200/364] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[201/364] Compiling SwiftSyntax RawSyntaxNodesC.swift
[202/364] Compiling SwiftSyntax SyntaxNodesC.swift
[203/364] Compiling SwiftSyntax SyntaxNodesD.swift
[204/364] Compiling SwiftSyntax SyntaxNodesEF.swift
[205/364] Compiling SwiftSyntax SyntaxNodesGHI.swift
[206/364] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[207/364] Compiling SwiftSyntax SyntaxNodesOP.swift
[208/364] Compiling SwiftSyntax SyntaxNodesQRS.swift
[209/364] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[210/364] Compiling BoxSdkGen CreateFileUploadSessionCommitByUrlHeaders.swift
[211/364] Compiling BoxSdkGen CreateFileUploadSessionCommitByUrlRequestBody.swift
[212/364] Compiling BoxSdkGen CreateFileUploadSessionCommitHeaders.swift
[213/364] Compiling BoxSdkGen CreateFileUploadSessionCommitRequestBody.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
warning: 'box-ios-sdk': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/box-ios-sdk/BoxSdkGen/Sources/Info.plist
[0/1] Planning build
Building for debugging...
[0/18] Write swift-version-24593BA9C3E375BF.txt
[2/77] Emitting module SwiftSyntax600
[3/77] Emitting module SwiftSyntax509
[4/77] Compiling SwiftSyntax509 Empty.swift
[5/78] Compiling SwiftSyntax600 Empty.swift
[6/79] Compiling SwiftSyntax510 Empty.swift
[7/79] Emitting module SwiftSyntax510
[11/77] Compiling PCloudSDKSwift Parser.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[12/77] Compiling PCloudSDKSwift ResultUtilities.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[13/77] Compiling PCloudSDKSwift UInt64+Clamping.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[14/77] Compiling PCloudSDKSwift URLSessionBasedCallOperation.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[15/81] Compiling PCloudSDKSwift URLSessionEventHub.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[16/81] Compiling PCloudSDKSwift URLSessionTaskBuilder.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[17/81] Compiling PCloudSDKSwift UploadInfo.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[18/81] Compiling PCloudSDKSwift UploadTask.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[19/81] Compiling PCloudSDKSwift URLSessionBasedDownloadOperation.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[20/81] Compiling PCloudSDKSwift URLSessionBasedNetworkOperation.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[21/81] Compiling PCloudSDKSwift URLSessionBasedNetworkOperationUtilities.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[22/81] Compiling PCloudSDKSwift URLSessionBasedUploadOperation.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/81] Emitting module PCloudSDKSwift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[24/81] Compiling PCloudSDKSwift APIServerRegion.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[25/81] Compiling PCloudSDKSwift APITaskBuilding.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[26/81] Compiling PCloudSDKSwift AnyCancellationToken.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[27/81] Compiling PCloudSDKSwift Atomic.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[28/81] Compiling PCloudSDKSwift Authenticator.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/81] Emitting module ZIPFoundation
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
[33/83] Compiling PCloudSDKSwift User.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[34/83] Compiling PCloudSDKSwift VoidCancellationToken.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[35/83] Compiling PCloudSDKSwift OAuthWebViewMobile.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[36/83] Compiling PCloudSDKSwift PCloud+OAuthMobile.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[37/83] Compiling PCloudSDKSwift PCloud.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 {
[38/83] Compiling PCloudSDKSwift PCloudAPI.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 {
[39/83] Compiling PCloudSDKSwift PCloudClient.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 {
[40/142] Compiling SwiftSyntax CommonAncestor.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[41/142] Compiling SwiftSyntax Convenience.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[42/142] Compiling SwiftSyntax CustomTraits.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[43/142] Compiling SwiftSyntax Identifier.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[44/142] Compiling SwiftSyntax MemoryLayout.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[45/142] Compiling SwiftSyntax SourceEdit.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[46/142] Compiling SwiftSyntax SourceLength.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[47/142] Compiling SwiftSyntax SourceLocation.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[48/142] Compiling SwiftSyntax SourcePresence.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[49/142] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[50/142] Compiling SwiftSyntax MissingNodeInitializers.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[51/142] Compiling SwiftSyntax RawSyntax.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[52/142] Compiling SwiftSyntax RawSyntaxLayoutView.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[53/142] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[54/142] Compiling SwiftSyntax RawSyntaxTokenView.swift
/host/spi-builder-workspace/.build/checkouts/pcloud-sdk-swift/PCloudSDKSwift/Source/Common/AnyCancellationToken.swift:10:8: error: no such module 'libkern'
 8 |
 9 | import Foundation
10 | import libkern
   |        `- error: no such module 'libkern'
11 |
12 | /// Concrete type-erased implementation of `Cancellable`. It forwards its `cancel()` invocation to a block.
[55/147] Compiling SwiftSyntax Assert.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[56/147] Compiling SwiftSyntax BumpPtrAllocator.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/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:150:42: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
148 |             // Use truncatingIfNeeded for safer conversion across platforms
149 |             let modeValue = UInt16(truncatingIfNeeded: self.centralDirectoryStructure.externalFileAttributes >> 16)
150 |             let mode = mode_t(modeValue) & 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)
151 |             switch mode {
152 |             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)
BUILD FAILURE 6.1 android