The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ZIPFoundation, reference main (649393), with Swift 6.1 for Android on 30 May 2025 18:02:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/gregcotten/ZIPFoundationModern.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/gregcotten/ZIPFoundationModern
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 649393f claw back macOS requirement to 10.15
Cloned https://github.com/gregcotten/ZIPFoundationModern.git
Revision (git rev-parse @):
649393f312e1cd0e6dabc1e28cacaaaf7204c766
SUCCESS checkout https://github.com/gregcotten/ZIPFoundationModern.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/gregcotten/ZIPFoundationModern.git
https://github.com/gregcotten/ZIPFoundationModern.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "csprogress",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/gregcotten/CSProgress"
    },
    {
      "identity" : "zlib",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/the-swift-collective/zlib"
    }
  ],
  "manifest_display_name" : "ZIPFoundation",
  "name" : "ZIPFoundation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "ZIPFoundation",
      "targets" : [
        "ZIPFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ZIPFoundationTests",
      "module_type" : "SwiftTarget",
      "name" : "ZIPFoundationTests",
      "path" : "Tests/ZIPFoundationTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testAddDirectoryToArchiveWithZIP64LFHOffset.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testAddEntryToArchiveWithZIP64LFHOffset.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveAddCompressedEntryProgress.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveAddCompressedEntryProgress.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveAddEntryErrorConditions.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveAddUncompressedEntryProgress.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveAddUncompressedEntryProgress.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testArchiveIteratorErrorConditions.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCRC32Calculation.data",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCRC32Check.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCorruptFileErrorConditions.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCorruptSymbolicLinkErrorConditions.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddCompressedEntry.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddCompressedEntryToMemory.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddEntryErrorConditions.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddSymbolicLink.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddUncompressedEntry.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddUncompressedEntryToMemory.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddZeroSizeCompressedEntry.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateArchiveAddZeroSizeUncompressedEntry.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testCreateZIP64ArchiveAddUncompressedEntry.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testDetectEntryType.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testEntryIsCompressed.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractCompressedDataDescriptorArchive.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractCompressedEntryCancelation.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractCompressedFolderEntries.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractCompressedFolderEntriesFromMemory.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractCompressedZIP64Entries.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractEncryptedArchiveErrorConditions.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractEntryWithZIP64DataDescriptor.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractErrorConditions.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractInvalidBufferSizeErrorConditions.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractMSDOSArchive.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractPreferredEncoding.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedDataDescriptorArchive.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedEmptyFile.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedEntryCancelation.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedFolderEntries.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedFolderEntriesFromMemory.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testExtractUncompressedZIP64Entries.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testFileModificationDate.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testInvalidCompressionMethodErrorConditions.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testPOSIXPermissions.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testProgressHelpers.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveCompressedEntry.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveDataDescriptorCompressedEntry.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveEntryErrorConditions.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveEntryFromArchiveWithZIP64EOCD.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveEntryProgress.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveEntryWithZIP64ExtendedInformation.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveUncompressedEntry.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testRemoveZIP64EntryFromArchiveWithZIP64EOCD.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testTraversalAttack.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipCompressedZIP64Item.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItem.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItemErrorConditions.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItemErrorConditions.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItemProgress.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItemWithPreferredEncoding.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipItemWithZIP64DataDescriptor.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUnzipUncompressedZIP64Item.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testUpdateArchiveRemoveUncompressedEntryFromMemory.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZIP64ArchiveAddEntryProgress.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZIP64ArchiveAddEntryProgress.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZipCompressedZIP64Item.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZipItem.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZipItemProgress.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZIPFoundationTests/Resources/testZipUncompressedZIP64Item.png",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ZIPFoundationArchiveTests+ZIP64.swift",
        "ZIPFoundationArchiveTests.swift",
        "ZIPFoundationDataSerializationTests.swift",
        "ZIPFoundationEntryTests+ZIP64.swift",
        "ZIPFoundationEntryTests.swift",
        "ZIPFoundationErrorConditionTests+ZIP64.swift",
        "ZIPFoundationErrorConditionTests.swift",
        "ZIPFoundationFileManagerTests+ZIP64.swift",
        "ZIPFoundationFileManagerTests.swift",
        "ZIPFoundationMemoryTests.swift",
        "ZIPFoundationPerformanceTests.swift",
        "ZIPFoundationProgressTests.swift",
        "ZIPFoundationReadingTests+ZIP64.swift",
        "ZIPFoundationReadingTests.swift",
        "ZIPFoundationTests.swift",
        "ZIPFoundationWritingTests+ZIP64.swift",
        "ZIPFoundationWritingTests.swift"
      ],
      "target_dependencies" : [
        "ZIPFoundation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ZIPFoundation",
      "module_type" : "SwiftTarget",
      "name" : "ZIPFoundation",
      "path" : "Sources/ZIPFoundation",
      "product_dependencies" : [
        "SystemPackage",
        "CSProgress",
        "ZLib"
      ],
      "product_memberships" : [
        "ZIPFoundation"
      ],
      "sources" : [
        "Archive+BackingConfiguration.swift",
        "Archive+Helpers.swift",
        "Archive+MemoryFile.swift",
        "Archive+Progress.swift",
        "Archive+Reading.swift",
        "Archive+Writing.swift",
        "Archive+ZIP64.swift",
        "Archive.swift",
        "ArchiveHandle.swift",
        "ConcurrencyShims.swift",
        "Data+Compression.swift",
        "Data+Serialization.swift",
        "Entry+Serialization.swift",
        "Entry+ZIP64.swift",
        "Entry.swift",
        "FileHandle+Extensions.swift",
        "FileManager+ZIP.swift",
        "URL+ZIP.swift",
        "Windows+POSIX.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/gregcotten/CSProgress
Fetching https://github.com/the-swift-collective/zlib
[1/239] Fetching csprogress
[240/287] Fetching csprogress, zlib
Fetching https://github.com/apple/swift-system
Fetched https://github.com/gregcotten/CSProgress from cache (0.51s)
Fetched https://github.com/the-swift-collective/zlib from cache (0.52s)
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (1.21s)
Computing version for https://github.com/gregcotten/CSProgress
Computed https://github.com/gregcotten/CSProgress at 0.0.1 (3.11s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (1.07s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.72s)
Creating working copy for https://github.com/gregcotten/CSProgress
Working copy of https://github.com/gregcotten/CSProgress resolved at 0.0.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/the-swift-collective/zlib
Working copy of https://github.com/the-swift-collective/zlib resolved at 1.3.2
Building for debugging...
[0/21] Write sources
[3/21] Compiling ZLibC uncompr.c
[4/21] Compiling ZLibC zutil.c
[5/21] Compiling ZLibC inftrees.c
[6/21] Compiling CSystem shims.c
[7/21] Compiling ZLibC adler32.c
[8/21] Compiling ZLibC trees.c
[9/21] Compiling ZLibC inffast.c
[10/21] Compiling ZLibC gzwrite.c
[11/21] Compiling ZLibC infback.c
[12/21] Compiling ZLibC gzclose.c
[12/21] Write sources
[12/21] Compiling ZLibC inflate.c
[15/21] Compiling ZLibC gzlib.c
[16/21] Compiling ZLibC gzread.c
[17/21] Compiling ZLibC crc32.c
[18/21] Write swift-version-24593BA9C3E375BF.txt
[19/21] Compiling ZLibC compress.c
[20/21] Compiling ZLibC deflate.c
[22/53] Emitting module SystemPackage
[23/56] Compiling ZLib ZLib.swift
[24/56] Emitting module ZLib
[25/57] Compiling SystemPackage FilePathParsing.swift
[26/57] Compiling SystemPackage FilePathString.swift
[27/57] Compiling SystemPackage FilePathSyntax.swift
[28/57] Compiling SystemPackage FilePathTemp.swift
[29/57] Compiling SystemPackage FileOperations.swift
[30/57] Compiling SystemPackage FilePath.swift
[31/57] Compiling SystemPackage FilePathComponentView.swift
[32/57] Compiling SystemPackage FilePathComponents.swift
[33/57] Compiling SystemPackage MachPort.swift
[34/57] Compiling SystemPackage PlatformString.swift
[35/57] Compiling SystemPackage SystemString.swift
[36/57] Compiling SystemPackage Util+StringArray.swift
[37/57] Compiling SystemPackage Util.swift
[38/57] Compiling SystemPackage UtilConsumers.swift
[40/57] Compiling SystemPackage FilePathTempPosix.swift
[41/57] Compiling SystemPackage FilePathTempWindows.swift
[42/57] Compiling SystemPackage FilePathWindows.swift
[43/57] Compiling SystemPackage FilePermissions.swift
[44/57] Compiling SystemPackage Errno.swift
[45/57] Compiling SystemPackage ErrnoWindows.swift
[46/57] Compiling SystemPackage FileDescriptor.swift
[47/57] Compiling SystemPackage FileHelpers.swift
[48/57] Compiling SystemPackage Backcompat.swift
[49/57] Compiling SystemPackage CInterop.swift
[50/57] Compiling SystemPackage Constants.swift
[51/57] Compiling SystemPackage Exports.swift
[52/57] Compiling SystemPackage Mocking.swift
[53/57] Compiling SystemPackage RawBuffer.swift
[54/57] Compiling SystemPackage Syscalls.swift
[55/57] Compiling SystemPackage WindowsSyscallAdapters.swift
[57/58] Emitting module CSProgress
[58/58] Compiling CSProgress CSProgress.swift
[60/77] Compiling ZIPFoundation ConcurrencyShims.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/ConcurrencyShims.swift:79:30: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | }
64 |
65 | func withTaskCancellableProgress<T>(progressCallback: ProgressCallback? = nil, operation: @escaping (CSProgress) throws -> T) async throws -> T {
   |                                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
66 |     try Task.checkCancellation()
67 |     let progress = CSProgress()
   :
77 |     return try await withTaskCancellationHandler {
78 |         do {
79 |             return try await Task {
   |                              `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
80 |                 try operation(progress)
81 |             }.value
/host/spi-builder-workspace/Sources/ZIPFoundation/ConcurrencyShims.swift:79:30: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | }
64 |
65 | func withTaskCancellableProgress<T>(progressCallback: ProgressCallback? = nil, operation: @escaping (CSProgress) throws -> T) async throws -> T {
   |                                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
66 |     try Task.checkCancellation()
67 |     let progress = CSProgress()
   :
77 |     return try await withTaskCancellationHandler {
78 |         do {
79 |             return try await Task {
   |                              `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
80 |                 try operation(progress)
81 |             }.value
/host/spi-builder-workspace/Sources/ZIPFoundation/ConcurrencyShims.swift:81:15: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | }
64 |
65 | func withTaskCancellableProgress<T>(progressCallback: ProgressCallback? = nil, operation: @escaping (CSProgress) throws -> T) async throws -> T {
   |                                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
66 |     try Task.checkCancellation()
67 |     let progress = CSProgress()
   :
79 |             return try await Task {
80 |                 try operation(progress)
81 |             }.value
   |               `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 |         } catch Archive.ArchiveError.cancelledOperation {
83 |             throw CancellationError()
/host/spi-builder-workspace/Sources/ZIPFoundation/ConcurrencyShims.swift:88:9: warning: capture of 'progress' with non-sendable type 'CSProgress' in a '@Sendable' closure; this is an error in the Swift 6 language mode
86 |         }
87 |     } onCancel: {
88 |         progress.cancel()
   |         `- warning: capture of 'progress' with non-sendable type 'CSProgress' in a '@Sendable' closure; this is an error in the Swift 6 language mode
89 |     }
90 | }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:11:20: note: class 'CSProgress' does not conform to the 'Sendable' protocol
   9 |
  10 | // 'final' is apparently needed to conform to _ObjectiveCBridgeable. It also results in better performance.
  11 | public final class CSProgress: CustomDebugStringConvertible {
     |                    `- note: class 'CSProgress' does not conform to the 'Sendable' protocol
  12 |     // We allow increments as an atomic operation, for better performance.
  13 |     private enum UnitCountChangeType {
/host/spi-builder-workspace/Sources/ZIPFoundation/ConcurrencyShims.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CSProgress'
 1 | import Foundation
 2 | import CSProgress
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CSProgress'
 3 |
 4 | public typealias ProgressCallback = (Double) -> Void
/host/spi-builder-workspace/Sources/ZIPFoundation/Data+Compression.swift:175:87: error: ambiguous use of 'ZLIB_VERSION'
173 |             let streamSize = Int32(MemoryLayout<z_stream>.size)
174 |             var result = deflateInit2_(&stream, Z_DEFAULT_COMPRESSION,
175 |                                        Z_DEFLATED, -MAX_WBITS, 9, Z_DEFAULT_STRATEGY, ZLIB_VERSION, streamSize)
    |                                                                                       `- error: ambiguous use of 'ZLIB_VERSION'
176 |             defer { deflateEnd(&stream) }
177 |             guard result == Z_OK else { throw CompressionError.invalidStream }
zlib.ZLIB_VERSION:1:12: note: found this candidate in module 'zlib'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'zlib'
ZLibC.ZLIB_VERSION:1:12: note: found this candidate in module 'ZLibC'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'ZLibC'
/host/spi-builder-workspace/Sources/ZIPFoundation/Data+Compression.swift:222:61: error: ambiguous use of 'ZLIB_VERSION'
220 |             var stream = z_stream()
221 |             let streamSize = Int32(MemoryLayout<z_stream>.size)
222 |             var result = inflateInit2_(&stream, -MAX_WBITS, ZLIB_VERSION, streamSize)
    |                                                             `- error: ambiguous use of 'ZLIB_VERSION'
223 |             defer { inflateEnd(&stream) }
224 |             guard result == Z_OK else { throw CompressionError.invalidStream }
zlib.ZLIB_VERSION:1:12: note: found this candidate in module 'zlib'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'zlib'
ZLibC.ZLIB_VERSION:1:12: note: found this candidate in module 'ZLibC'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'ZLibC'
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/zlib.h:1855:15: error: 'gzFile_s::pos' from module 'ZLibC' is not present in definition of 'struct gzFile_s' in module 'zlib'
1853 |     unsigned have;
1854 |     unsigned char *next;
1855 |     z_off64_t pos;
     |               `- error: 'gzFile_s::pos' from module 'ZLibC' is not present in definition of 'struct gzFile_s' in module 'zlib'
1856 | };
1857 | ZEXTERN int ZEXPORT gzgetc_(gzFile file);       /* backward compatibility */
/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/zlib.h:1896:15: note: declaration of 'pos' does not match
1894 |     unsigned have;
1895 |     unsigned char *next;
1896 |     z_off64_t pos;
     |               `- note: declaration of 'pos' does not match
1897 | };
1898 | ZEXTERN int ZEXPORT gzgetc_(gzFile file);       /* backward compatibility */
[61/77] Compiling ZIPFoundation Data+Compression.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/ConcurrencyShims.swift:79:30: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | }
64 |
65 | func withTaskCancellableProgress<T>(progressCallback: ProgressCallback? = nil, operation: @escaping (CSProgress) throws -> T) async throws -> T {
   |                                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
66 |     try Task.checkCancellation()
67 |     let progress = CSProgress()
   :
77 |     return try await withTaskCancellationHandler {
78 |         do {
79 |             return try await Task {
   |                              `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
80 |                 try operation(progress)
81 |             }.value
/host/spi-builder-workspace/Sources/ZIPFoundation/ConcurrencyShims.swift:79:30: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | }
64 |
65 | func withTaskCancellableProgress<T>(progressCallback: ProgressCallback? = nil, operation: @escaping (CSProgress) throws -> T) async throws -> T {
   |                                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
66 |     try Task.checkCancellation()
67 |     let progress = CSProgress()
   :
77 |     return try await withTaskCancellationHandler {
78 |         do {
79 |             return try await Task {
   |                              `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
80 |                 try operation(progress)
81 |             }.value
/host/spi-builder-workspace/Sources/ZIPFoundation/ConcurrencyShims.swift:81:15: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | }
64 |
65 | func withTaskCancellableProgress<T>(progressCallback: ProgressCallback? = nil, operation: @escaping (CSProgress) throws -> T) async throws -> T {
   |                                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
66 |     try Task.checkCancellation()
67 |     let progress = CSProgress()
   :
79 |             return try await Task {
80 |                 try operation(progress)
81 |             }.value
   |               `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 |         } catch Archive.ArchiveError.cancelledOperation {
83 |             throw CancellationError()
/host/spi-builder-workspace/Sources/ZIPFoundation/ConcurrencyShims.swift:88:9: warning: capture of 'progress' with non-sendable type 'CSProgress' in a '@Sendable' closure; this is an error in the Swift 6 language mode
86 |         }
87 |     } onCancel: {
88 |         progress.cancel()
   |         `- warning: capture of 'progress' with non-sendable type 'CSProgress' in a '@Sendable' closure; this is an error in the Swift 6 language mode
89 |     }
90 | }
/host/spi-builder-workspace/.build/checkouts/CSProgress/Sources/CSProgress/CSProgress.swift:11:20: note: class 'CSProgress' does not conform to the 'Sendable' protocol
   9 |
  10 | // 'final' is apparently needed to conform to _ObjectiveCBridgeable. It also results in better performance.
  11 | public final class CSProgress: CustomDebugStringConvertible {
     |                    `- note: class 'CSProgress' does not conform to the 'Sendable' protocol
  12 |     // We allow increments as an atomic operation, for better performance.
  13 |     private enum UnitCountChangeType {
/host/spi-builder-workspace/Sources/ZIPFoundation/ConcurrencyShims.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CSProgress'
 1 | import Foundation
 2 | import CSProgress
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CSProgress'
 3 |
 4 | public typealias ProgressCallback = (Double) -> Void
/host/spi-builder-workspace/Sources/ZIPFoundation/Data+Compression.swift:175:87: error: ambiguous use of 'ZLIB_VERSION'
173 |             let streamSize = Int32(MemoryLayout<z_stream>.size)
174 |             var result = deflateInit2_(&stream, Z_DEFAULT_COMPRESSION,
175 |                                        Z_DEFLATED, -MAX_WBITS, 9, Z_DEFAULT_STRATEGY, ZLIB_VERSION, streamSize)
    |                                                                                       `- error: ambiguous use of 'ZLIB_VERSION'
176 |             defer { deflateEnd(&stream) }
177 |             guard result == Z_OK else { throw CompressionError.invalidStream }
zlib.ZLIB_VERSION:1:12: note: found this candidate in module 'zlib'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'zlib'
ZLibC.ZLIB_VERSION:1:12: note: found this candidate in module 'ZLibC'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'ZLibC'
/host/spi-builder-workspace/Sources/ZIPFoundation/Data+Compression.swift:222:61: error: ambiguous use of 'ZLIB_VERSION'
220 |             var stream = z_stream()
221 |             let streamSize = Int32(MemoryLayout<z_stream>.size)
222 |             var result = inflateInit2_(&stream, -MAX_WBITS, ZLIB_VERSION, streamSize)
    |                                                             `- error: ambiguous use of 'ZLIB_VERSION'
223 |             defer { inflateEnd(&stream) }
224 |             guard result == Z_OK else { throw CompressionError.invalidStream }
zlib.ZLIB_VERSION:1:12: note: found this candidate in module 'zlib'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'zlib'
ZLibC.ZLIB_VERSION:1:12: note: found this candidate in module 'ZLibC'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'ZLibC'
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/zlib.h:1855:15: error: 'gzFile_s::pos' from module 'ZLibC' is not present in definition of 'struct gzFile_s' in module 'zlib'
1853 |     unsigned have;
1854 |     unsigned char *next;
1855 |     z_off64_t pos;
     |               `- error: 'gzFile_s::pos' from module 'ZLibC' is not present in definition of 'struct gzFile_s' in module 'zlib'
1856 | };
1857 | ZEXTERN int ZEXPORT gzgetc_(gzFile file);       /* backward compatibility */
/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/zlib.h:1896:15: note: declaration of 'pos' does not match
1894 |     unsigned have;
1895 |     unsigned char *next;
1896 |     z_off64_t pos;
     |               `- note: declaration of 'pos' does not match
1897 | };
1898 | ZEXTERN int ZEXPORT gzgetc_(gzFile file);       /* backward compatibility */
[62/79] Compiling ZIPFoundation URL+ZIP.swift
[63/79] Compiling ZIPFoundation Windows+POSIX.swift
[64/79] Compiling ZIPFoundation FileHandle+Extensions.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/FileManager+ZIP.swift:255:54: error: cannot find 'S_IFMT' in scope
253 |         }
254 |
255 |         permissions = .init(rawValue: mode & ~mode_t(S_IFMT))
    |                                                      `- error: cannot find 'S_IFMT' in scope
256 |     }
257 |
[65/79] Compiling ZIPFoundation FileManager+ZIP.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/FileManager+ZIP.swift:255:54: error: cannot find 'S_IFMT' in scope
253 |         }
254 |
255 |         permissions = .init(rawValue: mode & ~mode_t(S_IFMT))
    |                                                      `- error: cannot find 'S_IFMT' in scope
256 |     }
257 |
[66/79] Compiling ZIPFoundation Entry+ZIP64.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:29:34: error: cannot find 'S_IFMT' in scope
 27 |
 28 |         init?(mode: mode_t) {
 29 |             switch mode & mode_t(S_IFMT) {
    |                                  `- error: cannot find 'S_IFMT' in scope
 30 |             case mode_t(S_IFDIR):
 31 |                 self = .directory
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:30:25: error: cannot find 'S_IFDIR' in scope
 28 |         init?(mode: mode_t) {
 29 |             switch mode & mode_t(S_IFMT) {
 30 |             case mode_t(S_IFDIR):
    |                         `- error: cannot find 'S_IFDIR' in scope
 31 |                 self = .directory
 32 |             case mode_t(S_IFLNK):
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:32:25: error: cannot find 'S_IFLNK' in scope
 30 |             case mode_t(S_IFDIR):
 31 |                 self = .directory
 32 |             case mode_t(S_IFLNK):
    |                         `- error: cannot find 'S_IFLNK' in scope
 33 |                 self = .symlink
 34 |             case mode_t(S_IFREG):
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:34:25: error: cannot find 'S_IFREG' in scope
 32 |             case mode_t(S_IFLNK):
 33 |                 self = .symlink
 34 |             case mode_t(S_IFREG):
    |                         `- error: cannot find 'S_IFREG' in scope
 35 |                 self = .file
 36 |             default:
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:44:24: error: cannot find 'S_IFREG' in scope
 42 |             switch self {
 43 |             case .file:
 44 |                 return S_IFREG
    |                        `- error: cannot find 'S_IFREG' in scope
 45 |             case .directory:
 46 |                 return S_IFDIR
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:46:24: error: cannot find 'S_IFDIR' in scope
 44 |                 return S_IFREG
 45 |             case .directory:
 46 |                 return S_IFDIR
    |                        `- error: cannot find 'S_IFDIR' in scope
 47 |             case .symlink:
 48 |                 return S_IFLNK
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:48:24: error: cannot find 'S_IFLNK' in scope
 46 |                 return S_IFDIR
 47 |             case .symlink:
 48 |                 return S_IFLNK
    |                        `- error: cannot find 'S_IFLNK' in scope
 49 |             }
 50 |         }
[67/79] Compiling ZIPFoundation Entry.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:29:34: error: cannot find 'S_IFMT' in scope
 27 |
 28 |         init?(mode: mode_t) {
 29 |             switch mode & mode_t(S_IFMT) {
    |                                  `- error: cannot find 'S_IFMT' in scope
 30 |             case mode_t(S_IFDIR):
 31 |                 self = .directory
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:30:25: error: cannot find 'S_IFDIR' in scope
 28 |         init?(mode: mode_t) {
 29 |             switch mode & mode_t(S_IFMT) {
 30 |             case mode_t(S_IFDIR):
    |                         `- error: cannot find 'S_IFDIR' in scope
 31 |                 self = .directory
 32 |             case mode_t(S_IFLNK):
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:32:25: error: cannot find 'S_IFLNK' in scope
 30 |             case mode_t(S_IFDIR):
 31 |                 self = .directory
 32 |             case mode_t(S_IFLNK):
    |                         `- error: cannot find 'S_IFLNK' in scope
 33 |                 self = .symlink
 34 |             case mode_t(S_IFREG):
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:34:25: error: cannot find 'S_IFREG' in scope
 32 |             case mode_t(S_IFLNK):
 33 |                 self = .symlink
 34 |             case mode_t(S_IFREG):
    |                         `- error: cannot find 'S_IFREG' in scope
 35 |                 self = .file
 36 |             default:
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:44:24: error: cannot find 'S_IFREG' in scope
 42 |             switch self {
 43 |             case .file:
 44 |                 return S_IFREG
    |                        `- error: cannot find 'S_IFREG' in scope
 45 |             case .directory:
 46 |                 return S_IFDIR
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:46:24: error: cannot find 'S_IFDIR' in scope
 44 |                 return S_IFREG
 45 |             case .directory:
 46 |                 return S_IFDIR
    |                        `- error: cannot find 'S_IFDIR' in scope
 47 |             case .symlink:
 48 |                 return S_IFLNK
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:48:24: error: cannot find 'S_IFLNK' in scope
 46 |                 return S_IFDIR
 47 |             case .symlink:
 48 |                 return S_IFLNK
    |                        `- error: cannot find 'S_IFLNK' in scope
 49 |             }
 50 |         }
[68/79] Compiling ZIPFoundation Data+Serialization.swift
[69/79] Compiling ZIPFoundation Entry+Serialization.swift
[70/79] Emitting module ZIPFoundation
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:147:5: warning: var 'maxUInt32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
145 |
146 | /// Properties that represent the maximum value of each field
147 | var maxUInt32 = UInt32.max
    |     |- warning: var 'maxUInt32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'maxUInt32' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'maxUInt32' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | var maxUInt16 = UInt16.max
149 |
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:148:5: warning: var 'maxUInt16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 | /// Properties that represent the maximum value of each field
147 | var maxUInt32 = UInt32.max
148 | var maxUInt16 = UInt16.max
    |     |- warning: var 'maxUInt16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'maxUInt16' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'maxUInt16' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |
150 | var maxCompressedSize: UInt32 { maxUInt32 }
[71/79] Compiling ZIPFoundation Archive+BackingConfiguration.swift
[72/79] Compiling ZIPFoundation Archive+Helpers.swift
[73/79] Compiling ZIPFoundation Archive+MemoryFile.swift
[74/79] Compiling ZIPFoundation Archive+Progress.swift
[75/79] Compiling ZIPFoundation Archive+Reading.swift
[76/79] Compiling ZIPFoundation Archive+Writing.swift
[77/79] Compiling ZIPFoundation Archive+ZIP64.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:147:5: warning: var 'maxUInt32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
145 |
146 | /// Properties that represent the maximum value of each field
147 | var maxUInt32 = UInt32.max
    |     |- warning: var 'maxUInt32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'maxUInt32' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'maxUInt32' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | var maxUInt16 = UInt16.max
149 |
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:148:5: warning: var 'maxUInt16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 | /// Properties that represent the maximum value of each field
147 | var maxUInt32 = UInt32.max
148 | var maxUInt16 = UInt16.max
    |     |- warning: var 'maxUInt16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'maxUInt16' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'maxUInt16' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |
150 | var maxCompressedSize: UInt32 { maxUInt32 }
[78/79] Compiling ZIPFoundation Archive.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:147:5: warning: var 'maxUInt32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
145 |
146 | /// Properties that represent the maximum value of each field
147 | var maxUInt32 = UInt32.max
    |     |- warning: var 'maxUInt32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'maxUInt32' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'maxUInt32' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | var maxUInt16 = UInt16.max
149 |
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:148:5: warning: var 'maxUInt16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 | /// Properties that represent the maximum value of each field
147 | var maxUInt32 = UInt32.max
148 | var maxUInt16 = UInt16.max
    |     |- warning: var 'maxUInt16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'maxUInt16' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'maxUInt16' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |
150 | var maxCompressedSize: UInt32 { maxUInt32 }
[79/79] Compiling ZIPFoundation ArchiveHandle.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:147:5: warning: var 'maxUInt32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
145 |
146 | /// Properties that represent the maximum value of each field
147 | var maxUInt32 = UInt32.max
    |     |- warning: var 'maxUInt32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'maxUInt32' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'maxUInt32' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | var maxUInt16 = UInt16.max
149 |
/host/spi-builder-workspace/Sources/ZIPFoundation/Archive+ZIP64.swift:148:5: warning: var 'maxUInt16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 | /// Properties that represent the maximum value of each field
147 | var maxUInt32 = UInt32.max
148 | var maxUInt16 = UInt16.max
    |     |- warning: var 'maxUInt16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'maxUInt16' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'maxUInt16' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |
150 | var maxCompressedSize: UInt32 { maxUInt32 }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/26] Emitting module ZLib
[3/28] Compiling ZLib ZLib.swift
[5/34] Compiling SystemPackage Backcompat.swift
[6/34] Compiling SystemPackage CInterop.swift
[7/34] Compiling SystemPackage Constants.swift
[8/34] Compiling SystemPackage Exports.swift
[9/37] Emitting module SystemPackage
[10/37] Emitting module CSProgress
[11/37] Compiling CSProgress CSProgress.swift
[12/37] Compiling SystemPackage MachPort.swift
[13/37] Compiling SystemPackage PlatformString.swift
[14/37] Compiling SystemPackage SystemString.swift
[15/38] Compiling SystemPackage Errno.swift
[16/38] Compiling SystemPackage ErrnoWindows.swift
[17/38] Compiling SystemPackage FileDescriptor.swift
[18/38] Compiling SystemPackage FileHelpers.swift
[19/38] Compiling SystemPackage FilePathTempPosix.swift
[20/38] Compiling SystemPackage FilePathTempWindows.swift
[21/38] Compiling SystemPackage FilePathWindows.swift
[22/38] Compiling SystemPackage FilePermissions.swift
[23/38] Compiling SystemPackage Mocking.swift
[24/38] Compiling SystemPackage RawBuffer.swift
[25/38] Compiling SystemPackage Syscalls.swift
[26/38] Compiling SystemPackage WindowsSyscallAdapters.swift
[28/38] Compiling SystemPackage FilePathParsing.swift
[29/38] Compiling SystemPackage FilePathString.swift
[30/38] Compiling SystemPackage FilePathSyntax.swift
[31/38] Compiling SystemPackage FilePathTemp.swift
[32/38] Compiling SystemPackage Util+StringArray.swift
[33/38] Compiling SystemPackage Util.swift
[34/38] Compiling SystemPackage UtilConsumers.swift
[35/38] Compiling SystemPackage FileOperations.swift
[36/38] Compiling SystemPackage FilePath.swift
[37/38] Compiling SystemPackage FilePathComponentView.swift
[38/38] Compiling SystemPackage FilePathComponents.swift
[40/57] Emitting module ZIPFoundation
[41/59] Compiling ZIPFoundation URL+ZIP.swift
[42/59] Compiling ZIPFoundation Windows+POSIX.swift
[43/59] Compiling ZIPFoundation Entry+ZIP64.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:29:34: error: cannot find 'S_IFMT' in scope
 27 |
 28 |         init?(mode: mode_t) {
 29 |             switch mode & mode_t(S_IFMT) {
    |                                  `- error: cannot find 'S_IFMT' in scope
 30 |             case mode_t(S_IFDIR):
 31 |                 self = .directory
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:30:25: error: cannot find 'S_IFDIR' in scope
 28 |         init?(mode: mode_t) {
 29 |             switch mode & mode_t(S_IFMT) {
 30 |             case mode_t(S_IFDIR):
    |                         `- error: cannot find 'S_IFDIR' in scope
 31 |                 self = .directory
 32 |             case mode_t(S_IFLNK):
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:32:25: error: cannot find 'S_IFLNK' in scope
 30 |             case mode_t(S_IFDIR):
 31 |                 self = .directory
 32 |             case mode_t(S_IFLNK):
    |                         `- error: cannot find 'S_IFLNK' in scope
 33 |                 self = .symlink
 34 |             case mode_t(S_IFREG):
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:34:25: error: cannot find 'S_IFREG' in scope
 32 |             case mode_t(S_IFLNK):
 33 |                 self = .symlink
 34 |             case mode_t(S_IFREG):
    |                         `- error: cannot find 'S_IFREG' in scope
 35 |                 self = .file
 36 |             default:
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:44:24: error: cannot find 'S_IFREG' in scope
 42 |             switch self {
 43 |             case .file:
 44 |                 return S_IFREG
    |                        `- error: cannot find 'S_IFREG' in scope
 45 |             case .directory:
 46 |                 return S_IFDIR
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:46:24: error: cannot find 'S_IFDIR' in scope
 44 |                 return S_IFREG
 45 |             case .directory:
 46 |                 return S_IFDIR
    |                        `- error: cannot find 'S_IFDIR' in scope
 47 |             case .symlink:
 48 |                 return S_IFLNK
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:48:24: error: cannot find 'S_IFLNK' in scope
 46 |                 return S_IFDIR
 47 |             case .symlink:
 48 |                 return S_IFLNK
    |                        `- error: cannot find 'S_IFLNK' in scope
 49 |             }
 50 |         }
[44/59] Compiling ZIPFoundation Entry.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:29:34: error: cannot find 'S_IFMT' in scope
 27 |
 28 |         init?(mode: mode_t) {
 29 |             switch mode & mode_t(S_IFMT) {
    |                                  `- error: cannot find 'S_IFMT' in scope
 30 |             case mode_t(S_IFDIR):
 31 |                 self = .directory
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:30:25: error: cannot find 'S_IFDIR' in scope
 28 |         init?(mode: mode_t) {
 29 |             switch mode & mode_t(S_IFMT) {
 30 |             case mode_t(S_IFDIR):
    |                         `- error: cannot find 'S_IFDIR' in scope
 31 |                 self = .directory
 32 |             case mode_t(S_IFLNK):
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:32:25: error: cannot find 'S_IFLNK' in scope
 30 |             case mode_t(S_IFDIR):
 31 |                 self = .directory
 32 |             case mode_t(S_IFLNK):
    |                         `- error: cannot find 'S_IFLNK' in scope
 33 |                 self = .symlink
 34 |             case mode_t(S_IFREG):
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:34:25: error: cannot find 'S_IFREG' in scope
 32 |             case mode_t(S_IFLNK):
 33 |                 self = .symlink
 34 |             case mode_t(S_IFREG):
    |                         `- error: cannot find 'S_IFREG' in scope
 35 |                 self = .file
 36 |             default:
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:44:24: error: cannot find 'S_IFREG' in scope
 42 |             switch self {
 43 |             case .file:
 44 |                 return S_IFREG
    |                        `- error: cannot find 'S_IFREG' in scope
 45 |             case .directory:
 46 |                 return S_IFDIR
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:46:24: error: cannot find 'S_IFDIR' in scope
 44 |                 return S_IFREG
 45 |             case .directory:
 46 |                 return S_IFDIR
    |                        `- error: cannot find 'S_IFDIR' in scope
 47 |             case .symlink:
 48 |                 return S_IFLNK
/host/spi-builder-workspace/Sources/ZIPFoundation/Entry.swift:48:24: error: cannot find 'S_IFLNK' in scope
 46 |                 return S_IFDIR
 47 |             case .symlink:
 48 |                 return S_IFLNK
    |                        `- error: cannot find 'S_IFLNK' in scope
 49 |             }
 50 |         }
[45/59] Compiling ZIPFoundation Archive+BackingConfiguration.swift
[46/59] Compiling ZIPFoundation Archive+Helpers.swift
[47/59] Compiling ZIPFoundation Archive+MemoryFile.swift
[48/59] Compiling ZIPFoundation Archive+ZIP64.swift
[49/59] Compiling ZIPFoundation Archive.swift
[50/59] Compiling ZIPFoundation ArchiveHandle.swift
[51/59] Compiling ZIPFoundation Data+Serialization.swift
[52/59] Compiling ZIPFoundation Entry+Serialization.swift
[53/59] Compiling ZIPFoundation Archive+Progress.swift
[54/59] Compiling ZIPFoundation Archive+Reading.swift
[55/59] Compiling ZIPFoundation Archive+Writing.swift
[56/59] Compiling ZIPFoundation ConcurrencyShims.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/Data+Compression.swift:175:87: error: ambiguous use of 'ZLIB_VERSION'
173 |             let streamSize = Int32(MemoryLayout<z_stream>.size)
174 |             var result = deflateInit2_(&stream, Z_DEFAULT_COMPRESSION,
175 |                                        Z_DEFLATED, -MAX_WBITS, 9, Z_DEFAULT_STRATEGY, ZLIB_VERSION, streamSize)
    |                                                                                       `- error: ambiguous use of 'ZLIB_VERSION'
176 |             defer { deflateEnd(&stream) }
177 |             guard result == Z_OK else { throw CompressionError.invalidStream }
zlib.ZLIB_VERSION:1:12: note: found this candidate in module 'zlib'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'zlib'
ZLibC.ZLIB_VERSION:1:12: note: found this candidate in module 'ZLibC'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'ZLibC'
/host/spi-builder-workspace/Sources/ZIPFoundation/Data+Compression.swift:222:61: error: ambiguous use of 'ZLIB_VERSION'
220 |             var stream = z_stream()
221 |             let streamSize = Int32(MemoryLayout<z_stream>.size)
222 |             var result = inflateInit2_(&stream, -MAX_WBITS, ZLIB_VERSION, streamSize)
    |                                                             `- error: ambiguous use of 'ZLIB_VERSION'
223 |             defer { inflateEnd(&stream) }
224 |             guard result == Z_OK else { throw CompressionError.invalidStream }
zlib.ZLIB_VERSION:1:12: note: found this candidate in module 'zlib'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'zlib'
ZLibC.ZLIB_VERSION:1:12: note: found this candidate in module 'ZLibC'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'ZLibC'
[57/59] Compiling ZIPFoundation Data+Compression.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/Data+Compression.swift:175:87: error: ambiguous use of 'ZLIB_VERSION'
173 |             let streamSize = Int32(MemoryLayout<z_stream>.size)
174 |             var result = deflateInit2_(&stream, Z_DEFAULT_COMPRESSION,
175 |                                        Z_DEFLATED, -MAX_WBITS, 9, Z_DEFAULT_STRATEGY, ZLIB_VERSION, streamSize)
    |                                                                                       `- error: ambiguous use of 'ZLIB_VERSION'
176 |             defer { deflateEnd(&stream) }
177 |             guard result == Z_OK else { throw CompressionError.invalidStream }
zlib.ZLIB_VERSION:1:12: note: found this candidate in module 'zlib'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'zlib'
ZLibC.ZLIB_VERSION:1:12: note: found this candidate in module 'ZLibC'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'ZLibC'
/host/spi-builder-workspace/Sources/ZIPFoundation/Data+Compression.swift:222:61: error: ambiguous use of 'ZLIB_VERSION'
220 |             var stream = z_stream()
221 |             let streamSize = Int32(MemoryLayout<z_stream>.size)
222 |             var result = inflateInit2_(&stream, -MAX_WBITS, ZLIB_VERSION, streamSize)
    |                                                             `- error: ambiguous use of 'ZLIB_VERSION'
223 |             defer { inflateEnd(&stream) }
224 |             guard result == Z_OK else { throw CompressionError.invalidStream }
zlib.ZLIB_VERSION:1:12: note: found this candidate in module 'zlib'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'zlib'
ZLibC.ZLIB_VERSION:1:12: note: found this candidate in module 'ZLibC'
1 | public var ZLIB_VERSION: String { get }
  |            `- note: found this candidate in module 'ZLibC'
[58/59] Compiling ZIPFoundation FileHandle+Extensions.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/FileManager+ZIP.swift:255:54: error: cannot find 'S_IFMT' in scope
253 |         }
254 |
255 |         permissions = .init(rawValue: mode & ~mode_t(S_IFMT))
    |                                                      `- error: cannot find 'S_IFMT' in scope
256 |     }
257 |
[59/59] Compiling ZIPFoundation FileManager+ZIP.swift
/host/spi-builder-workspace/Sources/ZIPFoundation/FileManager+ZIP.swift:255:54: error: cannot find 'S_IFMT' in scope
253 |         }
254 |
255 |         permissions = .init(rawValue: mode & ~mode_t(S_IFMT))
    |                                                      `- error: cannot find 'S_IFMT' in scope
256 |     }
257 |
BUILD FAILURE 6.1 android