The Swift Package Index logo.Swift Package Index

Build Information

Failed to build postgres-for-swift-log, reference 0.0.1 (1e1a43), with Swift 6.1 for Wasm on 28 Feb 2026 17:52:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/atacan/postgres-for-swift-log.git
Reference: 0.0.1
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/atacan/postgres-for-swift-log
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at 1e1a43a Create LICENSE
Cloned https://github.com/atacan/postgres-for-swift-log.git
Revision (git rev-parse @):
1e1a43acffc0320edf4169d91a6118e1dfff8f8c
SUCCESS checkout https://github.com/atacan/postgres-for-swift-log.git at 0.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/atacan/postgres-for-swift-log.git
https://github.com/atacan/postgres-for-swift-log.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-service-lifecycle",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-service-lifecycle.git"
    },
    {
      "identity" : "postgres-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.25.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/postgres-nio"
    }
  ],
  "manifest_display_name" : "postgres-for-swift-log",
  "name" : "postgres-for-swift-log",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "LoggingToPostgres",
      "targets" : [
        "LoggingToPostgres"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoggingToPostgresTests",
      "module_type" : "SwiftTarget",
      "name" : "LoggingToPostgresTests",
      "path" : "Tests/LoggingToPostgresTests",
      "sources" : [
        "LoggingToPostgresTests.swift"
      ],
      "target_dependencies" : [
        "LoggingToPostgres"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LoggingToPostgres",
      "module_type" : "SwiftTarget",
      "name" : "LoggingToPostgres",
      "path" : "Sources/LoggingToPostgres",
      "product_dependencies" : [
        "PostgresNIO",
        "ServiceLifecycle",
        "Logging"
      ],
      "product_memberships" : [
        "LoggingToPostgres"
      ],
      "sources" : [
        "Metadata+.swift",
        "PostgresLogProcessor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/swift-server/swift-service-lifecycle.git
Fetching https://github.com/vapor/postgres-nio
Fetching https://github.com/apple/swift-log.git
[1/2649] Fetching swift-service-lifecycle
[2650/8739] Fetching swift-service-lifecycle, swift-log
[8740/22327] Fetching swift-service-lifecycle, swift-log, postgres-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.44s)
[10031/19678] Fetching swift-log, postgres-nio
[4349/13588] Fetching postgres-nio
Fetched https://github.com/apple/swift-log.git from cache (0.45s)
Fetched https://github.com/vapor/postgres-nio from cache (0.72s)
Computing version for https://github.com/vapor/postgres-nio
Computed https://github.com/vapor/postgres-nio at 1.31.0 (1.30s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio.git
[1/2678] Fetching swift-metrics
[510/22933] Fetching swift-metrics, swift-collections
[511/25748] Fetching swift-metrics, swift-collections, swift-nio-transport-services
[7317/42986] Fetching swift-metrics, swift-collections, swift-nio-transport-services, swift-crypto
[8007/58328] Fetching swift-metrics, swift-collections, swift-nio-transport-services, swift-crypto, swift-nio-ssl
[14166/140874] Fetching swift-metrics, swift-collections, swift-nio-transport-services, swift-crypto, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.58s)
Fetching https://github.com/apple/swift-atomics.git
[91834/138059] Fetching swift-metrics, swift-collections, swift-crypto, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (2.89s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.89s)
[68375/102386] Fetching swift-metrics, swift-nio-ssl, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
[72501/100566] Fetching swift-metrics, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-metrics.git from cache (10.32s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (10.36s)
Fetched https://github.com/apple/swift-nio.git from cache (10.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (12.12s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.8.0 (1.30s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.10.1 (1.05s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6142] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.04s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.2 (1.78s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.04s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.69s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.96s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.95.0 (1.26s)
Fetching https://github.com/apple/swift-system.git
[1/5583] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.51s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (3.88s)
Fetching https://github.com/apple/swift-asn1.git
[1/1760] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.31s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.90s)
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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.8.0
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.2
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-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.10.1
Creating working copy for https://github.com/vapor/postgres-nio
Working copy of https://github.com/vapor/postgres-nio resolved at 1.31.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.6.4
Building for debugging...
[0/814] Write sources
[19/814] Compiling _AtomicsShims.c
[20/814] Write sources
[30/814] Compiling p256-x86_64-asm-linux.S
[31/814] Compiling p256-armv8-asm-linux.S
[32/814] Compiling p256-x86_64-asm-apple.S
[33/814] Compiling ghashv8-armv8-win.S
[34/814] Compiling p256-armv8-asm-win.S
[35/814] Compiling CXKCPShims shims.c
[36/814] Compiling p256-armv8-asm-apple.S
[37/814] Compiling SimpleFIPS202.c
[38/814] Compiling CNIOWASI CNIOWASI.c
[39/814] Compiling KeccakSponge.c
[40/814] Compiling CNIOPosix event_loop_id.c
[41/814] Compiling KeccakHash.c
[42/814] Compiling CNIOWindows shim.c
[43/814] Compiling CNIOWindows WSAStartup.c
[44/814] Compiling CNIOOpenBSD shim.c
[45/814] Compiling CNIOLinux liburing_shims.c
[46/814] Compiling CNIOLinux shim.c
[47/814] Compiling CNIODarwin shim.c
[48/814] Compiling fiat_p256_adx_sqr.S
[49/814] Compiling fiat_p256_adx_mul.S
[50/814] Compiling fiat_curve25519_adx_mul.S
[51/814] Compiling fiat_curve25519_adx_square.S
[52/814] Write swift-version-24593BA9C3E375BF.txt
[53/814] Compiling CNIOBoringSSLShims shims.c
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.
[54/818] Compiling tls13_enc.cc
[54/818] Compiling KeccakP-1600-opt64.c
[54/818] Compiling tls13_both.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>
      |          ^~~~~~~~~~~
[54/818] 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
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>
      |          ^~~~~~~~~~~
[54/818] Compiling tls_record.cc
[54/818] Compiling tls_method.cc
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>
      |          ^~~~~~~~~~~
[54/818] Compiling tls13_server.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Building for debugging...
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>
      |          ^~~~~~~~~~~
1 error generated.
[0/761] Compiling tls13_server.cc
[0/761] Compiling c-nioatomics.c
[0/761] Compiling c-atomics.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/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>
      |          ^~~~~~~~~~~
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/761] 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>
      |          ^~~~~~~~~~~
[0/761] Compiling tls_record.cc
[0/761] Compiling tls13_both.cc
[0/761] 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>
      |          ^~~~~~~~~~~
[0/761] Compiling tls13_enc.cc
BUILD FAILURE 6.1 wasm