Build Information
Failed to build OpenGraph, reference main (a2518c
), with Swift 5.10 for Linux on 16 Apr 2025 16:08:55 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.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: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a2518cc Merge pull request #77 from joshbetz/patch-1
Cloned https://github.com/satoshi-takano/OpenGraph.git
Revision (git rev-parse @):
a2518cc4ece43f4463c4132f5c7418c0d261aa36
SUCCESS checkout https://github.com/satoshi-takano/OpenGraph.git at main
========================================
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-4606859-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:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/AliSoftware/OHHTTPStubs
[1/7900] Fetching ohhttpstubs
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (0.51s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (0.63s)
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] Emitting module OpenGraph
[5/11] Compiling OpenGraph OpenGraphParser.swift
[6/11] Compiling OpenGraph OpenGraph.swift
[7/11] Compiling OpenGraph Data.swift
[8/11] Compiling OpenGraph URLSession.swift
[9/11] Compiling OpenGraph String.swift
/host/spi-builder-workspace/Sources/OpenGraph/Extension/String.swift:15:27: error: cannot find 'CFStringConvertIANACharSetNameToEncoding' in scope
let cfe = CFStringConvertIANACharSetNameToEncoding(textEncodingName as CFString)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenGraph/Extension/String.swift:16:27: error: cannot find 'kCFStringEncodingInvalidId' in scope
if cfe != kCFStringEncodingInvalidId {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenGraph/Extension/String.swift:17:30: error: cannot find 'CFStringConvertEncodingToNSStringEncoding' in scope
let se = CFStringConvertEncodingToNSStringEncoding(cfe)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OpenGraph/Extension/String.swift:15:88: error: cannot find type 'CFString' in scope
let cfe = CFStringConvertIANACharSetNameToEncoding(textEncodingName as CFString)
^~~~~~~~
[10/11] Compiling OpenGraph OpenGraphResponseError.swift
[11/11] Compiling OpenGraph OpenGraphParseError.swift
error: fatalError
BUILD FAILURE 5.10 linux