The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FastCSV, reference v1.1.4 (da3467), with Swift 6.3 for Wasm on 23 Nov 2026 06:34:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 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:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/wombat2k/FastCSV.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
e5ad342fd9c7: Pulling fs layer
f0323b7ca7e2: Pulling fs layer
176f693e956f: Pulling fs layer
e83b3780e530: Pulling fs layer
c1d599776af8: Pulling fs layer
6f749e939ec1: Pulling fs layer
b22506e0082b: Pulling fs layer
67058f643edd: Pulling fs layer
cb259a83ac3d: Pulling fs layer
b892efa7c6f6: Pulling fs layer
dd6505e4103a: Pulling fs layer
dd6505e4103a: Already exists
e83b3780e530: Download complete
e5ad342fd9c7: Download complete
176f693e956f: Download complete
67058f643edd: Download complete
f0323b7ca7e2: Download complete
b22506e0082b: Download complete
44136fa355b3: Already exists
cb259a83ac3d: Download complete
b892efa7c6f6: Download complete
6f749e939ec1: Download complete
f19a3d911c61: Download complete
cb259a83ac3d: Pull complete
e5ad342fd9c7: Pull complete
c1d599776af8: Download complete
c1d599776af8: Pull complete
67058f643edd: Pull complete
176f693e956f: Pull complete
b892efa7c6f6: Pull complete
dd6505e4103a: Pull complete
f0323b7ca7e2: Pull complete
6f749e939ec1: Pull complete
b22506e0082b: Pull complete
e83b3780e530: Pull complete
Digest: sha256:d3f568d85e0aea9035607cd00c00b956e2abec4c377680cdb286c930e5f653a0
Status: Downloaded newer image for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/22] Emitting module FastCSV
[4/24] Compiling FastCSV ByteStreamReader.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: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)")
[5/24] Compiling FastCSV 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: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)")
[6/24] Compiling FastCSV CSVError.swift
[7/24] Compiling FastCSV CSVConfig.swift
[8/24] Compiling FastCSV Delimiter.swift
[9/24] Compiling FastCSV CSVDictionaryResult.swift
[10/24] Compiling FastCSV CSVFormat.swift
[11/24] Compiling FastCSV CSVIteratorResult.swift
[12/24] Compiling FastCSV CSVParser.swift
[13/24] Compiling FastCSV CleanupTracker.swift
[14/24] Compiling FastCSV CSVRowDecoder.swift
[15/24] Compiling FastCSV CSVRowEncoder.swift
[16/24] Compiling FastCSV FastCSV.swift
[17/24] Compiling FastCSV CSVRowIterator.swift
[18/24] Compiling FastCSV CSVArrayResult.swift
[19/24] Compiling FastCSV CSVDateStrategy.swift
[20/24] Compiling FastCSV CSVArrayIterator.swift
[21/24] Compiling FastCSV CSVDecodableIterator.swift
[22/24] Compiling FastCSV CSVDictionaryIterator.swift
[23/24] Compiling FastCSV CSVValue.swift
/host/spi-builder-workspace/Sources/FastCSV/Models/CSVValue.swift:195:30: error: cannot find 'strtod' in scope
193 |                 uselocale(previous)
194 |             #else
195 |                 let result = strtod(cStr, &endPtr)
    |                              `- error: cannot find 'strtod' in scope
196 |             #endif
197 |
/host/spi-builder-workspace/Sources/FastCSV/Models/CSVValue.swift:225:30: error: cannot find 'strtof' in scope
223 |                 uselocale(previous)
224 |             #else
225 |                 let result = strtof(cStr, &endPtr)
    |                              `- error: cannot find 'strtof' in scope
226 |             #endif
227 |
[24/24] Compiling FastCSV ByteChunkReader.swift
/host/spi-builder-workspace/Sources/FastCSV/Models/CSVValue.swift:195:30: error: cannot find 'strtod' in scope
193 |                 uselocale(previous)
194 |             #else
195 |                 let result = strtod(cStr, &endPtr)
    |                              `- error: cannot find 'strtod' in scope
196 |             #endif
197 |
/host/spi-builder-workspace/Sources/FastCSV/Models/CSVValue.swift:225:30: error: cannot find 'strtof' in scope
223 |                 uselocale(previous)
224 |             #else
225 |                 let result = strtof(cStr, &endPtr)
    |                              `- error: cannot find 'strtof' in scope
226 |             #endif
227 |
BUILD FAILURE 6.3 wasm