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 Pusher, reference main (a9dc19), with Swift 6.1 for Wasm on 28 May 2025 03:54:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/pusher/pusher-http-swift.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/pusher/pusher-http-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a9dc19b Automated release setup (#48)
Cloned https://github.com/pusher/pusher-http-swift.git
Revision (git rev-parse @):
a9dc19b702d0a1f40a23b904cbd92bf9de7253ee
SUCCESS checkout https://github.com/pusher/pusher-http-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pusher/pusher-http-swift.git
https://github.com/pusher/pusher-http-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftlint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.43.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/realm/SwiftLint"
    },
    {
      "identity" : "apiota",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/danielrbrowne/APIota"
    },
    {
      "identity" : "anycodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flight-School/AnyCodable"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.6",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto"
    },
    {
      "identity" : "tweetnacl-swiftwrap",
      "requirement" : {
        "revision" : [
          "f8fd111642bf2336b11ef9ea828510693106e954"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bitmark-inc/tweetnacl-swiftwrap"
    }
  ],
  "manifest_display_name" : "Pusher",
  "name" : "Pusher",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Pusher",
      "targets" : [
        "Pusher"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PusherTests",
      "module_type" : "SwiftTarget",
      "name" : "PusherTests",
      "path" : "Tests/PusherTests",
      "sources" : [
        "AppStateQueryTests.swift",
        "AuthTokenTests.swift",
        "ClientOptionsTests.swift",
        "EventTriggerTests.swift",
        "Extensions/XCTest+Pusher.swift",
        "Models/Mocks.swift",
        "Models/TestObjects.swift",
        "WebhookTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Pusher"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Pusher",
      "module_type" : "SwiftTarget",
      "name" : "Pusher",
      "path" : "Sources/Pusher",
      "product_dependencies" : [
        "APIota",
        "AnyCodable",
        "Crypto",
        "TweetNacl"
      ],
      "product_memberships" : [
        "Pusher"
      ],
      "sources" : [
        "Extensions/Data+Extensions.swift",
        "Extensions/String+Extensions.swift",
        "Models/AuthenticationToken.swift",
        "Models/Channel.swift",
        "Models/ChannelAttributeFetchOptions.swift",
        "Models/ChannelAttributes.swift",
        "Models/ChannelFilter.swift",
        "Models/ChannelInfo.swift",
        "Models/ChannelSummary.swift",
        "Models/ChannelType.swift",
        "Models/EncryptedData.swift",
        "Models/Event.swift",
        "Models/PresenceUserAuthData.swift",
        "Models/PusherError.swift",
        "Models/SDKVersion.swift",
        "Models/User.swift",
        "Models/Webhook.swift",
        "Models/WebhookEvent.swift",
        "Models/WebhookEventType.swift",
        "Networking/Client/APIClient.swift",
        "Networking/Client/GetChannelEndpoint.swift",
        "Networking/Client/GetChannelsEndpoint.swift",
        "Networking/Client/GetUsersEndpoint.swift",
        "Networking/Client/TriggerBatchEventsEndpoint.swift",
        "Networking/Client/TriggerEventEndpoint.swift",
        "Networking/Models/AuthInfo.swift",
        "Networking/Models/ChannelInfoListAPIResponse.swift",
        "Networking/Models/ChannelSummaryListAPIResponse.swift",
        "Networking/Models/ChannelUsersAPIResponse.swift",
        "Networking/Models/EventBatch.swift",
        "Networking/Models/JSONEncoder.swift",
        "Networking/Models/PusherClientOptions.swift",
        "Protocols/AuthInfoRecord.swift",
        "Protocols/ChannelAttributable.swift",
        "Protocols/ChannelDescription.swift",
        "Protocols/ChannelInfoRecord.swift",
        "Protocols/ChannelSummaryRecord.swift",
        "Protocols/EventInfoRecord.swift",
        "Protocols/SubscriptionCountable.swift",
        "Protocols/UserCountable.swift",
        "Protocols/UserInfoRecord.swift",
        "Protocols/WebhookEventRecord.swift",
        "Pusher.swift",
        "Services/AuthTokenService.swift",
        "Services/CryptoService.swift",
        "Services/WebhookService.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/bitmark-inc/tweetnacl-swiftwrap
[1/404] Fetching tweetnacl-swiftwrap
Fetched https://github.com/bitmark-inc/tweetnacl-swiftwrap from cache (0.30s)
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/danielrbrowne/APIota
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/realm/SwiftLint
[1/782] Fetching anycodable
[783/1486] Fetching anycodable, apiota
[1487/15422] Fetching anycodable, apiota, swift-crypto
Fetched https://github.com/Flight-School/AnyCodable from cache (0.36s)
[1541/14640] Fetching apiota, swift-crypto
[4608/165023] Fetching apiota, swift-crypto, swiftlint
Fetched https://github.com/apple/swift-crypto from cache (2.56s)
[14843/151087] Fetching apiota, swiftlint
Fetched https://github.com/danielrbrowne/APIota from cache (30.39s)
Fetched https://github.com/realm/SwiftLint from cache (31.85s)
Computing version for https://github.com/danielrbrowne/APIota
Computed https://github.com/danielrbrowne/APIota at 0.2.0 (36.34s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 1.1.7 (3.88s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.88s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.59.1 (1.22s)
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/84] Fetching collectionconcurrencykit
[85/13025] Fetching collectionconcurrencykit, cryptoswift
[344/13954] Fetching collectionconcurrencykit, cryptoswift, swiftytexttable
[2826/30066] Fetching collectionconcurrencykit, cryptoswift, swiftytexttable, sourcekitten
[2988/40723] Fetching collectionconcurrencykit, cryptoswift, swiftytexttable, sourcekitten, yams
[22879/111171] Fetching collectionconcurrencykit, cryptoswift, swiftytexttable, sourcekitten, yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (2.12s)
Fetching https://github.com/apple/swift-argument-parser.git
[54723/100514] Fetching collectionconcurrencykit, cryptoswift, swiftytexttable, sourcekitten, swift-syntax
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.53s)
[62917/87573] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten, swift-syntax
[74894/102924] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten, swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.20s)
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (6.12s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (6.12s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (6.15s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.19s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (7.42s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.77s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.85s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.0 (0.57s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.35s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (1.10s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.65s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.11s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.85s)
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.59.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 1.1.7
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/danielrbrowne/APIota
Working copy of https://github.com/danielrbrowne/APIota resolved at 0.2.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.0
Creating working copy for https://github.com/bitmark-inc/tweetnacl-swiftwrap
Working copy of https://github.com/bitmark-inc/tweetnacl-swiftwrap resolved at f8fd111642bf2336b11ef9ea828510693106e954
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/415] Write sources
[8/415] Compiling a_dup.c
[9/415] Compiling a_bool.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/a_enum.c:65:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[10/415] Compiling a_enum.c
[10/415] Compiling CCryptoBoringSSLShims shims.c
[10/415] Compiling CTweetNacl ctweetnacl.c
[10/415] Compiling v3_utl.c
[10/415] Compiling a_d2i_fp.c
[10/415] Compiling a_gentm.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/a_bitstr.c:65:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[10/415] Compiling a_bitstr.c
[10/415] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/408] Compiling CTweetNacl ctweetnacl.c
[4/408] Compiling v3_skey.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/v3_purp.c:70:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[5/408] Compiling v3_purp.c
[5/408] Compiling CCryptoBoringSSLShims shims.c
[5/408] Compiling v3_pmaps.c
[5/408] Compiling v3_prn.c
[5/408] Compiling v3_pcia.c
[5/408] Compiling v3_pcons.c
[5/408] Compiling v3_utl.c
[5/408] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm