The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of UniversalCharsetDetection, reference master (ca1b4b), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 05:30:19 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fumoboy007/UniversalCharsetDetection.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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 '/Users/admin/builder/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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "universalcharsetdetection",
      "name": "UniversalCharsetDetection",
      "url": "https://github.com/fumoboy007/UniversalCharsetDetection.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UniversalCharsetDetection",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/fumoboy007/UniversalCharsetDetection.git
[1/131] Fetching universalcharsetdetection
Fetched https://github.com/fumoboy007/UniversalCharsetDetection.git from cache (0.72s)
Creating working copy for https://github.com/fumoboy007/UniversalCharsetDetection.git
Working copy of https://github.com/fumoboy007/UniversalCharsetDetection.git resolved at master (ca1b4b1)
warning: '.resolve-product-dependencies': dependency 'universalcharsetdetection' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/fumoboy007/UniversalCharsetDetection.git
https://github.com/fumoboy007/UniversalCharsetDetection.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UniversalCharsetDetection",
  "name" : "UniversalCharsetDetection",
  "path" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/51] Compiling LangEsperantoModel.cpp
[0/51] Compiling LangDanishModel.cpp
[0/51] Compiling LangCzechModel.cpp
[0/51] Compiling LangEstonianModel.cpp
[4/51] Write sources
[5/51] Compiling LangBulgarianModel.cpp
[5/51] Compiling LangFrenchModel.cpp
[7/51] Compiling LangArabicModel.cpp
[7/51] Compiling LangLithuanianModel.cpp
[7/51] Compiling LangCroatianModel.cpp
[10/51] Compiling LangFinnishModel.cpp
[11/51] Compiling Cuchardet nsMBCSSM.cpp
[12/51] Compiling Cuchardet nsUTF8Prober.cpp
[13/51] Compiling Cuchardet nsSJISProber.cpp
[14/51] Compiling Cuchardet nsUniversalDetector.cpp
[15/51] Compiling Cuchardet nsMBCSGroupProber.cpp
[15/51] Compiling Cuchardet nsSBCharSetProber.cpp
[17/51] Compiling Cuchardet nsLatin1Prober.cpp
[18/51] Compiling Cuchardet nsSBCSGroupProber.cpp
[19/51] Compiling Cuchardet nsGB2312Prober.cpp
[20/51] Compiling Cuchardet nsHebrewProber.cpp
[21/51] Compiling Cuchardet nsEscSM.cpp
[22/51] Compiling Cuchardet nsEscCharsetProber.cpp
[23/51] Compiling Cuchardet nsEUCTWProber.cpp
[24/51] Compiling Cuchardet nsEUCKRProber.cpp
[25/51] Compiling LangTurkishModel.cpp
[26/51] Compiling Cuchardet nsEUCJPProber.cpp
[27/51] Compiling LangVietnameseModel.cpp
[28/51] Compiling Cuchardet nsBig5Prober.cpp
[29/51] Compiling LangThaiModel.cpp
[30/51] Compiling Cuchardet nsCharSetProber.cpp
[31/51] Compiling LangSwedishModel.cpp
[32/51] Compiling LangSpanishModel.cpp
[33/51] Compiling LangRomanianModel.cpp
[34/51] Compiling LangSloveneModel.cpp
[35/51] Compiling LangSlovakModel.cpp
[36/51] Compiling LangRussianModel.cpp
[37/51] Compiling LangPortugueseModel.cpp
[38/51] Compiling LangPolishModel.cpp
[39/51] Compiling Cuchardet uchardet.cpp
[40/51] Write swift-version-2F0A5646E1D333AE.txt
[41/51] Compiling LangMalteseModel.cpp
[42/51] Compiling LangLatvianModel.cpp
[43/51] Compiling LangHungarianModel.cpp
[44/51] Compiling LangItalianModel.cpp
[45/51] Compiling LangIrishModel.cpp
[46/51] Compiling LangHebrewModel.cpp
[47/51] Compiling LangGreekModel.cpp
[48/51] Compiling LangGermanModel.cpp
[49/51] Compiling Cuchardet JpCntx.cpp
[50/51] Compiling Cuchardet CharDistribution.cpp
[52/55] Compiling UniversalCharsetDetection DataProtocol+CharacterEncoding.swift
[53/55] Compiling UniversalCharsetDetection CharacterEncodingDetector.swift
[54/55] Emitting module UniversalCharsetDetection
[55/55] Compiling UniversalCharsetDetection CharacterEncodingDetector+File.swift
/Users/admin/builder/spi-builder-workspace/Sources/UniversalCharsetDetection/CharacterEncodingDetector+File.swift:118:13: warning: capture of 'completionHandler' with non-sendable type '(String?) -> Void' in a '@Sendable' closure
116 |          let characterEncoding = detector.finish()
117 |          completionQueue.async {
118 |             completionHandler(characterEncoding)
    |             |- warning: capture of 'completionHandler' with non-sendable type '(String?) -> Void' in a '@Sendable' closure
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
119 |          }
120 |       }
Build complete! (4.07s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UniversalCharsetDetection",
  "name" : "UniversalCharsetDetection",
  "path" : "/Users/admin/builder/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"
}
Done.