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 UniversalCharsetDetection, reference master (ca1b4b), with Swift 6.1 for Wasm on 27 May 2025 14:17:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/fumoboy007/UniversalCharsetDetection.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/fumoboy007/UniversalCharsetDetection
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ca1b4b1 Use the `v1` branch of `github-wiki-publish-action` instead of `master`.
Submodule path 'uchardet': checked out 'bdfd6116a965fd210ef563613763e724424728b7'
Submodule 'uchardet' (git://cgit.freedesktop.org/uchardet/uchardet/) registered for path 'uchardet'
Cloning into '/host/spi-builder-workspace/uchardet'...
Cloned https://github.com/fumoboy007/UniversalCharsetDetection.git
Revision (git rev-parse @):
ca1b4b1931fb60c56aa5f85e61ac5d061e57a83a
SUCCESS checkout https://github.com/fumoboy007/UniversalCharsetDetection.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/fumoboy007/UniversalCharsetDetection.git
https://github.com/fumoboy007/UniversalCharsetDetection.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UniversalCharsetDetection",
  "name" : "UniversalCharsetDetection",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "UniversalCharsetDetection",
      "targets" : [
        "UniversalCharsetDetection"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "UniversalCharsetDetectionTests",
      "module_type" : "SwiftTarget",
      "name" : "UniversalCharsetDetectionTests",
      "path" : "Tests/UniversalCharsetDetectionTests",
      "sources" : [
        "CharacterEncodingDetectorFileTests.swift",
        "CharacterEncodingDetectorTests.swift",
        "DataProtocolCharacterEncodingTests.swift"
      ],
      "target_dependencies" : [
        "UniversalCharsetDetection"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UniversalCharsetDetection",
      "module_type" : "SwiftTarget",
      "name" : "UniversalCharsetDetection",
      "path" : "Sources/UniversalCharsetDetection",
      "product_memberships" : [
        "UniversalCharsetDetection"
      ],
      "sources" : [
        "CharacterEncodingDetector+File.swift",
        "CharacterEncodingDetector.swift",
        "DataProtocol+CharacterEncoding.swift"
      ],
      "target_dependencies" : [
        "Cuchardet"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Cuchardet",
      "module_type" : "ClangTarget",
      "name" : "Cuchardet",
      "path" : "Sources/Cuchardet",
      "product_memberships" : [
        "UniversalCharsetDetection"
      ],
      "sources" : [
        "CharDistribution.cpp",
        "JpCntx.cpp",
        "LangModels/LangArabicModel.cpp",
        "LangModels/LangBulgarianModel.cpp",
        "LangModels/LangCroatianModel.cpp",
        "LangModels/LangCzechModel.cpp",
        "LangModels/LangDanishModel.cpp",
        "LangModels/LangEsperantoModel.cpp",
        "LangModels/LangEstonianModel.cpp",
        "LangModels/LangFinnishModel.cpp",
        "LangModels/LangFrenchModel.cpp",
        "LangModels/LangGermanModel.cpp",
        "LangModels/LangGreekModel.cpp",
        "LangModels/LangHebrewModel.cpp",
        "LangModels/LangHungarianModel.cpp",
        "LangModels/LangIrishModel.cpp",
        "LangModels/LangItalianModel.cpp",
        "LangModels/LangLatvianModel.cpp",
        "LangModels/LangLithuanianModel.cpp",
        "LangModels/LangMalteseModel.cpp",
        "LangModels/LangPolishModel.cpp",
        "LangModels/LangPortugueseModel.cpp",
        "LangModels/LangRomanianModel.cpp",
        "LangModels/LangRussianModel.cpp",
        "LangModels/LangSlovakModel.cpp",
        "LangModels/LangSloveneModel.cpp",
        "LangModels/LangSpanishModel.cpp",
        "LangModels/LangSwedishModel.cpp",
        "LangModels/LangThaiModel.cpp",
        "LangModels/LangTurkishModel.cpp",
        "LangModels/LangVietnameseModel.cpp",
        "nsBig5Prober.cpp",
        "nsCharSetProber.cpp",
        "nsEUCJPProber.cpp",
        "nsEUCKRProber.cpp",
        "nsEUCTWProber.cpp",
        "nsEscCharsetProber.cpp",
        "nsEscSM.cpp",
        "nsGB2312Prober.cpp",
        "nsHebrewProber.cpp",
        "nsLatin1Prober.cpp",
        "nsMBCSGroupProber.cpp",
        "nsMBCSSM.cpp",
        "nsSBCSGroupProber.cpp",
        "nsSBCharSetProber.cpp",
        "nsSJISProber.cpp",
        "nsUTF8Prober.cpp",
        "nsUniversalDetector.cpp",
        "uchardet.cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Building for debugging...
[0/51] Compiling LangCzechModel.cpp
[0/51] Write sources
[2/51] Compiling LangBulgarianModel.cpp
[3/51] Compiling LangArabicModel.cpp
[4/51] Compiling Cuchardet nsUTF8Prober.cpp
[5/51] Compiling Cuchardet JpCntx.cpp
[6/51] Compiling Cuchardet nsMBCSSM.cpp
[7/51] Compiling Cuchardet nsUniversalDetector.cpp
[8/51] Compiling Cuchardet nsSBCSGroupProber.cpp
[9/51] Compiling Cuchardet nsSJISProber.cpp
[9/51] Compiling Cuchardet nsSBCharSetProber.cpp
[9/51] Compiling Cuchardet uchardet.cpp
[12/51] Write swift-version-24593BA9C3E375BF.txt
[13/51] Compiling LangCroatianModel.cpp
[14/51] Compiling Cuchardet nsLatin1Prober.cpp
[14/51] Compiling Cuchardet nsMBCSGroupProber.cpp
[16/51] Compiling Cuchardet nsGB2312Prober.cpp
[17/51] Compiling Cuchardet nsHebrewProber.cpp
[18/51] Compiling Cuchardet nsEUCTWProber.cpp
[19/51] Compiling Cuchardet nsEscSM.cpp
[20/51] Compiling Cuchardet nsEUCJPProber.cpp
[20/51] Compiling Cuchardet nsEUCKRProber.cpp
[20/51] Compiling LangVietnameseModel.cpp
[23/51] Compiling Cuchardet nsEscCharsetProber.cpp
[24/51] Compiling Cuchardet nsBig5Prober.cpp
[25/51] Compiling LangTurkishModel.cpp
[26/51] Compiling Cuchardet nsCharSetProber.cpp
[27/51] Compiling LangSwedishModel.cpp
[28/51] Compiling LangThaiModel.cpp
[29/51] Compiling LangSpanishModel.cpp
[29/51] Compiling LangRussianModel.cpp
[31/51] Compiling LangRomanianModel.cpp
[32/51] Compiling LangSlovakModel.cpp
[33/51] Compiling LangSloveneModel.cpp
[34/51] Compiling LangLithuanianModel.cpp
[35/51] Compiling LangMalteseModel.cpp
[36/51] Compiling LangPortugueseModel.cpp
[36/51] Compiling LangLatvianModel.cpp
[38/51] Compiling LangIrishModel.cpp
[39/51] Compiling LangHebrewModel.cpp
[40/51] Compiling LangPolishModel.cpp
[41/51] Compiling LangHungarianModel.cpp
[42/51] Compiling LangFrenchModel.cpp
[43/51] Compiling LangGermanModel.cpp
[44/51] Compiling LangGreekModel.cpp
[45/51] Compiling LangItalianModel.cpp
[46/51] Compiling LangEstonianModel.cpp
[47/51] Compiling LangFinnishModel.cpp
[48/51] Compiling LangEsperantoModel.cpp
[49/51] Compiling LangDanishModel.cpp
[50/51] Compiling Cuchardet CharDistribution.cpp
[52/55] Compiling UniversalCharsetDetection DataProtocol+CharacterEncoding.swift
/host/spi-builder-workspace/Sources/UniversalCharsetDetection/CharacterEncodingDetector+File.swift:23:8: error: no such module 'Dispatch'
 21 | // SOFTWARE.
 22 |
 23 | import Dispatch
    |        `- error: no such module 'Dispatch'
 24 | import Foundation
 25 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/55] Emitting module UniversalCharsetDetection
/host/spi-builder-workspace/Sources/UniversalCharsetDetection/CharacterEncodingDetector+File.swift:23:8: error: no such module 'Dispatch'
 21 | // SOFTWARE.
 22 |
 23 | import Dispatch
    |        `- error: no such module 'Dispatch'
 24 | import Foundation
 25 |
[54/55] Compiling UniversalCharsetDetection CharacterEncodingDetector+File.swift
/host/spi-builder-workspace/Sources/UniversalCharsetDetection/CharacterEncodingDetector+File.swift:23:8: error: no such module 'Dispatch'
 21 | // SOFTWARE.
 22 |
 23 | import Dispatch
    |        `- error: no such module 'Dispatch'
 24 | import Foundation
 25 |
[55/55] Compiling UniversalCharsetDetection CharacterEncodingDetector.swift
/host/spi-builder-workspace/Sources/UniversalCharsetDetection/CharacterEncodingDetector+File.swift:23:8: error: no such module 'Dispatch'
 21 | // SOFTWARE.
 22 |
 23 | import Dispatch
    |        `- error: no such module 'Dispatch'
 24 | import Foundation
 25 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module UniversalCharsetDetection
/host/spi-builder-workspace/Sources/UniversalCharsetDetection/CharacterEncodingDetector+File.swift:23:8: error: no such module 'Dispatch'
 21 | // SOFTWARE.
 22 |
 23 | import Dispatch
    |        `- error: no such module 'Dispatch'
 24 | import Foundation
 25 |
[3/5] Compiling UniversalCharsetDetection CharacterEncodingDetector.swift
/host/spi-builder-workspace/Sources/UniversalCharsetDetection/CharacterEncodingDetector+File.swift:23:8: error: no such module 'Dispatch'
 21 | // SOFTWARE.
 22 |
 23 | import Dispatch
    |        `- error: no such module 'Dispatch'
 24 | import Foundation
 25 |
[4/5] Compiling UniversalCharsetDetection DataProtocol+CharacterEncoding.swift
/host/spi-builder-workspace/Sources/UniversalCharsetDetection/CharacterEncodingDetector+File.swift:23:8: error: no such module 'Dispatch'
 21 | // SOFTWARE.
 22 |
 23 | import Dispatch
    |        `- error: no such module 'Dispatch'
 24 | import Foundation
 25 |
[5/5] Compiling UniversalCharsetDetection CharacterEncodingDetector+File.swift
/host/spi-builder-workspace/Sources/UniversalCharsetDetection/CharacterEncodingDetector+File.swift:23:8: error: no such module 'Dispatch'
 21 | // SOFTWARE.
 22 |
 23 | import Dispatch
    |        `- error: no such module 'Dispatch'
 24 | import Foundation
 25 |
BUILD FAILURE 6.1 wasm