Build Information
Failed to build OpenGraph, reference 1.6.0 (15fa71
), with Swift 5.10 for Linux on 13 Mar 2025 08:30:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path: $PWD
https://github.com/satoshi-takano/OpenGraph.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/AliSoftware/OHHTTPStubs
[1/7894] Fetching ohhttpstubs
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (0.40s)
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...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling OpenGraph OpenGraphMetadata.swift
[4/11] Compiling OpenGraph OpenGraph.swift
[5/11] Compiling OpenGraph OpenGraphParseError.swift
[6/11] Compiling OpenGraph OpenGraphParser.swift
[7/11] 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/11] Compiling OpenGraph Data.swift
[9/11] Compiling OpenGraph URLSession.swift
[10/11] Emitting module OpenGraph
[11/11] Compiling OpenGraph OpenGraphResponseError.swift
error: fatalError
BUILD FAILURE 5.10 linux