The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftMysql, reference 0.3.0 (e00161), with Swift 6.1 for Wasm on 27 May 2025 09:53:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/noppoman/swiftmysql.git
Reference: 0.3.0
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/noppoman/swiftmysql
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at e001615 Merge pull request #5 from noppoMan/non-blocking
Cloned https://github.com/noppoman/swiftmysql.git
Revision (git rev-parse @):
e001615d6ed2239ea64b45ad7e70badca37a0c4d
SUCCESS checkout https://github.com/noppoman/swiftmysql.git at 0.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/noppoman/swiftmysql.git
https://github.com/noppoman/swiftmysql.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "prorsumnet",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/noppoMan/ProrsumNet.git"
    }
  ],
  "manifest_display_name" : "SwiftMysql",
  "name" : "SwiftMysql",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftMysql",
      "targets" : [
        "SwiftMysql"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftMysqlTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftMysqlTests",
      "path" : "Tests/SwiftMysqlTests",
      "sources" : [
        "Async/AsyncConnectionPoolTests.swift",
        "Async/AsyncConnectionTests.swift",
        "Async/AsyncSelectTests.swift",
        "Async/AsyncTransaction.swift",
        "Async/AsyncWriteTests.swift",
        "ConnectionPoolTests.swift",
        "ConnectionTests.swift",
        "PreparedStatementTests.swift",
        "SelectTests.swift",
        "Support.swift",
        "TransactionTests.swift"
      ],
      "target_dependencies" : [
        "SwiftMysql"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftMysql",
      "module_type" : "SwiftTarget",
      "name" : "SwiftMysql",
      "path" : "Sources/SwiftMysql",
      "product_dependencies" : [
        "ProrsumNet"
      ],
      "product_memberships" : [
        "SwiftMysql"
      ],
      "sources" : [
        "Bytes.swift",
        "Connection/Async/AsyncConnection.swift",
        "Connection/Async/AsyncConnectionPool.swift",
        "Connection/Async/AsyncPacketWriter.swift",
        "Connection/Async/AsyncStream.swift",
        "Connection/Async/AsyncTransaction.swift",
        "Connection/Connection.swift",
        "Connection/ConnectionPool.swift",
        "Connection/ConnectionType.swift",
        "Connection/Transaction.swift",
        "Date.swift",
        "Error.swift",
        "Protocol/Constants.swift",
        "Protocol/Packet/BinaryRowDataPacket.swift",
        "Protocol/Packet/Field.swift",
        "Protocol/Packet/HandShakePacket.swift",
        "Protocol/Packet/OKPacket.swift",
        "Protocol/Packet/PrepareResultPacket.swift",
        "Protocol/Packet/RowDataPacket.swift",
        "Protocol/Packet/RowDataParsable.swift",
        "Pthread.swift",
        "Query/Async/AsyncQueryResult.swift",
        "Query/Query.swift",
        "Query/QueryResult.swift",
        "Query/QueryStatus.swift",
        "Query/ResultFetcher.swift",
        "Query/Row.swift",
        "Query/RowSequence.swift",
        "Query/Statement.swift",
        "Stream/PacketStream.swift",
        "ThreadUnsafeEventEmitter.swift",
        "Util.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/noppoMan/ProrsumNet.git
[1/174] Fetching prorsumnet
Fetched https://github.com/noppoMan/ProrsumNet.git from cache (0.42s)
Computing version for https://github.com/noppoMan/ProrsumNet.git
Computed https://github.com/noppoMan/ProrsumNet.git at 0.1.3 (2.33s)
Fetching https://github.com/vapor/clibressl.git
[1/3365] Fetching clibressl
Fetched https://github.com/vapor/clibressl.git from cache (0.90s)
Computing version for https://github.com/vapor/clibressl.git
Computed https://github.com/vapor/clibressl.git at 1.0.1 (2.22s)
Creating working copy for https://github.com/noppoMan/ProrsumNet.git
Working copy of https://github.com/noppoMan/ProrsumNet.git resolved at 0.1.3
Creating working copy for https://github.com/vapor/clibressl.git
Working copy of https://github.com/vapor/clibressl.git resolved at 1.0.1
Building for debugging...
[0/619] Write sources
[2/619] Compiling CLibreSSL a_bool.c
[3/619] Compiling CLibreSSL a_d2i_fp.c
[4/619] Compiling CLibreSSL a_digest.c
[5/619] Compiling CLibreSSL e_rc2.c
[5/619] Compiling CLibreSSL e_rc4.c
[7/619] Compiling CLibreSSL e_rc4_hmac_md5.c
In file included from /host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/xts128.c:51:
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/endian.h:7:11: fatal error: 'machine/endian.h' file not found
    7 |         #include <machine/endian.h>
      |                  ^~~~~~~~~~~~~~~~~~
1 error generated.
[8/619] Compiling CLibreSSL xts128.c
[8/619] Compiling CLibreSSL x_spki.c
[8/619] Compiling CLibreSSL x_val.c
[8/619] Compiling CLibreSSL x_x509a.c
[8/619] Compiling CLibreSSL xcbc_enc.c
[8/619] Compiling CLibreSSL x_x509.c
[8/619] Compiling CLibreSSL a_bytes.c
[8/619] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/xts128.c:51:
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/endian.h:7:11: fatal error: 'machine/endian.h' file not found
    7 |         #include <machine/endian.h>
      |                  ^~~~~~~~~~~~~~~~~~
1 error generated.
[0/611] Compiling CLibreSSL xts128.c
[0/611] Compiling CLibreSSL x_spki.c
[0/611] Compiling CLibreSSL x_val.c
[0/611] Compiling CLibreSSL x_x509a.c
[0/611] Compiling CLibreSSL x_x509.c
[0/611] Compiling CLibreSSL xcbc_enc.c
[0/611] Compiling CLibreSSL x_req.c
[0/611] Compiling CLibreSSL x_sig.c
BUILD FAILURE 6.1 wasm