Build Information
Failed to build SwiftZlib, reference v0.1.1 (861dd3), with Swift 6.3 for Android on 17 Apr 2026 00:10:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kosikowski/swift-zlib.git
Reference: v0.1.1
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/Kosikowski/swift-zlib
* tag v0.1.1 -> FETCH_HEAD
HEAD is now at 861dd34 Temporarily disable Windows runners in CI (#23)
Cloned https://github.com/Kosikowski/swift-zlib.git
Revision (git rev-parse @):
861dd348811507057d78574d8c09f0f68a89b231
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kosikowski/swift-zlib.git at v0.1.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/Kosikowski/swift-zlib.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/23] Write sources
[2/23] Compiling CZLib compress.c
[3/23] Compiling CZLib adler32.c
[4/23] Compiling CZLib crc32.c
[5/23] Compiling CZLib uncompr.c
[6/23] Compiling CZLib zutil.c
[7/23] Compiling CZLib zlib_shim.c
[8/23] Write swift-version--4F562202D5529B1.txt
[9/23] Compiling CZLib inftrees.c
[10/23] Compiling CZLib inffast.c
[11/23] Compiling CZLib infback.c
[12/23] Compiling CZLib deflate.c
[13/23] Compiling CZLib gzwrite.c
[14/23] Compiling CZLib gzclose.c
[15/23] Compiling CZLib trees.c
[16/23] Compiling CZLib inflate.c
[17/23] Compiling CZLib gzread.c
[18/23] Compiling CZLib gzlib.c
[20/66] Emitting module SwiftZlib
[21/71] Compiling SwiftZlib FileProcessor.swift
[22/71] Compiling SwiftZlib GzipFile.swift
[23/71] Compiling SwiftZlib GzipFileError.swift
[24/71] Compiling SwiftZlib SimpleFileCompressor.swift
[25/71] Compiling SwiftZlib SimpleFileDecompressor.swift
[26/71] Compiling SwiftZlib AsyncZLibStream.swift
[27/71] Compiling SwiftZlib AsyncZLibStreamBuilder.swift
[28/71] Compiling SwiftZlib Compression.swift
[29/71] Compiling SwiftZlib CompressionLevel.swift
[30/71] Compiling SwiftZlib CompressionMethod.swift
[31/71] Compiling SwiftZlib CompressionPhase.swift
[32/71] Compiling SwiftZlib Data+Extensions.swift
[33/71] Compiling SwiftZlib String+Extensions.swift
[34/71] Compiling SwiftZlib ZLib+Async.swift
[35/71] Compiling SwiftZlib ZLib+AsyncStream.swift
[36/71] Compiling SwiftZlib ZLib+Combine.swift
[37/71] Compiling SwiftZlib ZLib+File.swift
[38/71] Compiling SwiftZlib StreamingDecompressor.swift
[39/71] Compiling SwiftZlib ZLibStreamBuilder.swift
[40/71] Compiling SwiftZlib Timer.swift
[41/71] Compiling SwiftZlib WindowBits.swift
[42/71] Compiling SwiftZlib ZLibError.swift
[43/71] Compiling SwiftZlib ZLibStatus.swift
[44/71] Compiling SwiftZlib ZLib+FileChunked.swift
/host/spi-builder-workspace/Sources/SwiftZlib/API/ZLib.swift:574:47: error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
572 | /// - Returns: Combined Adler-32 checksum
573 | public static func adler32Combine(_ adler1: uLong, _ adler2: uLong, len2: Int) -> uLong {
574 | swift_adler32_combine(adler1, adler2, CLong(len2))
| `- error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
575 | }
576 |
/host/spi-builder-workspace/Sources/SwiftZlib/API/ZLib.swift:584:41: error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
582 | /// - Returns: Combined CRC-32 checksum
583 | public static func crc32Combine(_ crc1: uLong, _ crc2: uLong, len2: Int) -> uLong {
584 | swift_crc32_combine(crc1, crc2, CLong(len2))
| `- error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
585 | }
586 |
[45/71] Compiling SwiftZlib ZLib+Stream.swift
/host/spi-builder-workspace/Sources/SwiftZlib/API/ZLib.swift:574:47: error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
572 | /// - Returns: Combined Adler-32 checksum
573 | public static func adler32Combine(_ adler1: uLong, _ adler2: uLong, len2: Int) -> uLong {
574 | swift_adler32_combine(adler1, adler2, CLong(len2))
| `- error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
575 | }
576 |
/host/spi-builder-workspace/Sources/SwiftZlib/API/ZLib.swift:584:41: error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
582 | /// - Returns: Combined CRC-32 checksum
583 | public static func crc32Combine(_ crc1: uLong, _ crc2: uLong, len2: Int) -> uLong {
584 | swift_crc32_combine(crc1, crc2, CLong(len2))
| `- error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
585 | }
586 |
[46/71] Compiling SwiftZlib ZLib.swift
/host/spi-builder-workspace/Sources/SwiftZlib/API/ZLib.swift:574:47: error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
572 | /// - Returns: Combined Adler-32 checksum
573 | public static func adler32Combine(_ adler1: uLong, _ adler2: uLong, len2: Int) -> uLong {
574 | swift_adler32_combine(adler1, adler2, CLong(len2))
| `- error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
575 | }
576 |
/host/spi-builder-workspace/Sources/SwiftZlib/API/ZLib.swift:584:41: error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
582 | /// - Returns: Combined CRC-32 checksum
583 | public static func crc32Combine(_ crc1: uLong, _ crc2: uLong, len2: Int) -> uLong {
584 | swift_crc32_combine(crc1, crc2, CLong(len2))
| `- error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
585 | }
586 |
[47/71] Compiling SwiftZlib ZLibErrorCode.swift
/host/spi-builder-workspace/Sources/SwiftZlib/API/ZLib.swift:574:47: error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
572 | /// - Returns: Combined Adler-32 checksum
573 | public static func adler32Combine(_ adler1: uLong, _ adler2: uLong, len2: Int) -> uLong {
574 | swift_adler32_combine(adler1, adler2, CLong(len2))
| `- error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
575 | }
576 |
/host/spi-builder-workspace/Sources/SwiftZlib/API/ZLib.swift:584:41: error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
582 | /// - Returns: Combined CRC-32 checksum
583 | public static func crc32Combine(_ crc1: uLong, _ crc2: uLong, len2: Int) -> uLong {
584 | swift_crc32_combine(crc1, crc2, CLong(len2))
| `- error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
585 | }
586 |
[48/71] Compiling SwiftZlib AsyncCompressor.swift
/host/spi-builder-workspace/Sources/SwiftZlib/API/ZLib.swift:574:47: error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
572 | /// - Returns: Combined Adler-32 checksum
573 | public static func adler32Combine(_ adler1: uLong, _ adler2: uLong, len2: Int) -> uLong {
574 | swift_adler32_combine(adler1, adler2, CLong(len2))
| `- error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
575 | }
576 |
/host/spi-builder-workspace/Sources/SwiftZlib/API/ZLib.swift:584:41: error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
582 | /// - Returns: Combined CRC-32 checksum
583 | public static func crc32Combine(_ crc1: uLong, _ crc2: uLong, len2: Int) -> uLong {
584 | swift_crc32_combine(crc1, crc2, CLong(len2))
| `- error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
585 | }
586 |
[49/71] Compiling SwiftZlib AsyncDecompressor.swift
/host/spi-builder-workspace/Sources/SwiftZlib/API/ZLib.swift:574:47: error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
572 | /// - Returns: Combined Adler-32 checksum
573 | public static func adler32Combine(_ adler1: uLong, _ adler2: uLong, len2: Int) -> uLong {
574 | swift_adler32_combine(adler1, adler2, CLong(len2))
| `- error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
575 | }
576 |
/host/spi-builder-workspace/Sources/SwiftZlib/API/ZLib.swift:584:41: error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
582 | /// - Returns: Combined CRC-32 checksum
583 | public static func crc32Combine(_ crc1: uLong, _ crc2: uLong, len2: Int) -> uLong {
584 | swift_crc32_combine(crc1, crc2, CLong(len2))
| `- error: cannot convert value of type 'CLong' (aka 'Int') to expected argument type 'off_t' (aka 'Int64')
585 | }
586 |
[50/71] Compiling SwiftZlib InflateBackDecompressorCBridged.swift
[51/71] Compiling SwiftZlib FlushMode.swift
[52/71] Compiling SwiftZlib GzipHeader.swift
[53/71] Compiling SwiftZlib Logging.swift
[54/71] Compiling SwiftZlib MemoryLevel.swift
[55/71] Compiling SwiftZlib StreamingConfig.swift
[56/71] Compiling SwiftZlib ZLibStream.swift
[57/71] Compiling SwiftZlib ChunkedProcessor.swift
[58/71] Compiling SwiftZlib FileChunkedCompressor.swift
[59/71] Compiling SwiftZlib FileChunkedDecompressor.swift
[60/71] Compiling SwiftZlib FileCompressor.swift
[61/71] Compiling SwiftZlib FileDecompressor.swift
[62/71] Compiling SwiftZlib CompressionStrategy.swift
[63/71] Compiling SwiftZlib Compressor.swift
[64/71] Compiling SwiftZlib Decompressor.swift
[65/71] Compiling SwiftZlib BaseInflateBackDecompressor.swift
[66/71] Compiling SwiftZlib DecompressorType.swift
[67/71] Compiling SwiftZlib EnhancedInflateBackDecompressor.swift
BUILD FAILURE 6.3 android