The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TweetupKit, reference master (b2f005), with Swift 6.1 for Wasm on 27 May 2025 08:13:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-1":/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.57s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/tid-kijyun/Kanna.git
Fetching https://github.com/phimage/Erik.git
Fetching https://github.com/koher/PromiseK.git
Fetching https://github.com/httpswift/swifter.git
[1/529] Fetching promisek
[530/1171] Fetching promisek, erik
[1044/3528] Fetching promisek, erik, kanna
[3529/9578] Fetching promisek, erik, kanna, swifter
[4981/23514] Fetching promisek, erik, kanna, swifter, swift-crypto
Fetched https://github.com/phimage/Erik.git from cache (1.46s)
Fetched https://github.com/koher/PromiseK.git from cache (1.47s)
Fetched https://github.com/tid-kijyun/Kanna.git from cache (1.47s)
Fetched https://github.com/httpswift/swifter.git from cache (1.51s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.51s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (2.06s)
Computing version for https://github.com/phimage/Erik.git
Computed https://github.com/phimage/Erik.git at 5.1.0 (0.54s)
Fetching https://github.com/Thomvis/BrightFutures.git
Fetching https://github.com/nvzqz/FileKit.git
[1/3123] Fetching filekit
[314/7190] Fetching filekit, brightfutures
Fetched https://github.com/nvzqz/FileKit.git from cache (0.60s)
Fetched https://github.com/Thomvis/BrightFutures.git from cache (0.75s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.1.0 (1.31s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.2.0 (0.51s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.3.0 (0.54s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.49s)
Computing version for https://github.com/koher/PromiseK.git
Computed https://github.com/koher/PromiseK.git at 3.1.1 (2.27s)
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/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.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/Thomvis/BrightFutures.git
Working copy of https://github.com/Thomvis/BrightFutures.git resolved at 8.2.0
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/phimage/Erik.git
Working copy of https://github.com/phimage/Erik.git resolved at 5.1.0
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/koher/PromiseK.git
Working copy of https://github.com/koher/PromiseK.git resolved at 3.1.1
Building for debugging...
[0/410] Write sources
[4/410] Compiling poly1305_arm_asm.S
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/poly1305/poly1305_vec.c:23:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/poly1305/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[5/410] Compiling poly1305_vec.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/poly1305/poly1305.c:26:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/poly1305/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[5/410] Compiling poly1305.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/poly1305/poly1305_arm.c:22:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/poly1305/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[5/410] Compiling poly1305_arm.c
[5/410] Compiling x509_vpm.c
[5/410] Compiling x509_vfy.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/pool/pool.c:24:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/pool/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
[5/410] Compiling pool.c
[5/410] Compiling CCryptoBoringSSLShims shims.c
[5/410] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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...
[0/405] Compiling v3_pcons.c
[1/405] Compiling v3_skey.c
[2/405] Compiling v3_pmaps.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.
[3/405] Compiling v3_purp.c
[3/405] Compiling v3_ocsp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/v3_utl.c:73:
/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>
      |          ^~~~~~~~~~~
[3/405] Compiling v3_utl.c
[3/405] Compiling CCryptoBoringSSLShims shims.c
[3/405] Compiling v3_prn.c
[3/405] Compiling v3_pci.c
[3/405] Compiling v3_pcia.c
[3/405] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm