The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TweetupKit, reference 0.2.3 (b2f005), with Swift 6.1 for Wasm on 27 May 2025 08:14:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/swift-tweets/tweetup-kit.git
Reference: 0.2.3
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/swift-tweets/tweetup-kit
 * tag               0.2.3      -> FETCH_HEAD
HEAD is now at b2f005e Update PromiseK for Swift 4.1
Cloned https://github.com/swift-tweets/tweetup-kit.git
Revision (git rev-parse @):
b2f005e880a9999342c17cbd397fae91cef73e97
SUCCESS checkout https://github.com/swift-tweets/tweetup-kit.git at 0.2.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swift-tweets/tweetup-kit.git
https://github.com/swift-tweets/tweetup-kit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "promisek",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0-alpha",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/koher/PromiseK.git"
    },
    {
      "identity" : "oauthswift",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OAuthSwift/OAuthSwift.git"
    }
  ],
  "manifest_display_name" : "TweetupKit",
  "name" : "TweetupKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TweetupKit",
      "targets" : [
        "TweetupKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TweetupKitTests",
      "module_type" : "SwiftTarget",
      "name" : "TweetupKitTests",
      "path" : "Tests/TweetupKitTests",
      "product_dependencies" : [
        "PromiseK",
        "OAuthSwift"
      ],
      "sources" : [
        "ArrayExtensionsTests.swift",
        "AsyncTests.swift",
        "CodeTests.swift",
        "GeneralError.swift",
        "GistTests.swift",
        "ImageTests.swift",
        "ParserTests.swift",
        "SpeakerTests.swift",
        "TweetTests.swift",
        "TweetupKitTests.swift",
        "TwitterTests.swift"
      ],
      "target_dependencies" : [
        "TweetupKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TweetupKit",
      "module_type" : "SwiftTarget",
      "name" : "TweetupKit",
      "path" : "Sources/TweetupKit",
      "product_dependencies" : [
        "PromiseK",
        "OAuthSwift"
      ],
      "product_memberships" : [
        "TweetupKit"
      ],
      "sources" : [
        "APIError.swift",
        "ArrayExtensions.swift",
        "ArraySliceExtensions.swift",
        "Async.swift",
        "Code.swift",
        "CodeRenderer.swift",
        "Gist.swift",
        "Image.swift",
        "Language.swift",
        "NSRegularExpressionExtensions.swift",
        "NSTextCheckingResultExtensions.swift",
        "OAuthCredential.swift",
        "Parser.swift",
        "Speaker.swift",
        "StringExtensions.swift",
        "Tweet.swift",
        "Twitter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/OAuthSwift/OAuthSwift.git
[1/5134] Fetching oauthswift
Fetched https://github.com/OAuthSwift/OAuthSwift.git from cache (0.87s)
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/koher/PromiseK.git
Fetching https://github.com/tid-kijyun/Kanna.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/phimage/Erik.git
[1/642] Fetching erik
[509/1171] Fetching erik, promisek
[977/7221] Fetching erik, promisek, swifter
[2745/9578] Fetching erik, promisek, swifter, kanna
Fetched https://github.com/phimage/Erik.git from cache (0.28s)
[4520/8936] Fetching promisek, swifter, kanna
[4702/22872] Fetching promisek, swifter, kanna, swift-crypto
Fetched https://github.com/httpswift/swifter.git from cache (0.94s)
[6370/16822] Fetching promisek, kanna, swift-crypto
Fetched https://github.com/koher/PromiseK.git from cache (1.86s)
Fetched https://github.com/tid-kijyun/Kanna.git from cache (1.87s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.89s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (2.38s)
Computing version for https://github.com/phimage/Erik.git
Computed https://github.com/phimage/Erik.git at 5.1.0 (0.52s)
Fetching https://github.com/Thomvis/BrightFutures.git
Fetching https://github.com/nvzqz/FileKit.git
[1/4067] Fetching brightfutures
[3702/7190] Fetching brightfutures, filekit
Fetched https://github.com/nvzqz/FileKit.git from cache (0.73s)
Fetched https://github.com/Thomvis/BrightFutures.git from cache (0.76s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.1.0 (1.30s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.2.0 (0.54s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.3.0 (0.48s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.51s)
Computing version for https://github.com/koher/PromiseK.git
Computed https://github.com/koher/PromiseK.git at 3.1.1 (3.09s)
Creating working copy for https://github.com/tid-kijyun/Kanna.git
Working copy of https://github.com/tid-kijyun/Kanna.git resolved at 5.3.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
Creating working copy for https://github.com/OAuthSwift/OAuthSwift.git
Working copy of https://github.com/OAuthSwift/OAuthSwift.git resolved at master (fe6b6a4)
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 6.1.0
Creating working copy for https://github.com/koher/PromiseK.git
Working copy of https://github.com/koher/PromiseK.git resolved at 3.1.1
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
Creating working copy for https://github.com/phimage/Erik.git
Working copy of https://github.com/phimage/Erik.git resolved at 5.1.0
Creating working copy for https://github.com/Thomvis/BrightFutures.git
Working copy of https://github.com/Thomvis/BrightFutures.git resolved at 8.2.0
Building for debugging...
[0/410] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bytestring/ber.c:21:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bytestring/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[4/410] Compiling ber.c
[4/410] Compiling CCryptoBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bytestring/cbb.c:23:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bytestring/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
[4/410] Compiling cbb.c
[4/410] Compiling a_bitstr.c
[4/410] Compiling a_d2i_fp.c
[4/410] Compiling a_bool.c
[4/410] Compiling a_octet.c
[4/410] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/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.
[0/406] Compiling v3_purp.c
[0/406] Compiling v3_prn.c
[0/406] Compiling v3_pmaps.c
[0/406] Compiling v3_pcons.c
[0/406] Compiling v3_skey.c
[0/406] Compiling CCryptoBoringSSLShims shims.c
[0/406] Compiling v3_utl.c
[0/406] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm