The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AwsSign, reference master (ce71b8), with Swift 6.1 for Wasm on 27 May 2025 16:59:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/nikola-mladenovic/AwsSwiftSign.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/nikola-mladenovic/AwsSwiftSign
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ce71b88 Swift 5.2
Cloned https://github.com/nikola-mladenovic/AwsSwiftSign.git
Revision (git rev-parse @):
ce71b88cbe5f8c5f00b573ad687615f681402dd7
SUCCESS checkout https://github.com/nikola-mladenovic/AwsSwiftSign.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nikola-mladenovic/AwsSwiftSign.git
https://github.com/nikola-mladenovic/AwsSwiftSign.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    }
  ],
  "manifest_display_name" : "AwsSign",
  "name" : "AwsSign",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AwsSign",
      "targets" : [
        "AwsSign"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "AwsSign",
      "module_type" : "SwiftTarget",
      "name" : "AwsSign",
      "path" : "Source",
      "product_dependencies" : [
        "CryptoSwift"
      ],
      "product_memberships" : [
        "AwsSign"
      ],
      "sources" : [
        "AwsSign.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.62s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (2.81s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Building for debugging...
[0/4] Copying PrivacyInfo.xcprivacy
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/105] Compiling CryptoSwift XChaCha20+Foundation.swift
[6/105] Compiling CryptoSwift Generics.swift
[7/105] Compiling CryptoSwift HKDF.swift
[8/105] Compiling CryptoSwift HMAC.swift
[9/105] Compiling CryptoSwift ISO10126Padding.swift
[10/105] Compiling CryptoSwift ISO78164Padding.swift
[11/105] Compiling CryptoSwift Int+Extension.swift
[12/105] Compiling CryptoSwift MD5.swift
[13/105] Compiling CryptoSwift NoPadding.swift
[14/105] Compiling CryptoSwift Operators.swift
[15/105] Compiling CryptoSwift DER.swift
[16/105] Compiling CryptoSwift PBKDF1.swift
[17/105] Compiling CryptoSwift PBKDF2.swift
[18/105] Compiling CryptoSwift PKCS1v15.swift
[19/119] Compiling CryptoSwift IntegerConversion.swift
[20/119] Compiling CryptoSwift Multiplication.swift
[21/119] Compiling CryptoSwift PrimeTest.swift
[22/119] Compiling CryptoSwift Random.swift
[23/119] Compiling CryptoSwift Shifts.swift
[24/119] Compiling CryptoSwift SquareRoot.swift
[25/119] Compiling CryptoSwift Strideable.swift
[26/119] Compiling CryptoSwift StringConversion.swift
[27/119] Compiling CryptoSwift Subtraction.swift
[28/119] Compiling CryptoSwift WordsAndBits.swift
[29/119] Compiling CryptoSwift ChaCha20.swift
[30/119] Compiling CryptoSwift Checksum.swift
[31/119] Compiling CryptoSwift Cipher.swift
[32/119] Compiling CryptoSwift Collection+Extension.swift
[33/119] Compiling CryptoSwift CompactMap.swift
[34/119] Compiling CryptoSwift Cryptor.swift
[35/119] Compiling CryptoSwift Cryptors.swift
[36/119] Compiling CryptoSwift Digest.swift
[37/119] Compiling CryptoSwift DigestType.swift
[38/119] Compiling CryptoSwift AES+Foundation.swift
[39/119] Compiling CryptoSwift Array+Foundation.swift
[40/119] Compiling CryptoSwift Blowfish+Foundation.swift
[41/119] Compiling CryptoSwift ChaCha20+Foundation.swift
[42/119] Compiling CryptoSwift Data+Extension.swift
[43/119] Compiling CryptoSwift HMAC+Foundation.swift
[44/119] Compiling CryptoSwift Rabbit+Foundation.swift
[45/119] Compiling CryptoSwift String+FoundationExtension.swift
[46/119] Compiling CryptoSwift Utils+Foundation.swift
[47/119] Compiling CryptoSwift CMAC.swift
[48/119] Compiling CryptoSwift Addition.swift
[49/119] Compiling CryptoSwift BigInt.swift
[50/119] Compiling CryptoSwift BigUInt.swift
[51/119] Compiling CryptoSwift BitwiseOps.swift
[52/119] Compiling CryptoSwift CS.swift
[53/119] Compiling CryptoSwift Codable.swift
[54/119] Compiling CryptoSwift Comparable.swift
[55/119] Compiling CryptoSwift DataConversion.swift
[56/119] Compiling CryptoSwift Division.swift
[57/119] Compiling CryptoSwift Exponentiation.swift
[58/119] Compiling CryptoSwift FloatingPointConversion.swift
[59/119] Compiling CryptoSwift GCD.swift
[60/119] Compiling CryptoSwift Hashable.swift
[61/119] Compiling CryptoSwift BlockEncryptor.swift
[62/119] Compiling CryptoSwift BlockMode.swift
[63/119] Compiling CryptoSwift BlockModeOptions.swift
[64/119] Compiling CryptoSwift CBC.swift
[65/119] Compiling CryptoSwift CCM.swift
[66/119] Compiling CryptoSwift CFB.swift
[67/119] Compiling CryptoSwift CTR.swift
[68/119] Compiling CryptoSwift CipherModeWorker.swift
[69/119] Compiling CryptoSwift ECB.swift
[70/119] Compiling CryptoSwift GCM.swift
[71/119] Compiling CryptoSwift OCB.swift
[72/119] Compiling CryptoSwift OFB.swift
[73/119] Compiling CryptoSwift PCBC.swift
[74/119] Compiling CryptoSwift Blowfish.swift
[75/119] Compiling CryptoSwift CBCMAC.swift
[76/119] Emitting module CryptoSwift
[77/119] Compiling CryptoSwift AEAD.swift
[78/119] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[79/119] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[80/119] Compiling CryptoSwift AES.Cryptors.swift
[81/119] Compiling CryptoSwift AES.swift
[82/119] Compiling CryptoSwift ASN1.swift
[83/119] Compiling CryptoSwift ASN1Decoder.swift
[84/119] Compiling CryptoSwift ASN1Encoder.swift
[85/119] Compiling CryptoSwift ASN1Scanner.swift
[86/119] Compiling CryptoSwift Array+Extension.swift
[87/119] Compiling CryptoSwift Authenticator.swift
[88/119] Compiling CryptoSwift BatchedCollection.swift
[89/119] Compiling CryptoSwift Bit.swift
[90/119] Compiling CryptoSwift BlockCipher.swift
[91/119] Compiling CryptoSwift BlockDecryptor.swift
[92/119] Compiling CryptoSwift Signature.swift
[93/119] Compiling CryptoSwift StreamDecryptor.swift
[94/119] Compiling CryptoSwift StreamEncryptor.swift
[95/119] Compiling CryptoSwift String+Extension.swift
[96/119] Compiling CryptoSwift UInt128.swift
[97/119] Compiling CryptoSwift UInt16+Extension.swift
[98/119] Compiling CryptoSwift UInt32+Extension.swift
[99/119] Compiling CryptoSwift UInt64+Extension.swift
[100/119] Compiling CryptoSwift UInt8+Extension.swift
[101/119] Compiling CryptoSwift Updatable.swift
[102/119] Compiling CryptoSwift Utils.swift
[103/119] Compiling CryptoSwift XChaCha20.swift
[104/119] Compiling CryptoSwift ZeroPadding.swift
[105/119] Compiling CryptoSwift resource_bundle_accessor.swift
[106/119] Compiling CryptoSwift PKCS5.swift
[107/119] Compiling CryptoSwift PKCS7.swift
[108/119] Compiling CryptoSwift PKCS7Padding.swift
[109/119] Compiling CryptoSwift Padding.swift
[110/119] Compiling CryptoSwift Poly1305.swift
[111/119] Compiling CryptoSwift RSA+Cipher.swift
[112/119] Compiling CryptoSwift RSA+Signature.swift
[113/119] Compiling CryptoSwift RSA.swift
[114/119] Compiling CryptoSwift Rabbit.swift
[115/119] Compiling CryptoSwift SHA1.swift
[116/119] Compiling CryptoSwift SHA2.swift
[117/119] Compiling CryptoSwift SHA3.swift
[118/119] Compiling CryptoSwift Scrypt.swift
[119/119] Compiling CryptoSwift SecureBytes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[121/122] Emitting module AwsSign
/host/spi-builder-workspace/Source/AwsSign.swift:7:18: error: cannot find type 'URLRequest' in scope
 5 | import CryptoSwift
 6 |
 7 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 8 |     private static let kHMACShaTypeString = "AWS4-HMAC-SHA256"
 9 |     private static let kAWS4Request = "aws4_request"
[122/122] Compiling AwsSign AwsSign.swift
/host/spi-builder-workspace/Source/AwsSign.swift:7:18: error: cannot find type 'URLRequest' in scope
 5 | import CryptoSwift
 6 |
 7 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 8 |     private static let kHMACShaTypeString = "AWS4-HMAC-SHA256"
 9 |     private static let kAWS4Request = "aws4_request"
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: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/1] Write swift-version-24593BA9C3E375BF.txt
[2/102] Compiling CryptoSwift XChaCha20+Foundation.swift
[3/102] Compiling CryptoSwift Generics.swift
[4/102] Compiling CryptoSwift HKDF.swift
[5/102] Compiling CryptoSwift HMAC.swift
[6/102] Compiling CryptoSwift ISO10126Padding.swift
[7/102] Compiling CryptoSwift ISO78164Padding.swift
[8/102] Compiling CryptoSwift Int+Extension.swift
[9/102] Compiling CryptoSwift MD5.swift
[10/102] Compiling CryptoSwift NoPadding.swift
[11/102] Compiling CryptoSwift Operators.swift
[12/102] Compiling CryptoSwift DER.swift
[13/102] Compiling CryptoSwift PBKDF1.swift
[14/102] Compiling CryptoSwift PBKDF2.swift
[15/102] Compiling CryptoSwift PKCS1v15.swift
[16/116] Compiling CryptoSwift Signature.swift
[17/116] Compiling CryptoSwift StreamDecryptor.swift
[18/116] Compiling CryptoSwift StreamEncryptor.swift
[19/116] Compiling CryptoSwift String+Extension.swift
[20/116] Compiling CryptoSwift UInt128.swift
[21/116] Compiling CryptoSwift UInt16+Extension.swift
[22/116] Compiling CryptoSwift UInt32+Extension.swift
[23/116] Compiling CryptoSwift UInt64+Extension.swift
[24/116] Compiling CryptoSwift UInt8+Extension.swift
[25/116] Compiling CryptoSwift Updatable.swift
[26/116] Compiling CryptoSwift Utils.swift
[27/116] Compiling CryptoSwift XChaCha20.swift
[28/116] Compiling CryptoSwift ZeroPadding.swift
[29/116] Compiling CryptoSwift resource_bundle_accessor.swift
[30/116] Compiling CryptoSwift AEAD.swift
[31/116] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[32/116] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[33/116] Compiling CryptoSwift AES.Cryptors.swift
[34/116] Compiling CryptoSwift AES.swift
[35/116] Compiling CryptoSwift ASN1.swift
[36/116] Compiling CryptoSwift ASN1Decoder.swift
[37/116] Compiling CryptoSwift ASN1Encoder.swift
[38/116] Compiling CryptoSwift ASN1Scanner.swift
[39/116] Compiling CryptoSwift Array+Extension.swift
[40/116] Compiling CryptoSwift Authenticator.swift
[41/116] Compiling CryptoSwift BatchedCollection.swift
[42/116] Compiling CryptoSwift Bit.swift
[43/116] Compiling CryptoSwift BlockCipher.swift
[44/116] Compiling CryptoSwift BlockDecryptor.swift
[45/116] Emitting module CryptoSwift
[46/116] Compiling CryptoSwift BlockEncryptor.swift
[47/116] Compiling CryptoSwift BlockMode.swift
[48/116] Compiling CryptoSwift BlockModeOptions.swift
[49/116] Compiling CryptoSwift CBC.swift
[50/116] Compiling CryptoSwift CCM.swift
[51/116] Compiling CryptoSwift CFB.swift
[52/116] Compiling CryptoSwift CTR.swift
[53/116] Compiling CryptoSwift CipherModeWorker.swift
[54/116] Compiling CryptoSwift ECB.swift
[55/116] Compiling CryptoSwift GCM.swift
[56/116] Compiling CryptoSwift OCB.swift
[57/116] Compiling CryptoSwift OFB.swift
[58/116] Compiling CryptoSwift PCBC.swift
[59/116] Compiling CryptoSwift Blowfish.swift
[60/116] Compiling CryptoSwift CBCMAC.swift
[61/116] Compiling CryptoSwift CompactMap.swift
[62/116] Compiling CryptoSwift Cryptor.swift
[63/116] Compiling CryptoSwift Cryptors.swift
[64/116] Compiling CryptoSwift Digest.swift
[65/116] Compiling CryptoSwift DigestType.swift
[66/116] Compiling CryptoSwift AES+Foundation.swift
[67/116] Compiling CryptoSwift Array+Foundation.swift
[68/116] Compiling CryptoSwift Blowfish+Foundation.swift
[69/116] Compiling CryptoSwift ChaCha20+Foundation.swift
[70/116] Compiling CryptoSwift Data+Extension.swift
[71/116] Compiling CryptoSwift HMAC+Foundation.swift
[72/116] Compiling CryptoSwift Rabbit+Foundation.swift
[73/116] Compiling CryptoSwift String+FoundationExtension.swift
[74/116] Compiling CryptoSwift Utils+Foundation.swift
[75/116] Compiling CryptoSwift IntegerConversion.swift
[76/116] Compiling CryptoSwift Multiplication.swift
[77/116] Compiling CryptoSwift PrimeTest.swift
[78/116] Compiling CryptoSwift Random.swift
[79/116] Compiling CryptoSwift Shifts.swift
[80/116] Compiling CryptoSwift SquareRoot.swift
[81/116] Compiling CryptoSwift Strideable.swift
[82/116] Compiling CryptoSwift StringConversion.swift
[83/116] Compiling CryptoSwift Subtraction.swift
[84/116] Compiling CryptoSwift WordsAndBits.swift
[85/116] Compiling CryptoSwift ChaCha20.swift
[86/116] Compiling CryptoSwift Checksum.swift
[87/116] Compiling CryptoSwift Cipher.swift
[88/116] Compiling CryptoSwift Collection+Extension.swift
[89/116] Compiling CryptoSwift CMAC.swift
[90/116] Compiling CryptoSwift Addition.swift
[91/116] Compiling CryptoSwift BigInt.swift
[92/116] Compiling CryptoSwift BigUInt.swift
[93/116] Compiling CryptoSwift BitwiseOps.swift
[94/116] Compiling CryptoSwift CS.swift
[95/116] Compiling CryptoSwift Codable.swift
[96/116] Compiling CryptoSwift Comparable.swift
[97/116] Compiling CryptoSwift DataConversion.swift
[98/116] Compiling CryptoSwift Division.swift
[99/116] Compiling CryptoSwift Exponentiation.swift
[100/116] Compiling CryptoSwift FloatingPointConversion.swift
[101/116] Compiling CryptoSwift GCD.swift
[102/116] Compiling CryptoSwift Hashable.swift
[103/116] Compiling CryptoSwift PKCS5.swift
[104/116] Compiling CryptoSwift PKCS7.swift
[105/116] Compiling CryptoSwift PKCS7Padding.swift
[106/116] Compiling CryptoSwift Padding.swift
[107/116] Compiling CryptoSwift Poly1305.swift
[108/116] Compiling CryptoSwift RSA+Cipher.swift
[109/116] Compiling CryptoSwift RSA+Signature.swift
[110/116] Compiling CryptoSwift RSA.swift
[111/116] Compiling CryptoSwift Rabbit.swift
[112/116] Compiling CryptoSwift SHA1.swift
[113/116] Compiling CryptoSwift SHA2.swift
[114/116] Compiling CryptoSwift SHA3.swift
[115/116] Compiling CryptoSwift Scrypt.swift
[116/116] Compiling CryptoSwift SecureBytes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[118/119] Emitting module AwsSign
/host/spi-builder-workspace/Source/AwsSign.swift:7:18: error: cannot find type 'URLRequest' in scope
 5 | import CryptoSwift
 6 |
 7 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 8 |     private static let kHMACShaTypeString = "AWS4-HMAC-SHA256"
 9 |     private static let kAWS4Request = "aws4_request"
[119/119] Compiling AwsSign AwsSign.swift
/host/spi-builder-workspace/Source/AwsSign.swift:7:18: error: cannot find type 'URLRequest' in scope
 5 | import CryptoSwift
 6 |
 7 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 8 |     private static let kHMACShaTypeString = "AWS4-HMAC-SHA256"
 9 |     private static let kAWS4Request = "aws4_request"
BUILD FAILURE 6.1 wasm