The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CosmoSQLClient, reference v1.6.4 (8a9559), with Swift 6.1 for Wasm on 8 Mar 2026 03:30:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vkuttyp/CosmoSQLClient-Swift.git
Reference: v1.6.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/vkuttyp/CosmoSQLClient-Swift
 * tag               v1.6.4     -> FETCH_HEAD
HEAD is now at 8a9559b fix: finalize @p naming migration in MSSQLConnection
Cloned https://github.com/vkuttyp/CosmoSQLClient-Swift.git
Revision (git rev-parse @):
8a9559be53b91307e7ffb15e1035dfee7ad23856
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vkuttyp/CosmoSQLClient-Swift.git at v1.6.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vkuttyp/CosmoSQLClient-Swift.git
https://github.com/vkuttyp/CosmoSQLClient-Swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.65.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.25.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "CosmoSQLClient",
  "name" : "CosmoSQLClient",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "CosmoSQLCore",
      "targets" : [
        "CosmoSQLCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CosmoMSSQL",
      "targets" : [
        "CosmoMSSQL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CosmoPostgres",
      "targets" : [
        "CosmoPostgres"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CosmoMySQL",
      "targets" : [
        "CosmoMySQL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CosmoSQLite",
      "targets" : [
        "CosmoSQLite"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CosmoSQLiteTests",
      "module_type" : "SwiftTarget",
      "name" : "CosmoSQLiteTests",
      "path" : "Tests/CosmoSQLiteTests",
      "sources" : [
        "SQLiteNioTests.swift",
        "TieredAPITests.swift"
      ],
      "target_dependencies" : [
        "CosmoSQLite"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CosmoSQLite",
      "module_type" : "SwiftTarget",
      "name" : "CosmoSQLite",
      "path" : "Sources/CosmoSQLite",
      "product_dependencies" : [
        "NIOCore",
        "NIOPosix",
        "Logging"
      ],
      "product_memberships" : [
        "CosmoSQLite"
      ],
      "sources" : [
        "SQLiteBackup.swift",
        "SQLiteConnection.swift",
        "SQLiteConnectionPool.swift"
      ],
      "target_dependencies" : [
        "CosmoSQLCore",
        "CSQLite"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CosmoSQLCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "CosmoSQLCoreTests",
      "path" : "Tests/CosmoSQLCoreTests",
      "sources" : [
        "SQLNioCoreTests.swift"
      ],
      "target_dependencies" : [
        "CosmoSQLCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CosmoSQLCore",
      "module_type" : "SwiftTarget",
      "name" : "CosmoSQLCore",
      "path" : "Sources/CosmoSQLCore",
      "product_dependencies" : [
        "NIOCore",
        "Logging"
      ],
      "product_memberships" : [
        "CosmoSQLCore",
        "CosmoMSSQL",
        "CosmoPostgres",
        "CosmoMySQL",
        "CosmoSQLite"
      ],
      "sources" : [
        "AsyncChannelBridge.swift",
        "AsyncStreamBridge.swift",
        "JSONChunkAssembler.swift",
        "NIOSendableBridge.swift",
        "SQLColumn.swift",
        "SQLConnectionConfiguration.swift",
        "SQLDataTable.swift",
        "SQLDatabase.swift",
        "SQLDump.swift",
        "SQLError.swift",
        "SQLParameter.swift",
        "SQLRow.swift",
        "SQLRowDecoder.swift",
        "SQLValue.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CosmoPostgresTests",
      "module_type" : "SwiftTarget",
      "name" : "CosmoPostgresTests",
      "path" : "Tests/CosmoPostgresTests",
      "product_dependencies" : [
        "NIOEmbedded"
      ],
      "sources" : [
        "PostgresIntegrationTests.swift",
        "PostgresNioTests.swift",
        "TieredAPITests.swift"
      ],
      "target_dependencies" : [
        "CosmoPostgres"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CosmoPostgres",
      "module_type" : "SwiftTarget",
      "name" : "CosmoPostgres",
      "path" : "Sources/CosmoPostgres",
      "product_dependencies" : [
        "NIOCore",
        "NIOPosix",
        "NIOSSL",
        "Logging",
        "Crypto"
      ],
      "product_memberships" : [
        "CosmoPostgres"
      ],
      "sources" : [
        "Auth/SCRAMSHA256.swift",
        "PostgresBackup.swift",
        "PostgresBulkInsert.swift",
        "PostgresConnection.swift",
        "PostgresConnectionPool.swift",
        "Protocol/PostgresDecoder.swift",
        "Protocol/PostgresMessages.swift"
      ],
      "target_dependencies" : [
        "CosmoSQLCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CosmoMySQLTests",
      "module_type" : "SwiftTarget",
      "name" : "CosmoMySQLTests",
      "path" : "Tests/CosmoMySQLTests",
      "product_dependencies" : [
        "NIOEmbedded"
      ],
      "sources" : [
        "MySQLIntegrationTests.swift",
        "MySQLNioTests.swift",
        "TieredAPITests.swift"
      ],
      "target_dependencies" : [
        "CosmoMySQL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CosmoMySQL",
      "module_type" : "SwiftTarget",
      "name" : "CosmoMySQL",
      "path" : "Sources/CosmoMySQL",
      "product_dependencies" : [
        "NIOCore",
        "NIOPosix",
        "NIOSSL",
        "Logging",
        "Crypto"
      ],
      "product_memberships" : [
        "CosmoMySQL"
      ],
      "sources" : [
        "MySQLBackup.swift",
        "MySQLBulkInsert.swift",
        "MySQLConnection.swift",
        "MySQLConnectionPool.swift",
        "Protocol/MySQLDecoder.swift",
        "Protocol/MySQLMessages.swift"
      ],
      "target_dependencies" : [
        "CosmoSQLCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CosmoMSSQLTests",
      "module_type" : "SwiftTarget",
      "name" : "CosmoMSSQLTests",
      "path" : "Tests/CosmoMSSQLTests",
      "product_dependencies" : [
        "NIOEmbedded"
      ],
      "sources" : [
        "InvoiceHeaderTests.swift",
        "MSSQLAdvancedFeatureTests.swift",
        "MSSQLDataTypeTests.swift",
        "MSSQLErrorTests.swift",
        "MSSQLNewFeatureTests.swift",
        "MSSQLNioTests.swift",
        "MSSQLQueryTests.swift",
        "MSSQLStoredProcTests.swift",
        "NTLMTests.swift",
        "SQLClientCompatTests.swift",
        "Support/TestDatabase.swift",
        "Support/TestValueHelpers.swift",
        "TieredAPITests.swift"
      ],
      "target_dependencies" : [
        "CosmoMSSQL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CosmoMSSQL",
      "module_type" : "SwiftTarget",
      "name" : "CosmoMSSQL",
      "path" : "Sources/CosmoMSSQL",
      "product_dependencies" : [
        "NIOCore",
        "NIOTLS",
        "NIOPosix",
        "NIOSSL",
        "Logging",
        "Crypto"
      ],
      "product_memberships" : [
        "CosmoMSSQL"
      ],
      "sources" : [
        "Auth/NTLMAuth.swift",
        "MSSQLBackup.swift",
        "MSSQLBulkInsert.swift",
        "MSSQLConnection.swift",
        "MSSQLConnectionPool.swift",
        "MSSQLProcResult.swift",
        "TDS/TDSDecoder.swift",
        "TDS/TDSHandler.swift",
        "TDS/TDSLogin7.swift",
        "TDS/TDSMessages.swift",
        "TDS/TDSPacket.swift",
        "TDS/TDSPreLogin.swift",
        "TDS/TDSRPCProcRequest.swift",
        "TDS/TDSRPCRequest.swift",
        "TDS/TDSTLSFramer.swift"
      ],
      "target_dependencies" : [
        "CosmoSQLCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSQLite",
      "module_type" : "ClangTarget",
      "name" : "CSQLite",
      "path" : "Sources/CSQLite",
      "product_memberships" : [
        "CosmoSQLite"
      ],
      "sources" : [
        "shim.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2171] Fetching swift-docc-plugin
[240/8325] Fetching swift-docc-plugin, swift-log
[917/25570] Fetching swift-docc-plugin, swift-log, swift-crypto
[6588/40930] Fetching swift-docc-plugin, swift-log, swift-crypto, swift-nio-ssl
[10572/123621] Fetching swift-docc-plugin, swift-log, swift-crypto, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (1.35s)
[7531/117467] Fetching swift-docc-plugin, swift-crypto, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.90s)
[68136/102107] Fetching swift-docc-plugin, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-docc-plugin.git from cache (13.88s)
Fetched https://github.com/apple/swift-crypto.git from cache (13.99s)
Fetched https://github.com/apple/swift-nio.git from cache (14.16s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.6 (18.36s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3668] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.69s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.95s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (1.18s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (1.10s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.95.0 (1.82s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/22018] Fetching swift-collections
[2/23838] Fetching swift-collections, swift-atomics
[1794/29439] Fetching swift-collections, swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.03s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.05s)
[1982/22018] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (4.30s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (2.87s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.0 (2.25s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (3.32s)
Fetching https://github.com/apple/swift-asn1.git
[1/1766] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.53s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (4.77s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.95.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.6
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/803] Write sources
[22/803] Compiling _AtomicsShims.c
[23/803] Compiling CNIOWindows WSAStartup.c
[24/803] Compiling CNIOWindows shim.c
[25/803] Compiling CNIOOpenBSD shim.c
[26/803] Compiling CNIOWASI CNIOWASI.c
[27/803] Compiling CNIOLinux shim.c
[28/803] Compiling CNIOPosix event_loop_id.c
[29/803] Compiling CNIODarwin shim.c
[30/803] Compiling CNIOLinux liburing_shims.c
[31/803] Compiling fiat_p256_adx_sqr.S
[32/803] Compiling fiat_p256_adx_mul.S
[33/803] Compiling fiat_curve25519_adx_square.S
[34/803] Compiling fiat_curve25519_adx_mul.S
[35/803] Compiling CSQLite shim.c
[35/803] Write swift-version-24593BA9C3E375BF.txt
[37/803] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[38/809] Compiling tls_record.cc
[38/809] Compiling tls13_both.cc
[38/809] Compiling tls13_server.cc
[38/809] Compiling tls_method.cc
[38/809] Compiling tls13_enc.cc
[38/809] Compiling tls13_client.cc
<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
<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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/768] Compiling fiat_p256_adx_sqr.S
[3/768] Compiling fiat_curve25519_adx_square.S
[4/768] Compiling fiat_p256_adx_mul.S
[5/768] Write swift-version-24593BA9C3E375BF.txt
[6/768] Compiling CCryptoBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[7/772] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1[7/772] Compiling tls13_enc.cc
[7/772] Compiling c-nioatomics.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[7/772] Compiling tls13_server.cc
[7/772] Compiling tls13_client.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[7/772] Compiling tls_record.cc
[7/772] Compiling c-atomics.c
BUILD FAILURE 6.1 wasm