The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftAge, reference main (bc9670), with Swift 6.1 for Wasm on 28 May 2025 22:23:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/joshjacob/SwiftAge.git
Reference: main
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/joshjacob/SwiftAge
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bc96704 Merge pull request #8 from joshjacob/feature/loggingAndErrors
Cloned https://github.com/joshjacob/SwiftAge.git
Revision (git rev-parse @):
bc96704343ff8025a89528f63a260186ec720d4c
SUCCESS checkout https://github.com/joshjacob/SwiftAge.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/joshjacob/SwiftAge.git
https://github.com/joshjacob/SwiftAge.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "postgres-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.18.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/postgres-nio.git"
    },
    {
      "identity" : "antlr4",
      "requirement" : {
        "branch" : [
          "dev"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/joshjacob/antlr4"
    }
  ],
  "manifest_display_name" : "SwiftAge",
  "name" : "SwiftAge",
  "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" : "SwiftAge",
      "targets" : [
        "SwiftAge"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftAgeTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAgeTests",
      "path" : "Tests/SwiftAgeTests",
      "sources" : [
        "SwiftAgeExtensionTests.swift",
        "SwiftAgeParserTests.swift"
      ],
      "target_dependencies" : [
        "SwiftAge"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftAge",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAge",
      "path" : "Sources/SwiftAge",
      "product_dependencies" : [
        "PostgresNIO",
        "Antlr4"
      ],
      "product_memberships" : [
        "SwiftAge"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SwiftAge/Antlr4/Agtype.g4",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwiftAge/Antlr4/Agtype.interp",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwiftAge/Antlr4/Agtype.tokens",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwiftAge/Antlr4/AgtypeLexer.interp",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwiftAge/Antlr4/AgtypeLexer.tokens",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Antlr4/AgtypeBaseListener.swift",
        "Antlr4/AgtypeBaseVisitor.swift",
        "Antlr4/AgtypeLexer.swift",
        "Antlr4/AgtypeListener.swift",
        "Antlr4/AgtypeParser.swift",
        "Antlr4/AgtypeVisitor.swift",
        "Extensions+PostgresNIO.swift",
        "SwiftAgeError.swift",
        "SwiftAgeModels.swift",
        "SwiftAgeParser.swift",
        "SwiftAgeVisitor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/joshjacob/antlr4
[1/134531] Fetching antlr4
Fetched https://github.com/joshjacob/antlr4 from cache (5.36s)
Fetching https://github.com/vapor/postgres-nio.git
[1/12271] Fetching postgres-nio
Fetched https://github.com/vapor/postgres-nio.git from cache (1.30s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.26.1 (1.79s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-metrics.git
[1/2426] Fetching swift-service-lifecycle
[899/5093] Fetching swift-service-lifecycle, swift-nio-transport-services
[3521/8929] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-log
[8930/22865] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-log, swift-crypto
[10463/25071] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-log, swift-crypto, swift-metrics
Fetched https://github.com/apple/swift-log.git from cache (0.79s)
Fetching https://github.com/apple/swift-nio.git
[10783/21235] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-crypto, swift-metrics
[11063/36078] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-crypto, swift-metrics, swift-nio-ssl
Fetched https://github.com/apple/swift-metrics.git from cache (0.89s)
Fetching https://github.com/apple/swift-collections.git
[10759/33872] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-crypto, swift-nio-ssl
[20899/50463] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-crypto, swift-nio-ssl, swift-collections
[22148/126556] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-crypto, swift-nio-ssl, swift-collections, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.27s)
[93452/123889] Fetching swift-service-lifecycle, swift-crypto, swift-nio-ssl, swift-collections, swift-nio
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (2.39s)
Fetched https://github.com/apple/swift-collections.git from cache (1.49s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.41s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.42s)
[49461/76093] Fetching swift-nio
[50223/77803] Fetching swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.43s)
[53266/76093] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.10s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (6.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.91s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.43s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.84s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (3.11s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.68s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/4985] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.95s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.55s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.68s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.69s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.00s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.28s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.90s)
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.12s)
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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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.8.0
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.0.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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.24.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.2.0
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
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/vapor/postgres-nio.git
Working copy of https://github.com/vapor/postgres-nio.git resolved at 1.26.1
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/joshjacob/antlr4
Working copy of https://github.com/joshjacob/antlr4 resolved at dev (f6dc2ec)
Building for debugging...
[0/805] Write sources
[0/805] Copying Agtype.g4
[0/805] Copying Agtype.interp
[0/805] Copying Agtype.tokens
[0/805] Write sources
[0/805] Copying AgtypeLexer.tokens
[0/805] Copying AgtypeLexer.interp
[0/805] Write sources
[30/805] Compiling CNIOWindows WSAStartup.c
[30/805] Compiling CNIOWASI CNIOWASI.c
[32/805] Write sources
[36/805] Compiling _AtomicsShims.c
[37/805] Compiling CNIOWindows shim.c
[38/805] Compiling CNIOLinux shim.c
[39/805] Compiling CNIODarwin shim.c
[40/805] Compiling CNIOLinux liburing_shims.c
[41/805] Compiling fiat_p256_adx_sqr.S
[42/805] Compiling fiat_p256_adx_mul.S
[43/805] Compiling fiat_curve25519_adx_mul.S
[44/805] Compiling fiat_curve25519_adx_square.S
[45/805] Write swift-version-24593BA9C3E375BF.txt
[46/805] Compiling CNIOBoringSSLShims shims.c
[47/809] Compiling asn1_compat.cc
[48/809] Compiling ber.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 error generated.
[49/828] Compiling tls13_enc.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.
[49/828] 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>
      |          ^~~~~~~~~~~
1 error generated.
[49/828] 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>
      |          ^~~~~~~~~~~
[49/828] 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>
      |          ^~~~~~~~~~~
[49/828] Compiling tls_record.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/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.
[0/757] Compiling tls_record.cc
[0/757] Compiling tls13_server.cc
[0/757] Compiling c-nioatomics.c
[0/757] Compiling tls_method.cc
[0/757] Compiling tls13_both.cc
[0/757] Compiling tls13_enc.cc
In file included from [0/757] Compiling t1_enc.cc
[0/757] Compiling tls13_client.cc
BUILD FAILURE 6.1 wasm