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 CryptoOffice, reference 0.1.1 (06be38), with Swift 6.1 for Wasm on 27 May 2025 19:47:35 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/CoreOffice/CryptoOffice.git
Reference: 0.1.1
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/CoreOffice/CryptoOffice
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 06be38e Update `CHANGELOG.md` for the 0.1.1 release
Cloned https://github.com/CoreOffice/CryptoOffice.git
Revision (git rev-parse @):
06be38e0c71cc3ac1cdd75b6c229c1661248efc5
SUCCESS checkout https://github.com/CoreOffice/CryptoOffice.git at 0.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/CoreOffice/CryptoOffice.git
https://github.com/CoreOffice/CryptoOffice.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    },
    {
      "identity" : "xmlcoder",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.11.1",
            "upper_bound" : "0.12.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MaxDesiatov/XMLCoder.git"
    },
    {
      "identity" : "olekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CoreOffice/OLEKit.git"
    },
    {
      "identity" : "zipfoundation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.11",
            "upper_bound" : "0.10.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/weichsel/ZIPFoundation.git"
    }
  ],
  "manifest_display_name" : "CryptoOffice",
  "name" : "CryptoOffice",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "CryptoOffice",
      "targets" : [
        "CryptoOffice"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CryptoOfficeTests",
      "module_type" : "SwiftTarget",
      "name" : "CryptoOfficeTests",
      "path" : "Tests/CryptoOfficeTests",
      "product_dependencies" : [
        "ZIPFoundation"
      ],
      "sources" : [
        "CryptoOfficeTests.swift"
      ],
      "target_dependencies" : [
        "CryptoOffice"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CryptoOffice",
      "module_type" : "SwiftTarget",
      "name" : "CryptoOffice",
      "path" : "Sources/CryptoOffice",
      "product_dependencies" : [
        "Crypto",
        "CryptoSwift",
        "OLEKit",
        "XMLCoder"
      ],
      "product_memberships" : [
        "CryptoOffice"
      ],
      "sources" : [
        "CryptoOfficeError.swift",
        "CryptoOfficeFile.swift",
        "ECMA376Agile.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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/weichsel/ZIPFoundation.git
Fetching https://github.com/MaxDesiatov/XMLCoder.git
Fetching https://github.com/CoreOffice/OLEKit.git
Fetching https://github.com/apple/swift-crypto.git
[1/906] Fetching olekit
[38/10917] Fetching olekit, xmlcoder
[1308/24853] Fetching olekit, xmlcoder, swift-crypto
[1848/30427] Fetching olekit, xmlcoder, swift-crypto, zipfoundation
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (3.06s)
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (3.06s)
Fetched https://github.com/CoreOffice/OLEKit.git from cache (3.41s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.48s)
[1/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.73s)
Computing version for https://github.com/CoreOffice/OLEKit.git
Computed https://github.com/CoreOffice/OLEKit.git at 0.1.0 (6.84s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.11.1 (1.12s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.98s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (1.11s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (1.15s)
Creating working copy for https://github.com/CoreOffice/OLEKit.git
Working copy of https://github.com/CoreOffice/OLEKit.git resolved at 0.1.0
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
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/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.11.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/412] Write sources
[5/412] Copying PrivacyInfo.xcprivacy
[6/412] Compiling a_d2i_fp.c
[7/412] Compiling v3_pmaps.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.
[8/412] Compiling v3_utl.c
[8/412] Compiling v3_pcons.c
[8/412] Compiling CCryptoBoringSSLShims shims.c
[8/412] Compiling v3_prn.c
[8/412] Compiling v3_purp.c
[8/412] Compiling v3_pcia.c
[8/412] Compiling v3_skey.c
[8/412] Write swift-version-24593BA9C3E375BF.txt
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
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
[0/1] Planning build
Building for debugging...
[0/404] Compiling v3_pcons.c
[1/404] Compiling v3_pcia.c
[2/404] Compiling v3_prn.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.
[3/404] Compiling v3_utl.c
[3/404] Compiling v3_ncons.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>
      |          ^~~~~~~~~~~
[3/404] Compiling v3_purp.c
[3/404] Compiling v3_pci.c
[3/404] Compiling CCryptoBoringSSLShims shims.c
[3/404] Compiling v3_ocsp.c
[3/404] Write swift-version-24593BA9C3E375BF.txt
[3/404] Compiling v3_skey.c
BUILD FAILURE 6.1 wasm