The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build XcodeGraph, reference 1.15.18 (f9c8f7), with Swift 6.1 for Android on 16 Jun 2025 23:51:45 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tuist/XcodeGraph.git
Reference: 1.15.18
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/tuist/XcodeGraph
 * tag               1.15.18    -> FETCH_HEAD
HEAD is now at f9c8f73 [Release] XcodeGraph 1.15.18
Cloned https://github.com/tuist/XcodeGraph.git
Revision (git rev-parse @):
f9c8f7317a3f175ee5b9d345fa7a83d5e698070c
SUCCESS checkout https://github.com/tuist/XcodeGraph.git at 1.15.18
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tuist/XcodeGraph.git
https://github.com/tuist/XcodeGraph.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "anycodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.7",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flight-School/AnyCodable"
    },
    {
      "identity" : "path",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.8",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/Path.git"
    },
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.4.2",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj"
    },
    {
      "identity" : "command",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.13.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/Command.git"
    },
    {
      "identity" : "filesystem",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.7",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/FileSystem.git"
    },
    {
      "identity" : "mockable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kolos65/Mockable.git"
    },
    {
      "identity" : "machokit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.35.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/p-x9/MachOKit"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "XcodeGraph",
  "name" : "XcodeGraph",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "XcodeGraph",
      "targets" : [
        "XcodeGraph"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "XcodeMetadata",
      "targets" : [
        "XcodeMetadata"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "XcodeGraphMapper",
      "targets" : [
        "XcodeGraphMapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XcodeMetadataTests",
      "module_type" : "SwiftTarget",
      "name" : "XcodeMetadataTests",
      "path" : "Tests/XcodeMetadataTests",
      "sources" : [
        "AssertionsTesting.swift",
        "FrameworkMetadataProviderTests.swift",
        "LibraryMetadataProviderTests.swift",
        "PrecompiledMetadataProviderTests.swift",
        "SystemFrameworkMetadataProviderTests.swift",
        "XCFrameworkMetadataProviderTests.swift"
      ],
      "target_dependencies" : [
        "XcodeMetadata",
        "XcodeGraph"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XcodeMetadata",
      "module_type" : "SwiftTarget",
      "name" : "XcodeMetadata",
      "path" : "Sources/XcodeMetadata",
      "product_dependencies" : [
        "FileSystem",
        "Mockable",
        "MachOKitC"
      ],
      "product_memberships" : [
        "XcodeMetadata",
        "XcodeGraphMapper"
      ],
      "sources" : [
        "Extensions/BinaryArchitecture+Extension.swift",
        "Extensions/FileHandle+ReadHelpers.swift",
        "Extensions/MachOByteSwapExtensions.swift",
        "Extensions/Sequence+ExecutionContext.swift",
        "Providers/FrameworkMetadataProvider.swift",
        "Providers/LibraryMetadataProvider.swift",
        "Providers/PrecompiledMetadataProvider.swift",
        "Providers/SystemFrameworkMetadataProvider.swift",
        "Providers/XCFrameworkMetadataProvider.swift"
      ],
      "target_dependencies" : [
        "XcodeGraph"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XcodeGraphTests",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGraphTests",
      "path" : "Tests/XcodeGraphTests",
      "sources" : [
        "DependenciesGraph/DependenciesGraphTests.swift",
        "Extensions/SettingsDictionary+ExtrasTests.swift",
        "Extensions/XCTestCase+Extras.swift",
        "Graph/GraphDependencyTests.swift",
        "Graph/GraphTargetTests.swift",
        "Graph/GraphTests.swift",
        "Models/AnalyzeActionTests.swift",
        "Models/ArchiveActionTests.swift",
        "Models/ArgumentsTests.swift",
        "Models/BinaryArchitectureTests.swift",
        "Models/BuildActionTests.swift",
        "Models/BuildConfigurationTests.swift",
        "Models/BuildRule.CompilerSpecTests.swift",
        "Models/BuildRule.FileTypeTests.swift",
        "Models/BuildRuleTests.swift",
        "Models/CompatibleXcodeVersionsTests.swift",
        "Models/CopyFileElementTests.swift",
        "Models/CopyFilesActionTests.swift",
        "Models/CoreDataModelTests.swift",
        "Models/ExecutionActionTests.swift",
        "Models/FileElementTests.swift",
        "Models/HeadersTests.swift",
        "Models/IDETemplateMacrosTests.swift",
        "Models/InfoPlistTests.swift",
        "Models/PackageInfoTests.swift",
        "Models/PackageTests.swift",
        "Models/PlatformFilterTests.swift",
        "Models/PlatformTests.swift",
        "Models/ProductTests.swift",
        "Models/ProfileActionTests.swift",
        "Models/ProjectGroupTests.swift",
        "Models/ProjectTests.swift",
        "Models/RawScriptBuildPhaseTests.swift",
        "Models/RequirementTests.swift",
        "Models/ResourceFileElementTests.swift",
        "Models/ResourceSynthesizerTests.swift",
        "Models/RunActionTests.swift",
        "Models/SDKSourceTests.swift",
        "Models/SchemeTests.swift",
        "Models/SettingsTests.swift",
        "Models/SourceFileTests.swift",
        "Models/TargetDependencyTests.swift",
        "Models/TargetReferenceTests.swift",
        "Models/TargetScriptTests.swift",
        "Models/TargetTests.swift",
        "Models/TestActionTests.swift",
        "Models/TestPlanTests.swift",
        "Models/TestableTargetTests.swift",
        "Models/VersionTests.swift",
        "Models/WorkspaceGenerationOptionsTests.swift",
        "Models/WorkspaceTests.swift",
        "Models/XCFrameworkInfoPlistTests.swift"
      ],
      "target_dependencies" : [
        "XcodeGraph"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XcodeGraphMapperTests",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGraphMapperTests",
      "path" : "Tests/XcodeGraphMapperTests",
      "product_dependencies" : [
        "FileSystem"
      ],
      "sources" : [
        "MapperTests/Graph/XcodeGraphMapperTests.swift",
        "MapperTests/Package/PackageMapperTests.swift",
        "MapperTests/Package/XCPackageMapperTests.swift",
        "MapperTests/Phases/PBXCopyFilesBuildPhaseMapperTests.swift",
        "MapperTests/Phases/PBXCoreDataModelsBuildPhaseMapperTests.swift",
        "MapperTests/Phases/PBXFrameworksBuildPhaseMapperTests.swift",
        "MapperTests/Phases/PBXHeadersBuildPhaseMapperTests.swift",
        "MapperTests/Phases/PBXResourcesBuildPhaseMapperTests.swift",
        "MapperTests/Phases/PBXScriptsBuildPhaseMapperTests.swift",
        "MapperTests/Phases/PBXSourcesBuildPhaseMapperTests.swift",
        "MapperTests/Project/PBXProjectMapperTests.swift",
        "MapperTests/Schemes/XCSchemeMapperTests.swift",
        "MapperTests/Settings/ConfigurationMatcherTests.swift",
        "MapperTests/Settings/XCConfigurationMapperTests.swift",
        "MapperTests/Target/PBXBuildRuleMapperTests.swift",
        "MapperTests/Target/PBXTargetDependencyMapper.swift",
        "MapperTests/Target/PBXTargetMapperTests.swift",
        "MapperTests/Target/TargetDependencyExtensionsTests.swift",
        "MapperTests/Workspace/XCWorkspaceMapperTests.swift",
        "Mocks/AssertionsTesting.swift",
        "Mocks/MockDefaults.swift",
        "TestData/PBXBuildRule+TestData.swift",
        "TestData/PBXFileReference+TestData.swift",
        "TestData/PBXGroup+TestData.swift",
        "TestData/PBXNativeTarget+TestData.swift",
        "TestData/PBXProj+TestData.swift",
        "TestData/PBXProject+TestData.swift",
        "TestData/PBXShellScriptBuildPhase+TestData.swift",
        "TestData/PBXTargetDependency+TestData.swift",
        "TestData/PBXVariantGroup+TestData.swift",
        "TestData/XCBuildConfiguration+TestData.swift",
        "TestData/XCConfigurationList+TestData.swift",
        "TestData/XCScheme+TestData.swift",
        "TestData/XCSchemeTestableReference+TestData.swift",
        "TestData/XCUserData+TestData.swift",
        "TestData/XCVersionGroup+TestData.swift",
        "TestData/XCWorkspace+TestData.swift",
        "TestData/XCWorkspaceDataElement+TestData.swift",
        "TestData/XCWorkspaceDataGroup+TestData.swift",
        "TestData/XcodeProj+TestData.swift"
      ],
      "target_dependencies" : [
        "XcodeGraphMapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XcodeGraphMapper",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGraphMapper",
      "path" : "Sources/XcodeGraphMapper",
      "product_dependencies" : [
        "Command",
        "Path",
        "XcodeProj"
      ],
      "product_memberships" : [
        "XcodeGraphMapper"
      ],
      "sources" : [
        "Extensions/PBXProject+Extensions.swift",
        "Extensions/Package+Extensions.swift",
        "Extensions/Platform+Extensions.swift",
        "Extensions/PlatformFilter+Extensions.swift",
        "Extensions/TargetDependency+Extensions.swift",
        "Extensions/XCWorkspace+Extensions.swift",
        "Extensions/XCWorkspaceDataFileRef+Extensions.swift",
        "Mappers/Graph/XcodeGraphMapper.swift",
        "Mappers/Packages/PackageMapper.swift",
        "Mappers/Packages/XCPackageMapper.swift",
        "Mappers/Phases/BuildPhaseConstants.swift",
        "Mappers/Phases/PBXCopyFilesBuildPhaseMapper.swift",
        "Mappers/Phases/PBXCoreDataModelsBuildPhaseMapper.swift",
        "Mappers/Phases/PBXFrameworksBuildPhaseMapper.swift",
        "Mappers/Phases/PBXHeadersBuildPhaseMapper.swift",
        "Mappers/Phases/PBXResourcesBuildPhaseMapper.swift",
        "Mappers/Phases/PBXScriptsBuildPhaseMapper.swift",
        "Mappers/Phases/PBXSourcesBuildPhaseMapper.swift",
        "Mappers/Project/PBXProjectMapper.swift",
        "Mappers/Project/ProjectAttribute.swift",
        "Mappers/Project/XcodeProj+Extensions.swift",
        "Mappers/Schemes/SchemeDiagnosticsOptions+XCScheme.swift",
        "Mappers/Schemes/XCSchemeMapper.swift",
        "Mappers/Schemes/XCTestPlan.swift",
        "Mappers/Settings/BuildSettings.swift",
        "Mappers/Settings/XCConfigurationList+Helpers.swift",
        "Mappers/Settings/XCConfigurationMapper.swift",
        "Mappers/Targets/PBXBuildRuleMapper.swift",
        "Mappers/Targets/PBXTarget+BuildHeaders.swift",
        "Mappers/Targets/PBXTarget+BuildSettings.swift",
        "Mappers/Targets/PBXTarget+GraphMapping.swift",
        "Mappers/Targets/PBXTarget+PlatformInference.swift",
        "Mappers/Targets/PBXTargetDependency+PlatformCondition.swift",
        "Mappers/Targets/PBXTargetDependencyMapper.swift",
        "Mappers/Targets/PBXTargetMapper.swift",
        "Mappers/Targets/TargetDependency+GraphMapping.swift",
        "Mappers/Workspace/XCWorkspaceMapper.swift",
        "Utilities/ConfigurationMatcher.swift",
        "Utilities/DeveloperDirectoryProvider.swift",
        "Utilities/Optional+Throwing.swift",
        "Utilities/PackageInfoLoader.swift",
        "Utilities/PathDependencyMapper.swift",
        "Utilities/ProjectNativeTarget.swift"
      ],
      "target_dependencies" : [
        "XcodeGraph",
        "XcodeMetadata"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XcodeGraph",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGraph",
      "path" : "Sources/XcodeGraph",
      "product_dependencies" : [
        "AnyCodable",
        "Path"
      ],
      "product_memberships" : [
        "XcodeGraph",
        "XcodeMetadata",
        "XcodeGraphMapper"
      ],
      "sources" : [
        "DependenciesGraph/DependenciesGraph.swift",
        "Extensions/SettingsDictionary+Extras.swift",
        "Graph/ConditionalGraphTarget.swift",
        "Graph/Graph.swift",
        "Graph/GraphDependency.swift",
        "Graph/GraphEdge.swift",
        "Graph/GraphTarget.swift",
        "Models/AnalyzeAction.swift",
        "Models/ArchiveAction.swift",
        "Models/Arguments.swift",
        "Models/AutogenerationOptions.swift",
        "Models/BinaryArchitecture.swift",
        "Models/BuildAction.swift",
        "Models/BuildConfiguration.swift",
        "Models/BuildRule+CompilerSpec.swift",
        "Models/BuildRule+FileType.swift",
        "Models/BuildRule.swift",
        "Models/CompatibleXcodeVersions.swift",
        "Models/CopyFileElement.swift",
        "Models/CopyFilesAction.swift",
        "Models/CoreDataModel.swift",
        "Models/DeploymentTargets.swift",
        "Models/Destination.swift",
        "Models/EnvironmentVariable.swift",
        "Models/ExecutionAction.swift",
        "Models/FileCodeGen.swift",
        "Models/FileElement.swift",
        "Models/Headers.swift",
        "Models/IDETemplateMacros.swift",
        "Models/LaunchArgument.swift",
        "Models/LaunchStyle.swift",
        "Models/MergedBinaryType.swift",
        "Models/Metadata/FrameworkMetadata.swift",
        "Models/Metadata/LibraryMetadata.swift",
        "Models/Metadata/SystemFrameworkMetadata.swift",
        "Models/Metadata/TargetMetadata.swift",
        "Models/Metadata/XCFrameworkMetadata.swift",
        "Models/MetalOptions.swift",
        "Models/OnDemandResourcesTags.swift",
        "Models/Package.swift",
        "Models/Platform.swift",
        "Models/PlatformCondition.swift",
        "Models/PlatformFilter.swift",
        "Models/Plist.swift",
        "Models/PrivacyManifest.swift",
        "Models/Product.swift",
        "Models/ProfileAction.swift",
        "Models/Project.swift",
        "Models/ProjectGroup.swift",
        "Models/ProjectOptions.swift",
        "Models/RawScriptBuildPhase.swift",
        "Models/Requirement.swift",
        "Models/ResourceFileElement.swift",
        "Models/ResourceFileElements.swift",
        "Models/ResourceSynthesizer.swift",
        "Models/RunAction.swift",
        "Models/RunActionOptions.swift",
        "Models/SDKSource.swift",
        "Models/SDKType.swift",
        "Models/Scheme.swift",
        "Models/SchemeDiagnosticsOptions.swift",
        "Models/ScreenCaptureFormat.swift",
        "Models/Settings.swift",
        "Models/SimulatedLocation.swift",
        "Models/SourceFile.swift",
        "Models/SourceFileGlob.swift",
        "Models/Target.swift",
        "Models/TargetDependency.swift",
        "Models/TargetReference.swift",
        "Models/TargetScript.swift",
        "Models/TargetType.swift",
        "Models/TestAction.swift",
        "Models/TestPlan.swift",
        "Models/TestableTarget.swift",
        "Models/TestingOptions.swift",
        "Models/Version.swift",
        "Models/Workspace.swift",
        "Models/WorkspaceGenerationOptions.swift",
        "Models/XCFrameworkInfoPlist.swift",
        "PackageInfo.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/Kolos65/Mockable.git
Fetching https://github.com/tuist/FileSystem.git
Fetching https://github.com/p-x9/MachOKit
Fetching https://github.com/tuist/XcodeProj
[1/1974] Fetching command
[515/4056] Fetching command, swift-docc-plugin
[724/5840] Fetching command, swift-docc-plugin, filesystem
[904/11121] Fetching command, swift-docc-plugin, filesystem, machokit
[3686/34454] Fetching command, swift-docc-plugin, filesystem, machokit, xcodeproj
[9071/36244] Fetching command, swift-docc-plugin, filesystem, machokit, xcodeproj, mockable
Fetched https://github.com/tuist/FileSystem.git from cache (0.55s)
Fetching https://github.com/tuist/Path.git
[17661/34460] Fetching command, swift-docc-plugin, machokit, xcodeproj, mockable
Fetched https://github.com/tuist/Command.git from cache (0.65s)
Fetched https://github.com/p-x9/MachOKit from cache (0.66s)
Fetching https://github.com/Flight-School/AnyCodable
Fetched https://github.com/Kolos65/Mockable.git from cache (0.66s)
[12349/25415] Fetching swift-docc-plugin, xcodeproj
[16317/25769] Fetching swift-docc-plugin, xcodeproj, path
Fetched https://github.com/tuist/Path.git from cache (0.29s)
[17949/25415] Fetching swift-docc-plugin, xcodeproj
[20050/26197] Fetching swift-docc-plugin, xcodeproj, anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.30s)
[24949/25415] Fetching swift-docc-plugin, xcodeproj
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.99s)
Fetched https://github.com/tuist/XcodeProj from cache (2.01s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (4.40s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3411] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.46s)
Computing version for https://github.com/p-x9/MachOKit
warning: 'machokit': /Package.swift:77:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
75 | }
76 |
77 | extension SwiftSetting: CaseIterable {
   | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
78 |     public static var allCases: [Self] {
79 |         [
Computed https://github.com/p-x9/MachOKit at 0.35.1 (1.11s)
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/apple/swift-crypto.git
[1/163] Fetching swift-fileio
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.21s)
[1/14996] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.30s)
Computing version for https://github.com/Kolos65/Mockable.git
Computed https://github.com/Kolos65/Mockable.git at 0.4.0 (2.99s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-syntax.git
[1/5467] Fetching xctest-dynamic-overlay
[5468/76328] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.04s)
[11338/70861] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.54s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (6.91s)
Fetching https://github.com/apple/swift-log
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.51s)
Computing version for https://github.com/tuist/XcodeProj
Computed https://github.com/tuist/XcodeProj at 9.4.2 (1.40s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetching https://github.com/kylef/PathKit.git
Fetched https://github.com/tadija/AEXML.git from cache (0.52s)
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.47s)
Computing version for https://github.com/tuist/Path.git
Computed https://github.com/tuist/Path.git at 0.3.8 (1.93s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.80s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.70s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.9.0 (0.82s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.89s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.41s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.34s)
Computing version for https://github.com/tuist/FileSystem.git
Computed https://github.com/tuist/FileSystem.git at 0.10.8 (0.92s)
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/tuist/ZIPFoundation
[1/4875] Fetching zipfoundation
[2585/81198] Fetching zipfoundation, swift-nio
Fetched https://github.com/tuist/ZIPFoundation from cache (1.02s)
[5343/76323] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (8.34s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (9.32s)
Computing version for https://github.com/tuist/ZIPFoundation
Computed https://github.com/tuist/ZIPFoundation at 0.9.20 (0.91s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (1.63s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1797] Fetching swift-atomics
[325/6225] Fetching swift-atomics, swift-system
[2749/22831] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.87s)
[6115/18403] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.25s)
Fetched https://github.com/apple/swift-collections.git from cache (2.31s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (3.28s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.87s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.03s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.99s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.39s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (1.44s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.53s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.42s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.42s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/tuist/Path.git
Working copy of https://github.com/tuist/Path.git resolved at 0.3.8
Creating working copy for https://github.com/tuist/FileSystem.git
Working copy of https://github.com/tuist/FileSystem.git resolved at 0.10.8
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/p-x9/MachOKit
Working copy of https://github.com/p-x9/MachOKit resolved at 0.35.1
Creating working copy for https://github.com/tuist/XcodeProj
Working copy of https://github.com/tuist/XcodeProj resolved at 9.4.2
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/tuist/ZIPFoundation
Working copy of https://github.com/tuist/ZIPFoundation resolved at 0.9.20
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/tuist/Command.git
Working copy of https://github.com/tuist/Command.git resolved at 0.13.0
Creating working copy for https://github.com/Kolos65/Mockable.git
Working copy of https://github.com/Kolos65/Mockable.git resolved at 0.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 601.0.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:77:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
75 | }
76 |
77 | extension SwiftSetting: CaseIterable {
   | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
78 |     public static var allCases: [Self] {
79 |         [
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/96] Write sources
[34/96] Compiling _SwiftSyntaxCShims dummy.c
[35/96] Write sources
[42/96] Compiling CNIODarwin shim.c
[43/96] Compiling _AtomicsShims.c
[44/96] Compiling CNIOWindows shim.c
[45/96] Compiling CNIOWindows WSAStartup.c
[46/96] Compiling CSystem shims.c
[47/96] Write sources
[47/96] Compiling CNIOWASI CNIOWASI.c
[47/96] Write sources
[51/96] Compiling CNIOLinux shim.c
[52/96] Compiling MachOKitC mach-o-linux.c
[53/96] Compiling CNIOLinux liburing_shims.c
[54/96] Write swift-version-24593BA9C3E375BF.txt
[56/154] Emitting module SystemPackage
[57/157] 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
[58/157] 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
[60/158] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[61/158] Compiling SwiftSyntax601 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[63/163] Compiling SystemPackage MachPort.swift
[64/163] Compiling SystemPackage PlatformString.swift
[65/163] Compiling SystemPackage SystemString.swift
[65/163] Compiling c-nioatomics.c
[67/163] Compiling _NIODataStructures _TinyArray.swift
[68/163] Compiling _NIOBase64 Base64.swift
[69/163] Emitting module _NIOBase64
[70/163] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[71/164] Compiling SystemPackage Util+StringArray.swift
[72/164] Compiling SystemPackage Util.swift
[73/164] Compiling SystemPackage UtilConsumers.swift
[74/164] 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
[75/165] Compiling _NIODataStructures PriorityQueue.swift
[76/165] Compiling SystemPackage Errno.swift
[77/165] Compiling SystemPackage ErrnoWindows.swift
[78/165] Compiling SystemPackage FileDescriptor.swift
[79/165] Compiling SystemPackage FileHelpers.swift
[80/165] Emitting module _NIODataStructures
[81/165] Compiling _NIODataStructures Heap.swift
[82/166] 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
[83/166] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[88/169] 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 {
[89/197] Emitting module Path
[89/211] Compiling c-atomics.c
[91/211] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[92/212] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[93/212] Compiling InternalCollectionsUtilities Debugging.swift
[94/212] Compiling InternalCollectionsUtilities Descriptions.swift
[95/212] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[96/212] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[97/212] Compiling InternalCollectionsUtilities UInt+reversed.swift
[98/212] Emitting module Logging
[99/276] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[100/276] Compiling SwiftSyntax SyntaxNodeFactory.swift
[101/276] Compiling SwiftSyntax SyntaxNodeStructure.swift
[102/276] Compiling SwiftSyntax Identifier.swift
[103/276] Compiling SwiftSyntax MemoryLayout.swift
[104/276] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[105/276] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[106/276] Emitting module InternalCollectionsUtilities
[107/277] Compiling Path Path.swift
[110/292] Compiling Logging MetadataProvider.swift
[111/292] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[112/292] Compiling SwiftSyntax Assert.swift
[113/292] Compiling SwiftSyntax BumpPtrAllocator.swift
[114/292] Compiling SwiftSyntax CommonAncestor.swift
[117/292] Compiling SwiftSyntax RawSyntaxTokenView.swift
[118/292] Compiling SwiftSyntax SourceEdit.swift
[119/292] Compiling SwiftSyntax SourceLength.swift
[120/292] Compiling SwiftSyntax SyntaxIdentifier.swift
[123/292] Compiling SwiftSyntax SyntaxProtocol.swift
[124/292] Compiling SwiftSyntax SyntaxText.swift
[125/292] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[126/292] Compiling SwiftSyntax TokenDiagnostic.swift
[127/292] Compiling SwiftSyntax TokenSequence.swift
[128/292] Compiling SwiftSyntax TokenSyntax.swift
[129/292] Compiling SwiftSyntax AbsolutePosition.swift
[130/292] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[131/293] Compiling Logging Locks.swift
[132/293] Compiling Logging LogHandler.swift
[133/293] Compiling Logging Logging.swift
[135/294] Compiling NIOConcurrencyHelpers lock.swift
[136/294] Compiling NIOConcurrencyHelpers NIOLock.swift
[137/294] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[138/294] Compiling NIOConcurrencyHelpers atomics.swift
[140/294] Compiling SwiftSyntax RawSyntax.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
[143/327] Compiling Atomics OptionalRawRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
[144/327] Compiling Atomics RawRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
[145/327] Compiling Atomics AtomicBool.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
[146/327] Emitting module NIOConcurrencyHelpers
[147/327] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[150/328] Compiling Atomics PointerConformances.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
[151/328] Compiling Atomics Primitives.native.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
[152/328] Compiling Atomics AtomicMemoryOrderings.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
[153/328] Compiling Atomics DoubleWord.swift
[154/328] Compiling Atomics AtomicInteger.swift
[155/328] Compiling Atomics AtomicOptionalWrappable.swift
[157/328] Compiling Atomics AtomicReference.swift
[158/328] Compiling Atomics ManagedAtomic.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
[163/330] Compiling DequeModule _DequeSlot.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 {
[164/330] Compiling DequeModule _UnsafeWrappedBuffer.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:29:25: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
 27 |
 28 |         init(mode: mode_t) {
 29 |             switch mode & S_IFMT {
    |                         |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                         `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
 30 |             case S_IFDIR:
 31 |                 self = .directory
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:152:92: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
150 |         switch osType {
151 |         case .unix, .osx:
152 |             let mode = mode_t(self.centralDirectoryStructure.externalFileAttributes >> 16) & S_IFMT
    |                                                                                            |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                                                                                            `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
153 |             switch mode {
154 |             case S_IFREG:
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:196:15: error: cannot find 'lchmod' in scope
194 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
    |               `- error: cannot find 'lchmod' in scope
197 |             throw POSIXError(errno, path: url.path)
198 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:197:30: error: cannot find 'errno' in scope
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
197 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
198 |         }
199 |     }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:203:24: error: cannot find 'stat' in scope
201 |     func setSymlinkModificationDate(_ modificationDate: Date, ofItemAtURL url: URL) throws {
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:204:15: error: cannot find 'lstat' in scope
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
    |               `- error: cannot find 'lstat' in scope
205 |             throw POSIXError(errno, path: url.path)
206 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:205:30: error: cannot find 'errno' in scope
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
206 |         }
207 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:214:19: error: cannot find 'lutimes' in scope
212 |         ]
213 |         try array.withUnsafeBufferPointer {
214 |             guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
    |                   `- error: cannot find 'lutimes' in scope
215 |                 throw POSIXError(errno, path: url.path)
216 |             }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:215:34: error: cannot find 'errno' in scope
213 |         try array.withUnsafeBufferPointer {
214 |             guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
215 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
216 |             }
217 |         }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:241:72: error: cannot find 'S_IFMT' in scope
239 |         switch osType {
240 |         case .unix, .osx:
241 |             let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
    |                                                                        `- error: cannot find 'S_IFMT' in scope
242 |             let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
243 |             return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:253:30: error: cannot find 'S_IFREG' in scope
251 |         switch type {
252 |         case .file:
253 |             typeInt = UInt16(S_IFREG)
    |                              `- error: cannot find 'S_IFREG' in scope
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:255:30: error: cannot find 'S_IFDIR' in scope
253 |             typeInt = UInt16(S_IFREG)
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
    |                              `- error: cannot find 'S_IFDIR' in scope
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:257:30: error: cannot find 'S_IFLNK' in scope
255 |             typeInt = UInt16(S_IFDIR)
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
    |                              `- error: cannot find 'S_IFLNK' in scope
258 |         }
259 |         var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:267:24: error: cannot find 'stat' in scope
265 |         let fileManager = FileManager()
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
268 |         lstat(entryFileSystemRepresentation, &fileStat)
269 |         let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:268:9: error: cannot find 'lstat' in scope
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
268 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
269 |         let permissions = fileStat.st_mode
270 |         return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:279:24: error: cannot find 'stat' in scope
277 |         }
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
280 |         lstat(entryFileSystemRepresentation, &fileStat)
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:280:9: error: cannot find 'lstat' in scope
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
280 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
282 |         let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:299:21: error: cannot find 'stat' in scope
297 |
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
    |                     `- error: cannot find 'stat' in scope
300 |         lstat(entryFileSystemRepresentation, &stats)
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:300:9: error: cannot find 'lstat' in scope
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
300 |         lstat(entryFileSystemRepresentation, &stats)
    |         `- error: cannot find 'lstat' in scope
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
302 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:313:24: error: cannot find 'stat' in scope
311 |         }
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
314 |         lstat(entryFileSystemRepresentation, &fileStat)
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:314:9: error: cannot find 'lstat' in scope
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
314 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
316 |     }
[165/330] Compiling Atomics UnsafeAtomicLazyReference.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:29:25: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
 27 |
 28 |         init(mode: mode_t) {
 29 |             switch mode & S_IFMT {
    |                         |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                         `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
 30 |             case S_IFDIR:
 31 |                 self = .directory
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:152:92: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
150 |         switch osType {
151 |         case .unix, .osx:
152 |             let mode = mode_t(self.centralDirectoryStructure.externalFileAttributes >> 16) & S_IFMT
    |                                                                                            |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                                                                                            `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
153 |             switch mode {
154 |             case S_IFREG:
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:196:15: error: cannot find 'lchmod' in scope
194 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
    |               `- error: cannot find 'lchmod' in scope
197 |             throw POSIXError(errno, path: url.path)
198 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:197:30: error: cannot find 'errno' in scope
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
197 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
198 |         }
199 |     }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:203:24: error: cannot find 'stat' in scope
201 |     func setSymlinkModificationDate(_ modificationDate: Date, ofItemAtURL url: URL) throws {
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:204:15: error: cannot find 'lstat' in scope
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
    |               `- error: cannot find 'lstat' in scope
205 |             throw POSIXError(errno, path: url.path)
206 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:205:30: error: cannot find 'errno' in scope
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
206 |         }
207 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:214:19: error: cannot find 'lutimes' in scope
212 |         ]
213 |         try array.withUnsafeBufferPointer {
214 |             guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
    |                   `- error: cannot find 'lutimes' in scope
215 |                 throw POSIXError(errno, path: url.path)
216 |             }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:215:34: error: cannot find 'errno' in scope
213 |         try array.withUnsafeBufferPointer {
214 |             guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
215 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
216 |             }
217 |         }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:241:72: error: cannot find 'S_IFMT' in scope
239 |         switch osType {
240 |         case .unix, .osx:
241 |             let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
    |                                                                        `- error: cannot find 'S_IFMT' in scope
242 |             let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
243 |             return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:253:30: error: cannot find 'S_IFREG' in scope
251 |         switch type {
252 |         case .file:
253 |             typeInt = UInt16(S_IFREG)
    |                              `- error: cannot find 'S_IFREG' in scope
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:255:30: error: cannot find 'S_IFDIR' in scope
253 |             typeInt = UInt16(S_IFREG)
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
    |                              `- error: cannot find 'S_IFDIR' in scope
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:257:30: error: cannot find 'S_IFLNK' in scope
255 |             typeInt = UInt16(S_IFDIR)
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
    |                              `- error: cannot find 'S_IFLNK' in scope
258 |         }
259 |         var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:267:24: error: cannot find 'stat' in scope
265 |         let fileManager = FileManager()
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
268 |         lstat(entryFileSystemRepresentation, &fileStat)
269 |         let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:268:9: error: cannot find 'lstat' in scope
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
268 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
269 |         let permissions = fileStat.st_mode
270 |         return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:279:24: error: cannot find 'stat' in scope
277 |         }
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
280 |         lstat(entryFileSystemRepresentation, &fileStat)
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:280:9: error: cannot find 'lstat' in scope
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
280 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
282 |         let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:299:21: error: cannot find 'stat' in scope
297 |
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
    |                     `- error: cannot find 'stat' in scope
300 |         lstat(entryFileSystemRepresentation, &stats)
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:300:9: error: cannot find 'lstat' in scope
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
300 |         lstat(entryFileSystemRepresentation, &stats)
    |         `- error: cannot find 'lstat' in scope
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
302 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:313:24: error: cannot find 'stat' in scope
311 |         }
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
314 |         lstat(entryFileSystemRepresentation, &fileStat)
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:314:9: error: cannot find 'lstat' in scope
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
314 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
316 |     }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:77:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
75 | }
76 |
77 | extension SwiftSetting: CaseIterable {
   | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
78 |     public static var allCases: [Self] {
79 |         [
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/42] Write swift-version-24593BA9C3E375BF.txt
[4/104] Compiling SwiftSyntax509 Empty.swift
[5/104] Emitting module SwiftSyntax601
[6/104] Emitting module SwiftSyntax509
[7/105] Compiling SwiftSyntax600 Empty.swift
[8/105] Compiling SwiftSyntax510 Empty.swift
[9/105] Emitting module SwiftSyntax510
[10/106] Compiling SwiftSyntax601 Empty.swift
[11/107] Emitting module SwiftSyntax600
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/109] 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 {
[17/109] Compiling SystemPackage FileOperations.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
[18/109] Compiling SystemPackage FilePath.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
[19/109] Compiling SystemPackage FilePathComponentView.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
[20/109] Compiling SystemPackage FilePathComponents.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
[21/109] Compiling SystemPackage Backcompat.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
[22/109] Compiling SystemPackage CInterop.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
[23/109] Compiling SystemPackage Constants.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
[24/109] Compiling SystemPackage Exports.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
[25/109] Compiling SystemPackage FilePathParsing.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:272:9: error: cannot find 'ftruncate' in scope
270 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
271 |         fflush(self.archiveFile)
272 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
273 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
274 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
[26/112] Compiling _NIODataStructures PriorityQueue.swift
[27/112] Compiling _NIODataStructures Heap.swift
[28/112] Emitting module _NIODataStructures
[29/112] Emitting module _NIOBase64
[30/112] Compiling _NIOBase64 Base64.swift
[31/113] Compiling ZIPFoundation Entry.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:29:25: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
 27 |
 28 |         init(mode: mode_t) {
 29 |             switch mode & S_IFMT {
    |                         |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                         `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
 30 |             case S_IFDIR:
 31 |                 self = .directory
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:152:92: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
150 |         switch osType {
151 |         case .unix, .osx:
152 |             let mode = mode_t(self.centralDirectoryStructure.externalFileAttributes >> 16) & S_IFMT
    |                                                                                            |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                                                                                            `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
153 |             switch mode {
154 |             case S_IFREG:
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:196:15: error: cannot find 'lchmod' in scope
194 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
    |               `- error: cannot find 'lchmod' in scope
197 |             throw POSIXError(errno, path: url.path)
198 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:197:30: error: cannot find 'errno' in scope
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
197 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
198 |         }
199 |     }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:203:24: error: cannot find 'stat' in scope
201 |     func setSymlinkModificationDate(_ modificationDate: Date, ofItemAtURL url: URL) throws {
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:204:15: error: cannot find 'lstat' in scope
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
    |               `- error: cannot find 'lstat' in scope
205 |             throw POSIXError(errno, path: url.path)
206 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:205:30: error: cannot find 'errno' in scope
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
206 |         }
207 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:214:19: error: cannot find 'lutimes' in scope
212 |         ]
213 |         try array.withUnsafeBufferPointer {
214 |             guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
    |                   `- error: cannot find 'lutimes' in scope
215 |                 throw POSIXError(errno, path: url.path)
216 |             }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:215:34: error: cannot find 'errno' in scope
213 |         try array.withUnsafeBufferPointer {
214 |             guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
215 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
216 |             }
217 |         }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:241:72: error: cannot find 'S_IFMT' in scope
239 |         switch osType {
240 |         case .unix, .osx:
241 |             let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
    |                                                                        `- error: cannot find 'S_IFMT' in scope
242 |             let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
243 |             return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:253:30: error: cannot find 'S_IFREG' in scope
251 |         switch type {
252 |         case .file:
253 |             typeInt = UInt16(S_IFREG)
    |                              `- error: cannot find 'S_IFREG' in scope
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:255:30: error: cannot find 'S_IFDIR' in scope
253 |             typeInt = UInt16(S_IFREG)
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
    |                              `- error: cannot find 'S_IFDIR' in scope
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:257:30: error: cannot find 'S_IFLNK' in scope
255 |             typeInt = UInt16(S_IFDIR)
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
    |                              `- error: cannot find 'S_IFLNK' in scope
258 |         }
259 |         var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:267:24: error: cannot find 'stat' in scope
265 |         let fileManager = FileManager()
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
268 |         lstat(entryFileSystemRepresentation, &fileStat)
269 |         let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:268:9: error: cannot find 'lstat' in scope
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
268 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
269 |         let permissions = fileStat.st_mode
270 |         return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:279:24: error: cannot find 'stat' in scope
277 |         }
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
280 |         lstat(entryFileSystemRepresentation, &fileStat)
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:280:9: error: cannot find 'lstat' in scope
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
280 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
282 |         let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:299:21: error: cannot find 'stat' in scope
297 |
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
    |                     `- error: cannot find 'stat' in scope
300 |         lstat(entryFileSystemRepresentation, &stats)
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:300:9: error: cannot find 'lstat' in scope
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
300 |         lstat(entryFileSystemRepresentation, &stats)
    |         `- error: cannot find 'lstat' in scope
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
302 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:313:24: error: cannot find 'stat' in scope
311 |         }
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
314 |         lstat(entryFileSystemRepresentation, &fileStat)
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:314:9: error: cannot find 'lstat' in scope
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
314 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
316 |     }
[32/113] Compiling ZIPFoundation FileManager+ZIP.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:29:25: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
 27 |
 28 |         init(mode: mode_t) {
 29 |             switch mode & S_IFMT {
    |                         |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                         `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
 30 |             case S_IFDIR:
 31 |                 self = .directory
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:152:92: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
150 |         switch osType {
151 |         case .unix, .osx:
152 |             let mode = mode_t(self.centralDirectoryStructure.externalFileAttributes >> 16) & S_IFMT
    |                                                                                            |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                                                                                            `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
153 |             switch mode {
154 |             case S_IFREG:
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:196:15: error: cannot find 'lchmod' in scope
194 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
    |               `- error: cannot find 'lchmod' in scope
197 |             throw POSIXError(errno, path: url.path)
198 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:197:30: error: cannot find 'errno' in scope
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
197 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
198 |         }
199 |     }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:203:24: error: cannot find 'stat' in scope
201 |     func setSymlinkModificationDate(_ modificationDate: Date, ofItemAtURL url: URL) throws {
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:204:15: error: cannot find 'lstat' in scope
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
    |               `- error: cannot find 'lstat' in scope
205 |             throw POSIXError(errno, path: url.path)
206 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:205:30: error: cannot find 'errno' in scope
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
206 |         }
207 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:214:19: error: cannot find 'lutimes' in scope
212 |         ]
213 |         try array.withUnsafeBufferPointer {
214 |             guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
    |                   `- error: cannot find 'lutimes' in scope
215 |                 throw POSIXError(errno, path: url.path)
216 |             }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:215:34: error: cannot find 'errno' in scope
213 |         try array.withUnsafeBufferPointer {
214 |             guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
215 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
216 |             }
217 |         }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:241:72: error: cannot find 'S_IFMT' in scope
239 |         switch osType {
240 |         case .unix, .osx:
241 |             let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
    |                                                                        `- error: cannot find 'S_IFMT' in scope
242 |             let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
243 |             return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:253:30: error: cannot find 'S_IFREG' in scope
251 |         switch type {
252 |         case .file:
253 |             typeInt = UInt16(S_IFREG)
    |                              `- error: cannot find 'S_IFREG' in scope
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:255:30: error: cannot find 'S_IFDIR' in scope
253 |             typeInt = UInt16(S_IFREG)
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
    |                              `- error: cannot find 'S_IFDIR' in scope
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:257:30: error: cannot find 'S_IFLNK' in scope
255 |             typeInt = UInt16(S_IFDIR)
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
    |                              `- error: cannot find 'S_IFLNK' in scope
258 |         }
259 |         var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:267:24: error: cannot find 'stat' in scope
265 |         let fileManager = FileManager()
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
268 |         lstat(entryFileSystemRepresentation, &fileStat)
269 |         let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:268:9: error: cannot find 'lstat' in scope
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
268 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
269 |         let permissions = fileStat.st_mode
270 |         return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:279:24: error: cannot find 'stat' in scope
277 |         }
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
280 |         lstat(entryFileSystemRepresentation, &fileStat)
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:280:9: error: cannot find 'lstat' in scope
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
280 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
282 |         let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:299:21: error: cannot find 'stat' in scope
297 |
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
    |                     `- error: cannot find 'stat' in scope
300 |         lstat(entryFileSystemRepresentation, &stats)
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:300:9: error: cannot find 'lstat' in scope
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
300 |         lstat(entryFileSystemRepresentation, &stats)
    |         `- error: cannot find 'lstat' in scope
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
302 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:313:24: error: cannot find 'stat' in scope
311 |         }
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
314 |         lstat(entryFileSystemRepresentation, &fileStat)
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:314:9: error: cannot find 'lstat' in scope
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
314 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
316 |     }
[33/115] Compiling _NIODataStructures _TinyArray.swift
[35/122] Emitting module SystemPackage
[40/130] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[41/130] Compiling ZIPFoundation URL+ZIP.swift
[45/130] Compiling SystemPackage FileDescriptor.swift
[46/130] Compiling SystemPackage FileHelpers.swift
[47/130] Compiling SystemPackage Mocking.swift
[48/130] Compiling SystemPackage RawBuffer.swift
[49/130] Compiling SystemPackage Syscalls.swift
[50/130] Compiling SystemPackage WindowsSyscallAdapters.swift
[51/130] Compiling Logging MetadataProvider.swift
[52/157] Compiling SystemPackage MachPort.swift
[55/157] Compiling SystemPackage FilePathTempPosix.swift
[56/157] Compiling SystemPackage FilePathTempWindows.swift
[57/157] Compiling SystemPackage FilePathWindows.swift
[58/157] Compiling SystemPackage FilePermissions.swift
[59/157] Compiling IssueReporting Warn.swift
[60/157] Compiling SwiftSyntax AbsolutePosition.swift
[61/157] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[62/157] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[63/213] Compiling NIOConcurrencyHelpers NIOLock.swift
[64/213] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[65/213] Compiling Logging Locks.swift
[66/213] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[67/213] Compiling NIOConcurrencyHelpers atomics.swift
[68/213] Compiling NIOConcurrencyHelpers lock.swift
[69/213] Compiling IssueReporting ErrorReporting.swift
[70/213] Compiling IssueReporting AppHostWarning.swift
[71/213] Compiling IssueReporting Deprecations.swift
[72/213] Compiling IssueReporting FailureObserver.swift
[73/213] Emitting module NIOConcurrencyHelpers
[74/214] Compiling SwiftSyntax SourceLocation.swift
[75/214] Compiling SwiftSyntax SourcePresence.swift
[76/214] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[79/215] Compiling Path Path.swift
[80/215] Emitting module Path
[81/216] Compiling IssueReporting XCTest.swift
[82/216] Compiling IssueReporting IsTesting.swift
[83/216] Compiling IssueReporting TestContext.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 {
[84/216] Compiling IssueReporting Unimplemented.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 {
[85/216] Compiling IssueReporting RuntimeWarningReporter.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 {
[86/216] Compiling IssueReporting IssueReporter.swift
[87/216] Compiling IssueReporting BreakpointReporter.swift
[88/216] Compiling IssueReporting FatalErrorReporter.swift
[89/229] Emitting module Logging
[90/229] Compiling Logging LogHandler.swift
BUILD FAILURE 6.1 android