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 mysql-nio, reference 1.7.2 (d60444), with Swift 6.1 for Wasm on 29 May 2025 10:31:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/vapor/mysql-nio.git
Reference: 1.7.2
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/vapor/mysql-nio
 * tag               1.7.2      -> FETCH_HEAD
HEAD is now at d60444d Avoid double-logging queries (#110)
Cloned https://github.com/vapor/mysql-nio.git
Revision (git rev-parse @):
d60444dc7b1525000eb443baa08bf79f059202ad
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/mysql-nio.git at 1.7.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor/mysql-nio.git
https://github.com/vapor/mysql-nio.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.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.14.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    }
  ],
  "manifest_display_name" : "mysql-nio",
  "name" : "mysql-nio",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "MySQLNIO",
      "targets" : [
        "MySQLNIO"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MySQLNIOTests",
      "module_type" : "SwiftTarget",
      "name" : "MySQLNIOTests",
      "path" : "Tests/MySQLNIOTests",
      "sources" : [
        "MySQLNIOTests.swift",
        "Utilities.swift"
      ],
      "target_dependencies" : [
        "MySQLNIO"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MySQLNIO",
      "module_type" : "SwiftTarget",
      "name" : "MySQLNIO",
      "path" : "Sources/MySQLNIO",
      "product_dependencies" : [
        "Crypto",
        "Logging",
        "NIO",
        "NIOSSL"
      ],
      "product_memberships" : [
        "MySQLNIO"
      ],
      "sources" : [
        "Exports.swift",
        "MySQLConnection.swift",
        "MySQLConnectionHandler.swift",
        "MySQLData.swift",
        "MySQLDataConvertible.swift",
        "MySQLDatabase.swift",
        "MySQLError.swift",
        "MySQLQueryCommand.swift",
        "MySQLRow.swift",
        "MySQLSimpleQueryCommand.swift",
        "MySQLTime.swift",
        "Packet/MySQLPacket.swift",
        "Packet/MySQLPacketDecoder.swift",
        "Packet/MySQLPacketEncoder.swift",
        "Packet/MySQLPacketSequence.swift",
        "Protocol/MySQLProtocol+BinaryResultSetRow.swift",
        "Protocol/MySQLProtocol+COM_QUERY.swift",
        "Protocol/MySQLProtocol+COM_QUERY_Response.swift",
        "Protocol/MySQLProtocol+COM_QUIT.swift",
        "Protocol/MySQLProtocol+COM_STMT_CLOSE.swift",
        "Protocol/MySQLProtocol+COM_STMT_EXECUTE.swift",
        "Protocol/MySQLProtocol+COM_STMT_PREPARE.swift",
        "Protocol/MySQLProtocol+COM_STMT_PREPARE_OK.swift",
        "Protocol/MySQLProtocol+CapabilityFlags.swift",
        "Protocol/MySQLProtocol+CharacterSet.swift",
        "Protocol/MySQLProtocol+ColumnDefinition41.swift",
        "Protocol/MySQLProtocol+ColumnFlags.swift",
        "Protocol/MySQLProtocol+DataType.swift",
        "Protocol/MySQLProtocol+ERR_Packet.swift",
        "Protocol/MySQLProtocol+ErrorCode.swift",
        "Protocol/MySQLProtocol+HandshakeResponse41.swift",
        "Protocol/MySQLProtocol+HandshakeV10.swift",
        "Protocol/MySQLProtocol+NullBitmap.swift",
        "Protocol/MySQLProtocol+OK_Packet.swift",
        "Protocol/MySQLProtocol+SSLRequest.swift",
        "Protocol/MySQLProtocol+StatusFlags.swift",
        "Protocol/MySQLProtocol+TextResultSetRow.swift",
        "Protocol/MySQLProtocol.swift",
        "Utilities/CryptoUtils.swift",
        "Utilities/NIOUtils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[1843/18679] Fetching swift-log, swift-nio-ssl
[2869/32615] Fetching swift-log, swift-nio-ssl, swift-crypto
[6159/108708] Fetching swift-log, swift-nio-ssl, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (4.32s)
[71184/94772] Fetching swift-log, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (5.00s)
[71152/90936] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.06s)
[57070/76093] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (11.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (12.27s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (1.16s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.58s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/4391] Fetching swift-system
[2/6101] Fetching swift-system, swift-atomics
[1085/22692] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.02s)
[8705/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.35s)
Fetched https://github.com/apple/swift-collections.git from cache (2.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (3.49s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.07s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.28s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.67s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.63s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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.6.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.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.31.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.12.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
[0/786] Write sources
[5/786] Compiling ghash-x86_64-apple.S
[5/786] Write sources
[8/786] Compiling ghash-x86-apple.S
[8/786] Write sources
[17/786] Compiling ghash-x86-linux.S
[18/786] Compiling _AtomicsShims.c
[19/786] Compiling CNIOWASI CNIOWASI.c
[20/786] Compiling CNIOWindows shim.c
[21/786] Compiling CNIOWindows WSAStartup.c
[22/786] Compiling CNIOLinux shim.c
[23/786] Compiling CNIODarwin shim.c
[24/786] Compiling CNIOLinux liburing_shims.c
[25/786] Write swift-version-24593BA9C3E375BF.txt
[26/786] Compiling fiat_p256_adx_mul.S
[27/786] Compiling fiat_p256_adx_sqr.S
[28/786] Compiling fiat_curve25519_adx_square.S
[29/786] Compiling a_bitstr.cc
[30/791] Compiling a_d2i_fp.cc
[31/797] Compiling CNIOBoringSSLShims shims.c
[32/797] Compiling fiat_curve25519_adx_mul.S
[33/811] Compiling a_bool.cc
[34/811] Compiling a_gentm.cc
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.
[35/811] Compiling tls_method.cc
[36/811] Emitting module InternalCollectionsUtilities
[36/811] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
1 error generated.
[36/811] Compiling tls_record.cc
[36/811] Compiling tls13_enc.cc
[37/811] Emitting module _NIOBase64
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/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 error generated.
[0/752] Compiling tls13_enc.cc
[0/752] Compiling tls_record.cc
[0/752] Compiling c-atomics.c
[0/752] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/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>
      |          ^~~~~~~~~~~
[0/752] Compiling tls13_client.cc
[0/752] Compiling c-nioatomics.c
[0/752] Compiling tls13_both.cc
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>
      |          ^~~~~~~~~~~
[0/752] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm