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

Failed to build OpenGraph, reference 1.6.0 (15fa71), with Swift 5.9 for Linux on 13 Mar 2025 08:32:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/satoshi-takano/OpenGraph.git
Reference: 1.6.0
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/satoshi-takano/OpenGraph
 * tag               1.6.0      -> FETCH_HEAD
HEAD is now at 15fa71b Merge pull request #74 from satoshi-takano/bump_up_version
Cloned https://github.com/satoshi-takano/OpenGraph.git
Revision (git rev-parse @):
15fa71b31cf85695cf7035a077aaa624f679f53a
SUCCESS checkout https://github.com/satoshi-takano/OpenGraph.git at 1.6.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/satoshi-takano/OpenGraph.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/AliSoftware/OHHTTPStubs
[1/7894] Fetching ohhttpstubs
Fetched https://github.com/AliSoftware/OHHTTPStubs (0.39s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (0.39s)
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs
Working copy of https://github.com/AliSoftware/OHHTTPStubs resolved at 9.1.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/Info.plist
Building for debugging...
[1/8] Emitting module OpenGraph
[2/9] Compiling OpenGraph OpenGraphResponseError.swift
[3/9] Compiling OpenGraph OpenGraphParser.swift
[4/9] Compiling OpenGraph OpenGraph.swift
[5/9] Compiling OpenGraph URLSession.swift
[6/9] Compiling OpenGraph Data.swift
[7/9] Compiling OpenGraph String.swift
/host/spi-builder-workspace/Sources/OpenGraph/Extension/String.swift:16:27: error: cannot find 'CFStringConvertIANACharSetNameToEncoding' in scope
                let cfe = CFStringConvertIANACharSetNameToEncoding(textEncodingName as CFString)
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenGraph/Extension/String.swift:17:27: error: cannot find 'kCFStringEncodingInvalidId' in scope
                if cfe != kCFStringEncodingInvalidId {
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenGraph/Extension/String.swift:18:30: error: cannot find 'CFStringConvertEncodingToNSStringEncoding' in scope
                    let se = CFStringConvertEncodingToNSStringEncoding(cfe)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenGraph/Extension/String.swift:16:88: error: cannot find type 'CFString' in scope
                let cfe = CFStringConvertIANACharSetNameToEncoding(textEncodingName as CFString)
                                                                                       ^~~~~~~~
[8/9] Compiling OpenGraph OpenGraphMetadata.swift
[9/9] Compiling OpenGraph OpenGraphParseError.swift
error: fatalError
BUILD FAILURE 5.9 linux