The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftZlib, reference main (4b5538), with Swift 6.3 for Android on 17 Apr 2026 00:08:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kosikowski/swift-zlib.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/Kosikowski/swift-zlib
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4b5538d Bump actions/checkout from 5 to 6 (#24)
Cloned https://github.com/Kosikowski/swift-zlib.git
Revision (git rev-parse @):
4b5538df3f457c1180895f81ae180d4016ae1dcc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kosikowski/swift-zlib.git at main
========================================
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-4606859-3":/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 uncompr.c
[3/23] Compiling CZLib zutil.c
[4/23] Compiling CZLib inftrees.c
[5/23] Compiling CZLib inffast.c
[6/23] Write swift-version--4F562202D5529B1.txt
[7/23] Compiling CZLib zlib_shim.c
[8/23] Compiling CZLib gzclose.c
[9/23] Compiling CZLib gzread.c
[10/23] Compiling CZLib infback.c
[11/23] Compiling CZLib inflate.c
[11/23] Compiling CZLib trees.c
[13/23] Compiling CZLib gzwrite.c
[14/23] Compiling CZLib compress.c
[15/23] Compiling CZLib gzlib.c
[16/23] Compiling CZLib adler32.c
[17/23] Compiling CZLib crc32.c
[18/23] Compiling CZLib deflate.c
[20/66] Emitting module SwiftZlib
[21/71] Compiling SwiftZlib AsyncZLibStream.swift
[22/71] Compiling SwiftZlib AsyncZLibStreamBuilder.swift
[23/71] Compiling SwiftZlib Compression.swift
[24/71] Compiling SwiftZlib CompressionLevel.swift
[25/71] Compiling SwiftZlib CompressionMethod.swift
[26/71] Compiling SwiftZlib CompressionPhase.swift
[27/71] Compiling SwiftZlib CompressionStrategy.swift
[28/71] Compiling SwiftZlib Compressor.swift
[29/71] Compiling SwiftZlib Decompressor.swift
[30/71] Compiling SwiftZlib BaseInflateBackDecompressor.swift
[31/71] Compiling SwiftZlib DecompressorType.swift
[32/71] Compiling SwiftZlib EnhancedInflateBackDecompressor.swift
[33/71] Compiling SwiftZlib FileProcessor.swift
[34/71] Compiling SwiftZlib GzipFile.swift
[35/71] Compiling SwiftZlib GzipFileError.swift
[36/71] Compiling SwiftZlib SimpleFileCompressor.swift
[37/71] Compiling SwiftZlib SimpleFileDecompressor.swift
[38/71] Compiling SwiftZlib InflateBackDecompressorCBridged.swift
[39/71] Compiling SwiftZlib FlushMode.swift
[40/71] Compiling SwiftZlib GzipHeader.swift
[41/71] Compiling SwiftZlib Logging.swift
[42/71] Compiling SwiftZlib MemoryLevel.swift
[43/71] Compiling SwiftZlib StreamingConfig.swift
[44/71] Compiling SwiftZlib StreamingDecompressor.swift
[45/71] Compiling SwiftZlib ZLibStreamBuilder.swift
[46/71] Compiling SwiftZlib Timer.swift
[47/71] Compiling SwiftZlib WindowBits.swift
[48/71] Compiling SwiftZlib ZLibError.swift
[49/71] Compiling SwiftZlib ZLibStatus.swift
[50/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 |
[51/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 |
[52/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 |
[53/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 |
[54/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 |
[55/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 |
[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 Data+Extensions.swift
[63/71] Compiling SwiftZlib String+Extensions.swift
[64/71] Compiling SwiftZlib ZLib+Async.swift
[65/71] Compiling SwiftZlib ZLib+AsyncStream.swift
[66/71] Compiling SwiftZlib ZLib+Combine.swift
[67/71] Compiling SwiftZlib ZLib+File.swift
BUILD FAILURE 6.3 android