The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FastCSV, reference v1.1.4 (da3467), with Swift 6.4 for Android on 23 Nov 2026 06:33:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wombat2k/FastCSV.git
Reference: v1.1.4
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/wombat2k/FastCSV
 * tag               v1.1.4     -> FETCH_HEAD
HEAD is now at da34670 Improved scalar parsing in CSVValue
Cloned https://github.com/wombat2k/FastCSV.git
Revision (git rev-parse @):
da3467049a12475e1a2aac0614cf67031f06dd7a
SUCCESS checkout https://github.com/wombat2k/FastCSV.git at v1.1.4
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/wombat2k/FastCSV.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
a812fb670204: Pulling fs layer
1442e0933473: Pulling fs layer
7945504e2a04: Pulling fs layer
771070654e60: Pulling fs layer
4f4fb700ef54: Pulling fs layer
c480b8af9144: Pulling fs layer
3efc7654c91a: Pulling fs layer
37fb10301949: Pulling fs layer
852f1a99f174: Pulling fs layer
1ac2cb1ba746: Pulling fs layer
4f4fb700ef54: Pulling fs layer
aaa7003a1b7c: Pulling fs layer
26538842dfbf: Pulling fs layer
c480b8af9144: Already exists
aaa7003a1b7c: Already exists
a812fb670204: Already exists
852f1a99f174: Already exists
7945504e2a04: Already exists
26538842dfbf: Already exists
3efc7654c91a: Already exists
4f4fb700ef54: Already exists
44136fa355b3: Already exists
771070654e60: Download complete
4094df4bdfd1: Download complete
1ac2cb1ba746: Download complete
1442e0933473: Download complete
37fb10301949: Download complete
1442e0933473: Pull complete
771070654e60: Pull complete
aaa7003a1b7c: Pull complete
4f4fb700ef54: Pull complete
1ac2cb1ba746: Pull complete
37fb10301949: Pull complete
Digest: sha256:8c75a76a95057fd39be8bfba32b7cf15b3a8a4b3b65299863763333672fd9e67
Status: Downloaded newer image for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Planning deferred tasks]
[28 / 36] FastCSV
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/FastCSV/Protocols/ByteStreamReader.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile ByteStreamReader.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/FastCSV/Writing/CSVWriter.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile CSVWriter.swift
/host/spi-builder-workspace/Sources/FastCSV/Protocols/ByteStreamReader.swift:35:45: error: cannot find 'open' in scope
33 |
34 |     init(url: URL) throws {
35 |         let opened = url.path.withCString { open($0, O_RDONLY) }
   |                                             `- error: cannot find 'open' in scope
36 |         guard opened >= 0 else {
37 |             throw CSVError.invalidFile(message: "Could not open file at \(url.path)")
/host/spi-builder-workspace/Sources/FastCSV/Protocols/ByteStreamReader.swift:35:54: error: cannot find 'O_RDONLY' in scope
33 |
34 |     init(url: URL) throws {
35 |         let opened = url.path.withCString { open($0, O_RDONLY) }
   |                                                      `- error: cannot find 'O_RDONLY' in scope
36 |         guard opened >= 0 else {
37 |             throw CSVError.invalidFile(message: "Could not open file at \(url.path)")
/host/spi-builder-workspace/Sources/FastCSV/Protocols/ByteStreamReader.swift:35:31: error: value of type '@Sendable (Bool) -> String' has no member 'withCString'
33 |
34 |     init(url: URL) throws {
35 |         let opened = url.path.withCString { open($0, O_RDONLY) }
   |                               `- error: value of type '@Sendable (Bool) -> String' has no member 'withCString'
36 |         guard opened >= 0 else {
37 |             throw CSVError.invalidFile(message: "Could not open file at \(url.path)")
/host/spi-builder-workspace/Sources/FastCSV/Protocols/ByteStreamReader.swift:43:17: error: cannot find 'read' in scope
41 |
42 |     func readBytes(into buffer: UnsafeMutablePointer<UInt8>, maxLength: Int) -> Int {
43 |         let n = read(fd, buffer, maxLength)
   |                 `- error: cannot find 'read' in scope
44 |         return n > 0 ? n : 0
45 |     }
/host/spi-builder-workspace/Sources/FastCSV/Protocols/ByteStreamReader.swift:49:13: error: cannot find 'close' in scope
47 |     func cleanup() {
48 |         guard !didClose else { return }
49 |         _ = close(fd)
   |             `- error: cannot find 'close' in scope
50 |         didClose = true
51 |     }
/host/spi-builder-workspace/Sources/FastCSV/Writing/CSVWriter.swift:42:41: error: cannot find 'open' in scope
 40 |     /// Create a writer that writes to a file URL.
 41 |     public init(toURL url: URL, config: CSVWriterConfig = CSVWriterConfig()) throws {
 42 |         let fd = url.path.withCString { open($0, O_WRONLY | O_CREAT | O_TRUNC, 0o644) }
    |                                         `- error: cannot find 'open' in scope
 43 |         guard fd >= 0 else {
 44 |             throw CSVError.writeError(message: "Could not open file for writing at \(url.path)")
/host/spi-builder-workspace/Sources/FastCSV/Writing/CSVWriter.swift:42:50: error: cannot find 'O_WRONLY' in scope
 40 |     /// Create a writer that writes to a file URL.
 41 |     public init(toURL url: URL, config: CSVWriterConfig = CSVWriterConfig()) throws {
 42 |         let fd = url.path.withCString { open($0, O_WRONLY | O_CREAT | O_TRUNC, 0o644) }
    |                                                  `- error: cannot find 'O_WRONLY' in scope
 43 |         guard fd >= 0 else {
 44 |             throw CSVError.writeError(message: "Could not open file for writing at \(url.path)")
/host/spi-builder-workspace/Sources/FastCSV/Writing/CSVWriter.swift:42:61: error: cannot find 'O_CREAT' in scope
 40 |     /// Create a writer that writes to a file URL.
 41 |     public init(toURL url: URL, config: CSVWriterConfig = CSVWriterConfig()) throws {
 42 |         let fd = url.path.withCString { open($0, O_WRONLY | O_CREAT | O_TRUNC, 0o644) }
    |                                                             `- error: cannot find 'O_CREAT' in scope
 43 |         guard fd >= 0 else {
 44 |             throw CSVError.writeError(message: "Could not open file for writing at \(url.path)")
/host/spi-builder-workspace/Sources/FastCSV/Writing/CSVWriter.swift:42:71: error: cannot find 'O_TRUNC' in scope
 40 |     /// Create a writer that writes to a file URL.
 41 |     public init(toURL url: URL, config: CSVWriterConfig = CSVWriterConfig()) throws {
 42 |         let fd = url.path.withCString { open($0, O_WRONLY | O_CREAT | O_TRUNC, 0o644) }
    |                                                                       `- error: cannot find 'O_TRUNC' in scope
 43 |         guard fd >= 0 else {
 44 |             throw CSVError.writeError(message: "Could not open file for writing at \(url.path)")
/host/spi-builder-workspace/Sources/FastCSV/Writing/CSVWriter.swift:42:27: error: value of type '@Sendable (Bool) -> String' has no member 'withCString'
 40 |     /// Create a writer that writes to a file URL.
 41 |     public init(toURL url: URL, config: CSVWriterConfig = CSVWriterConfig()) throws {
 42 |         let fd = url.path.withCString { open($0, O_WRONLY | O_CREAT | O_TRUNC, 0o644) }
    |                           `- error: value of type '@Sendable (Bool) -> String' has no member 'withCString'
 43 |         guard fd >= 0 else {
 44 |             throw CSVError.writeError(message: "Could not open file for writing at \(url.path)")
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/FastCSV/CSVError.swift /host/spi-builder-workspace/Sources/FastCSV/Config/CSVConfig.swift /host/spi-builder-workspace/Sources/FastCSV/Config/Delimiter.swift /host/spi-builder-workspace/Sources/FastCSV/Decoding/CSVRowDecoder.swift /host/spi-builder-workspace/Sources/FastCSV/Encoding/CSVRowEncoder.swift /host/spi-builder-workspace/Sources/FastCSV/FastCSV.swift /host/spi-builder-workspace/Sources/FastCSV/Iterators/CSVArrayIterator.swift /host/spi-builder-workspace/Sources/FastCSV/Iterators/CSVDecodableIterator.swift /host/spi-builder-workspace/Sources/FastCSV/Iterators/CSVDictionaryIterator.swift /host/spi-builder-workspace/Sources/FastCSV/Iterators/CSVRowIterator.swift /host/spi-builder-workspace/Sources/FastCSV/Models/CSVArrayResult.swift /host/spi-builder-workspace/Sources/FastCSV/Models/CSVDateStrategy.swift /host/spi-builder-workspace/Sources/FastCSV/Models/CSVDictionaryResult.swift /host/spi-builder-workspace/Sources/FastCSV/Models/CSVFormat.swift /host/spi-builder-workspace/Sources/FastCSV/Models/CSVIteratorResult.swift /host/spi-builder-workspace/Sources/FastCSV/Models/CSVValue.swift /host/spi-builder-workspace/Sources/FastCSV/Parsing/ByteChunkReader.swift /host/spi-builder-workspace/Sources/FastCSV/Parsing/CSVParser.swift /host/spi-builder-workspace/Sources/FastCSV/Parsing/CleanupTracker.swift -primary-file /host/spi-builder-workspace/Sources/FastCSV/Protocols/ByteStreamReader.swift -primary-file /host/spi-builder-workspace/Sources/FastCSV/Writing/CSVWriter.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FastCSV.build/Debug-android-aarch64/FastCSV-t.build/Objects-normal/aarch64/ByteStreamReader.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FastCSV.build/Debug-android-aarch64/FastCSV-t.build/Objects-normal/aarch64/ByteStreamReader.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FastCSV.build/Debug-android-aarch64/FastCSV-t.build/Objects-normal/aarch64/ByteStreamReader.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FastCSV.build/Debug-android-aarch64/FastCSV-t.build/Objects-normal/aarch64/ByteStreamReader.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FastCSV.build/Debug-android-aarch64/FastCSV-t.build/Objects-normal/aarch64/CSVWriter.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FastCSV.build/Debug-android-aarch64/FastCSV-t.build/Objects-normal/aarch64/CSVWriter.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FastCSV.build/Debug-android-aarch64/FastCSV-t.build/Objects-normal/aarch64/CSVWriter.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FastCSV.build/Debug-android-aarch64/FastCSV-t.build/Objects-normal/aarch64/CSVWriter.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FastCSV.build/Debug-android-aarch64/FastCSV-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FastCSV.build/Debug-android-aarch64/FastCSV-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FastCSV.build/Debug-android-aarch64/FastCSV-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name FastCSV -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/FastCSV.build/Debug-android-aarch64/FastCSV-t.build/Objects-normal/aarch64/FastCSV_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/FastCSV.build/Debug-android-aarch64/FastCSV-t.build/Objects-normal/aarch64/ByteStreamReader.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/FastCSV.build/Debug-android-aarch64/FastCSV-t.build/Objects-normal/aarch64/CSVWriter.o -index-unit-output-path /FastCSV.build/Debug-android-aarch64/FastCSV-t.build/Objects-normal/aarch64/ByteStreamReader.o -index-unit-output-path /FastCSV.build/Debug-android-aarch64/FastCSV-t.build/Objects-normal/aarch64/CSVWriter.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android