The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftMysql, reference master (5cbf3b), with Swift 6.1 for Wasm on 27 May 2025 09:53:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5cbf3bb Merge pull request #6 from noppoMan/evm-visiblity
Cloned https://github.com/noppoman/swiftmysql.git
Revision (git rev-parse @):
5cbf3bb1c2c1c5129b8096ed1b7ee3740049ad20
SUCCESS checkout https://github.com/noppoman/swiftmysql.git at master
========================================
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-4609320-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.21s)
Computing version for https://github.com/noppoMan/ProrsumNet.git
Computed https://github.com/noppoMan/ProrsumNet.git at 0.1.3 (0.80s)
Fetching https://github.com/vapor/clibressl.git
[1/3365] Fetching clibressl
Fetched https://github.com/vapor/clibressl.git from cache (0.57s)
Computing version for https://github.com/vapor/clibressl.git
Computed https://github.com/vapor/clibressl.git at 1.0.1 (1.12s)
Creating working copy for https://github.com/vapor/clibressl.git
Working copy of https://github.com/vapor/clibressl.git resolved at 1.0.1
Creating working copy for https://github.com/noppoMan/ProrsumNet.git
Working copy of https://github.com/noppoMan/ProrsumNet.git resolved at 0.1.3
Building for debugging...
[0/619] Write sources
[2/619] Write swift-version-24593BA9C3E375BF.txt
[3/619] Compiling CLibreSSL bss_null.c
[4/619] Compiling CLibreSSL bss_mem.c
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/bss_log.c:68:10: fatal error: 'syslog.h' file not found
   68 | #include <syslog.h>
      |          ^~~~~~~~~~
1 error generated.
[5/619] Compiling CLibreSSL a_bool.c
[6/619] Compiling CLibreSSL bss_log.c
[6/619] Compiling CLibreSSL a_bytes.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>
      |                  ^~~~~~~~~~~~~~~~~~
[6/619] Compiling CLibreSSL xts128.c
[6/619] Compiling CLibreSSL a_d2i_fp.c
[6/619] Compiling CLibreSSL xcbc_enc.c
[6/619] Compiling CLibreSSL x_x509.c
[6/619] Compiling CLibreSSL x_x509a.c
[6/619] Compiling CLibreSSL a_bitstr.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/614] Compiling CLibreSSL xts128.c
[0/614] Compiling CLibreSSL x_req.c
[0/614] Compiling CLibreSSL x_x509.c
[0/614] Compiling CLibreSSL x_x509a.c
[0/614] Compiling CLibreSSL x_val.c
[0/614] Compiling CLibreSSL x_sig.c
[0/614] Compiling CLibreSSL x_spki.c
[0/614] Compiling CLibreSSL xcbc_enc.c
BUILD FAILURE 6.1 wasm