Build Information
Failed to build ZIPFoundation, reference main (2640fc), with Swift 6.1 for Android on 16 Sep 2026 04:02:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
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 2640fc9 Merge pull request #4 from furbytm/main
Cloned https://github.com/gregcotten/ZIPFoundationModern.git
Revision (git rev-parse @):
2640fc90941624fe287744b834719fe29c8ea1ef
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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/the-swift-collective/zlib
Fetching https://github.com/gregcotten/CSProgress
[1/239] Fetching csprogress
[42/310] Fetching csprogress, zlib
Fetched https://github.com/the-swift-collective/zlib from cache (0.47s)
Fetched https://github.com/gregcotten/CSProgress from cache (0.47s)
[1/6898] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.72s)
Computing version for https://github.com/gregcotten/CSProgress
Computed https://github.com/gregcotten/CSProgress at 0.0.1 (0.99s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.26s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.28s)
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.8.1
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
[4/21] Compiling ZLibC compress.c
[5/21] Compiling ZLibC uncompr.c
[6/21] Compiling ZLibC zutil.c
[7/21] Compiling ZLibC inffast.c
[8/21] Compiling ZLibC trees.c
[9/21] Compiling ZLibC inftrees.c
[10/21] Compiling ZLibC infback.c
[11/21] Compiling ZLibC gzwrite.c
[11/21] Compiling ZLibC gzlib.c
[13/21] Compiling ZLibC gzread.c
[13/21] Compiling ZLibC gzclose.c
[15/21] Compiling ZLibC deflate.c
[16/21] Compiling ZLibC inflate.c
[17/21] Compiling CSystem shims.c
[18/21] Compiling ZLibC adler32.c
[19/21] Compiling ZLibC crc32.c
[20/21] Write swift-version-24593BA9C3E375BF.txt
[22/62] Emitting module SystemPackage
<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
[23/67] Compiling ZLib ZLib.swift
[24/67] Emitting module ZLib
[26/68] Compiling SystemPackage FilePathComponentView.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
[27/68] Compiling SystemPackage FilePathComponents.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
[28/68] Compiling SystemPackage FilePathParsing.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
[29/68] Compiling SystemPackage FilePathString.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
[30/68] Compiling SystemPackage FilePathSyntax.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
[31/68] Compiling SystemPackage SystemString.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
[32/68] Compiling SystemPackage Util+StringArray.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/68] Compiling SystemPackage Util.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
[34/68] Compiling SystemPackage UtilConsumers.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
[35/68] Compiling SystemPackage WinSDK+Overlay.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[36/68] Compiling SystemPackage RawBuffer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[37/68] Compiling SystemPackage Syscalls.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
[38/68] Compiling SystemPackage WindowsSyscallAdapters.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
[39/68] Compiling SystemPackage MachPort.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
[40/68] Compiling SystemPackage PlatformString.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
[41/68] Compiling SystemPackage IOCompletion.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
[42/68] Compiling SystemPackage IORequest.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
[43/68] Compiling SystemPackage IORing+Util.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
[44/68] Compiling SystemPackage IORing.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
[45/68] Compiling SystemPackage RawIORequest.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
[46/68] Compiling SystemPackage Errno.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[47/68] Compiling SystemPackage ErrnoWindows.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/68] Compiling SystemPackage FileDescriptor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[49/68] Compiling SystemPackage FileHelpers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[50/68] Compiling SystemPackage FileOperations.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[51/68] Compiling SystemPackage FilePath.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/68] Compiling SystemPackage Backcompat.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/68] Compiling SystemPackage CInterop.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/68] Compiling SystemPackage Constants.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[55/68] Compiling SystemPackage Exports.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[56/68] Compiling SystemPackage Mocking.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[57/68] Compiling SystemPackage FileFlags.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[58/68] Compiling SystemPackage FileMode.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[59/68] Compiling SystemPackage FileType.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/68] Compiling SystemPackage Identifiers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[61/68] Compiling SystemPackage Stat.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[62/68] Compiling SystemPackage FilePathTemp.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/68] Compiling SystemPackage FilePathTempPosix.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[64/68] Compiling SystemPackage FilePathTempWindows.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[65/68] Compiling SystemPackage FilePathWindows.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[66/68] Compiling SystemPackage FilePermissions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[68/69] Emitting module CSProgress
[69/69] Compiling CSProgress CSProgress.swift
[71/88] 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 }
[72/90] 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 |
[73/90] 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 |
[74/90] Compiling ZIPFoundation URL+ZIP.swift
[75/90] Compiling ZIPFoundation Windows+POSIX.swift
[76/90] Compiling ZIPFoundation Data+Serialization.swift
[77/90] Compiling ZIPFoundation Entry+Serialization.swift
[78/90] Compiling ZIPFoundation Archive+Progress.swift
[79/90] Compiling ZIPFoundation Archive+Reading.swift
[80/90] Compiling ZIPFoundation Archive+Writing.swift
[81/90] Compiling ZIPFoundation Archive+BackingConfiguration.swift
[82/90] Compiling ZIPFoundation Archive+Helpers.swift
[83/90] Compiling ZIPFoundation Archive+MemoryFile.swift
[84/90] 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 }
[85/90] 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 }
[86/90] 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 }
[87/90] 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 */
[88/90] 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 */
[89/90] 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 | }
[90/90] 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 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/42] Compiling ZLib ZLib.swift
[3/42] Emitting module ZLib
[5/43] Compiling SystemPackage IOCompletion.swift
[6/43] Compiling SystemPackage IORequest.swift
[7/43] Compiling SystemPackage IORing+Util.swift
[8/43] Compiling SystemPackage IORing.swift
[9/43] Compiling SystemPackage RawIORequest.swift
[10/48] Compiling SystemPackage Backcompat.swift
[11/48] Compiling SystemPackage CInterop.swift
[12/48] Compiling SystemPackage Constants.swift
[13/48] Compiling SystemPackage Exports.swift
[14/48] Compiling SystemPackage Mocking.swift
[15/48] Compiling SystemPackage FileFlags.swift
[16/48] Compiling SystemPackage FileMode.swift
[17/48] Compiling SystemPackage FileType.swift
[18/48] Compiling SystemPackage Identifiers.swift
[19/48] Compiling SystemPackage Stat.swift
[20/48] Emitting module CSProgress
[21/48] Compiling CSProgress CSProgress.swift
[22/49] Compiling SystemPackage FilePathTemp.swift
[23/49] Compiling SystemPackage FilePathTempPosix.swift
[24/49] Compiling SystemPackage FilePathTempWindows.swift
[25/49] Compiling SystemPackage FilePathWindows.swift
[26/49] Compiling SystemPackage FilePermissions.swift
[28/49] Compiling SystemPackage Errno.swift
[29/49] Compiling SystemPackage ErrnoWindows.swift
[30/49] Compiling SystemPackage FileDescriptor.swift
[31/49] Compiling SystemPackage FileHelpers.swift
[32/49] Compiling SystemPackage FileOperations.swift
[33/49] Compiling SystemPackage FilePath.swift
[34/49] Emitting module SystemPackage
[35/49] Compiling SystemPackage SystemString.swift
[36/49] Compiling SystemPackage Util+StringArray.swift
[37/49] Compiling SystemPackage Util.swift
[38/49] Compiling SystemPackage UtilConsumers.swift
[39/49] Compiling SystemPackage WinSDK+Overlay.swift
[40/49] Compiling SystemPackage FilePathComponentView.swift
[41/49] Compiling SystemPackage FilePathComponents.swift
[42/49] Compiling SystemPackage FilePathParsing.swift
[43/49] Compiling SystemPackage FilePathString.swift
[44/49] Compiling SystemPackage FilePathSyntax.swift
[45/49] Compiling SystemPackage RawBuffer.swift
[46/49] Compiling SystemPackage Syscalls.swift
[47/49] Compiling SystemPackage WindowsSyscallAdapters.swift
[48/49] Compiling SystemPackage MachPort.swift
[49/49] Compiling SystemPackage PlatformString.swift
[51/68] Compiling ZIPFoundation Data+Serialization.swift
[52/68] Compiling ZIPFoundation Entry+Serialization.swift
[53/68] 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 | }
[54/68] 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 | }
[55/70] Compiling ZIPFoundation Archive+BackingConfiguration.swift
[56/70] Compiling ZIPFoundation Archive+Helpers.swift
[57/70] Compiling ZIPFoundation Archive+MemoryFile.swift
[58/70] Emitting module ZIPFoundation
[59/70] Compiling ZIPFoundation URL+ZIP.swift
[60/70] Compiling ZIPFoundation Windows+POSIX.swift
[61/70] Compiling ZIPFoundation Archive+Progress.swift
[62/70] Compiling ZIPFoundation Archive+Reading.swift
[63/70] Compiling ZIPFoundation Archive+Writing.swift
[64/70] Compiling ZIPFoundation Archive+ZIP64.swift
[65/70] Compiling ZIPFoundation Archive.swift
[66/70] Compiling ZIPFoundation ArchiveHandle.swift
[67/70] 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'
[68/70] 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'
[69/70] 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 |
[70/70] 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