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 aws-signer-v4, reference master (2e2053), with Swift 6.1 for Wasm on 27 May 2025 19:33:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/adam-fowler/aws-signer-v4.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/adam-fowler/aws-signer-v4
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2e20532 Make sure urls have trailing slashes (#6)
Cloned https://github.com/adam-fowler/aws-signer-v4.git
Revision (git rev-parse @):
2e205327f842f808340e7e40eee3f9dec7e1f649
SUCCESS checkout https://github.com/adam-fowler/aws-signer-v4.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/adam-fowler/aws-signer-v4.git
https://github.com/adam-fowler/aws-signer-v4.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.13.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    }
  ],
  "manifest_display_name" : "aws-signer-v4",
  "name" : "aws-signer-v4",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AWSSigner",
      "targets" : [
        "AWSSigner"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AWSSignerTests",
      "module_type" : "SwiftTarget",
      "name" : "AWSSignerTests",
      "path" : "Tests/AWSSignerTests",
      "sources" : [
        "AWSSignerTests.swift"
      ],
      "target_dependencies" : [
        "AWSSigner"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AWSSigner",
      "module_type" : "SwiftTarget",
      "name" : "AWSSigner",
      "path" : "Sources/AWSSigner",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1"
      ],
      "product_memberships" : [
        "AWSSigner"
      ],
      "sources" : [
        "credentials.swift",
        "signer.swift"
      ],
      "target_dependencies" : [
        "AWSCrypto"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AWSCrypto",
      "module_type" : "SwiftTarget",
      "name" : "AWSCrypto",
      "path" : "Sources/AWSCrypto",
      "product_dependencies" : [
        "Crypto"
      ],
      "product_memberships" : [
        "AWSSigner"
      ],
      "sources" : [
        "ByteArray.swift",
        "Digest.swift",
        "HMAC.swift",
        "HashFunction.swift",
        "Insecure.swift",
        "MD5.swift",
        "SHA2.swift",
        "SymmetricKey.swift",
        "exports.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio
[1/13936] Fetching swift-crypto
[2510/89991] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (5.59s)
Fetched https://github.com/apple/swift-nio from cache (5.67s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (7.18s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (1.53s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1710] Fetching swift-atomics
[1711/6101] Fetching swift-atomics, swift-system
[3424/22692] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.94s)
Fetched https://github.com/apple/swift-system.git from cache (0.94s)
[4314/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.64s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.82s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.73s)
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 1.1.7
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-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.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.4.2
Building for debugging...
[0/432] Write sources
[5/432] Compiling a_bool.c
[6/432] Write sources
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.
[8/432] Compiling a_enum.c
[8/432] Compiling ecdh_extra.c
[8/432] Compiling conf.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[8/432] Compiling a_bitstr.c
[8/432] Compiling a_d2i_fp.c
[8/432] Compiling _AtomicsShims.c
[8/432] Compiling a_dup.c
[8/432] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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...
[0/424] Write sources
[7/424] Compiling CNIOWindows shim.c
[8/424] Compiling CNIOWASI CNIOWASI.c
[9/424] Compiling _AtomicsShims.c
[10/424] Compiling CNIOWindows WSAStartup.c
[11/424] Compiling CNIOLinux liburing_shims.c
[12/424] Compiling CNIODarwin shim.c
[13/424] Compiling CNIOLLHTTP c_nio_api.c
[14/424] Compiling CNIOLLHTTP c_nio_http.c
[15/424] Compiling CNIOLinux shim.c
[16/424] Compiling v3_skey.c
[17/424] Compiling CCryptoBoringSSLShims shims.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>
      |          ^~~~~~~~~~~
1 error generated.
[18/424] Compiling v3_utl.c
[18/424] Compiling v3_pmaps.c
[18/424] Compiling c-atomics.c
[18/424] Compiling c-nioatomics.c
[18/424] Compiling v3_purp.c
[18/424] Compiling v3_prn.c
[18/424] Compiling CNIOLLHTTP c_nio_llhttp.c
[18/424] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm