Build Information
Failed to build SmoothReading, reference v0.3.0 (3eccb8), with Swift 6.1 for Linux on 14 Sep 2026 15:40:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PythonShe/Smooth_Reading.git
Reference: v0.3.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/PythonShe/Smooth_Reading
* tag v0.3.0 -> FETCH_HEAD
HEAD is now at 3eccb86 fix(rust,workspace): tolerate EPIPE in the CLI tests, keep pub's OIDC credential for publish only
Cloned https://github.com/PythonShe/Smooth_Reading.git
Revision (git rev-parse @):
3eccb8641fc971d364b4aa34d7f605e961c39d1a
SUCCESS checkout https://github.com/PythonShe/Smooth_Reading.git at v0.3.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/PythonShe/Smooth_Reading.git
https://github.com/PythonShe/Smooth_Reading.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:bebe373f64586285d153a73cebf57004d534988a7110464fd581e50dd24c756b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling SmoothReading SmoothReading.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[4/10] Compiling SmoothReading Tokenizer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:51:28: error: cannot find 'CFStringTokenizerCopyBestStringLanguage' in scope
49 | let utf16Length = text.utf16.distance(from: range.lowerBound, to: range.upperBound)
50 | guard
51 | let detected = CFStringTokenizerCopyBestStringLanguage(
| `- error: cannot find 'CFStringTokenizerCopyBestStringLanguage' in scope
52 | text as CFString, CFRangeMake(utf16Start, utf16Length)) as String?
53 | else { return .current }
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:52:35: error: cannot find 'CFRangeMake' in scope
50 | guard
51 | let detected = CFStringTokenizerCopyBestStringLanguage(
52 | text as CFString, CFRangeMake(utf16Start, utf16Length)) as String?
| `- error: cannot find 'CFRangeMake' in scope
53 | else { return .current }
54 | let language = detected.prefix { $0 != "-" && $0 != "_" }
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:52:25: error: cannot find type 'CFString' in scope
50 | guard
51 | let detected = CFStringTokenizerCopyBestStringLanguage(
52 | text as CFString, CFRangeMake(utf16Start, utf16Length)) as String?
| `- error: cannot find type 'CFString' in scope
53 | else { return .current }
54 | let language = detected.prefix { $0 != "-" && $0 != "_" }
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:61:26: error: cannot find type 'CFString' in scope
59 | in text: String, range: Range<String.Index>, locale: Locale
60 | ) -> [Range<String.Index>] {
61 | let cf = text as CFString
| `- error: cannot find type 'CFString' in scope
62 | let utf16Start = text.utf16.distance(from: text.startIndex, to: range.lowerBound)
63 | let utf16Length = text.utf16.distance(from: range.lowerBound, to: range.upperBound)
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:64:25: error: cannot find 'CFStringTokenizerCreate' in scope
62 | let utf16Start = text.utf16.distance(from: text.startIndex, to: range.lowerBound)
63 | let utf16Length = text.utf16.distance(from: range.lowerBound, to: range.upperBound)
64 | let tokenizer = CFStringTokenizerCreate(
| `- error: cannot find 'CFStringTokenizerCreate' in scope
65 | kCFAllocatorDefault, cf, CFRangeMake(utf16Start, utf16Length),
66 | kCFStringTokenizerUnitWordBoundary, locale as CFLocale)
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:65:13: error: cannot find 'kCFAllocatorDefault' in scope
63 | let utf16Length = text.utf16.distance(from: range.lowerBound, to: range.upperBound)
64 | let tokenizer = CFStringTokenizerCreate(
65 | kCFAllocatorDefault, cf, CFRangeMake(utf16Start, utf16Length),
| `- error: cannot find 'kCFAllocatorDefault' in scope
66 | kCFStringTokenizerUnitWordBoundary, locale as CFLocale)
67 | var ranges: [Range<String.Index>] = []
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:65:38: error: cannot find 'CFRangeMake' in scope
63 | let utf16Length = text.utf16.distance(from: range.lowerBound, to: range.upperBound)
64 | let tokenizer = CFStringTokenizerCreate(
65 | kCFAllocatorDefault, cf, CFRangeMake(utf16Start, utf16Length),
| `- error: cannot find 'CFRangeMake' in scope
66 | kCFStringTokenizerUnitWordBoundary, locale as CFLocale)
67 | var ranges: [Range<String.Index>] = []
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:66:13: error: cannot find 'kCFStringTokenizerUnitWordBoundary' in scope
64 | let tokenizer = CFStringTokenizerCreate(
65 | kCFAllocatorDefault, cf, CFRangeMake(utf16Start, utf16Length),
66 | kCFStringTokenizerUnitWordBoundary, locale as CFLocale)
| `- error: cannot find 'kCFStringTokenizerUnitWordBoundary' in scope
67 | var ranges: [Range<String.Index>] = []
68 | while CFStringTokenizerAdvanceToNextToken(tokenizer) != [] {
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:66:59: error: cannot find type 'CFLocale' in scope
64 | let tokenizer = CFStringTokenizerCreate(
65 | kCFAllocatorDefault, cf, CFRangeMake(utf16Start, utf16Length),
66 | kCFStringTokenizerUnitWordBoundary, locale as CFLocale)
| `- error: cannot find type 'CFLocale' in scope
67 | var ranges: [Range<String.Index>] = []
68 | while CFStringTokenizerAdvanceToNextToken(tokenizer) != [] {
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:68:15: error: cannot find 'CFStringTokenizerAdvanceToNextToken' in scope
66 | kCFStringTokenizerUnitWordBoundary, locale as CFLocale)
67 | var ranges: [Range<String.Index>] = []
68 | while CFStringTokenizerAdvanceToNextToken(tokenizer) != [] {
| `- error: cannot find 'CFStringTokenizerAdvanceToNextToken' in scope
69 | let cfRange = CFStringTokenizerGetCurrentTokenRange(tokenizer)
70 | guard cfRange.location != kCFNotFound, cfRange.length > 0 else { continue }
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:69:27: error: cannot find 'CFStringTokenizerGetCurrentTokenRange' in scope
67 | var ranges: [Range<String.Index>] = []
68 | while CFStringTokenizerAdvanceToNextToken(tokenizer) != [] {
69 | let cfRange = CFStringTokenizerGetCurrentTokenRange(tokenizer)
| `- error: cannot find 'CFStringTokenizerGetCurrentTokenRange' in scope
70 | guard cfRange.location != kCFNotFound, cfRange.length > 0 else { continue }
71 | // ICU reports UTF-16 offsets and happily ends a token in the middle
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:70:39: error: cannot find 'kCFNotFound' in scope
68 | while CFStringTokenizerAdvanceToNextToken(tokenizer) != [] {
69 | let cfRange = CFStringTokenizerGetCurrentTokenRange(tokenizer)
70 | guard cfRange.location != kCFNotFound, cfRange.length > 0 else { continue }
| `- error: cannot find 'kCFNotFound' in scope
71 | // ICU reports UTF-16 offsets and happily ends a token in the middle
72 | // of a grapheme cluster: `我́` (U+6211 U+0301) comes back as the
[5/10] Compiling SmoothReading SmoothToken.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/10] Compiling SmoothReading SmoothOptions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/10] Compiling SmoothReading PlatformViews+SmoothReading.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/10] Compiling SmoothReading Html.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/10] Compiling SmoothReading AttributedString+SmoothReading.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/swift/Sources/SmoothReading/AttributedString+SmoothReading.swift:128:19: error: reference to member 'inlinePresentationIntent' cannot be resolved without a contextual type
126 | public static let defaultFixationAttributes: AttributeContainer = {
127 | var container = AttributeContainer()
128 | container.inlinePresentationIntent = .stronglyEmphasized
| `- error: reference to member 'inlinePresentationIntent' cannot be resolved without a contextual type
129 | return container
130 | }()
[10/10] Emitting module SmoothReading
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/swift/Sources/SmoothReading/AttributedString+SmoothReading.swift:128:19: error: reference to member 'inlinePresentationIntent' cannot be resolved without a contextual type
126 | public static let defaultFixationAttributes: AttributeContainer = {
127 | var container = AttributeContainer()
128 | container.inlinePresentationIntent = .stronglyEmphasized
| `- error: reference to member 'inlinePresentationIntent' cannot be resolved without a contextual type
129 | return container
130 | }()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:bebe373f64586285d153a73cebf57004d534988a7110464fd581e50dd24c756b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling SmoothReading SmoothOptions.swift
[3/9] Compiling SmoothReading SmoothToken.swift
[4/9] Compiling SmoothReading SmoothReading.swift
[5/9] Compiling SmoothReading Tokenizer.swift
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:51:28: error: cannot find 'CFStringTokenizerCopyBestStringLanguage' in scope
49 | let utf16Length = text.utf16.distance(from: range.lowerBound, to: range.upperBound)
50 | guard
51 | let detected = CFStringTokenizerCopyBestStringLanguage(
| `- error: cannot find 'CFStringTokenizerCopyBestStringLanguage' in scope
52 | text as CFString, CFRangeMake(utf16Start, utf16Length)) as String?
53 | else { return .current }
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:52:35: error: cannot find 'CFRangeMake' in scope
50 | guard
51 | let detected = CFStringTokenizerCopyBestStringLanguage(
52 | text as CFString, CFRangeMake(utf16Start, utf16Length)) as String?
| `- error: cannot find 'CFRangeMake' in scope
53 | else { return .current }
54 | let language = detected.prefix { $0 != "-" && $0 != "_" }
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:52:25: error: cannot find type 'CFString' in scope
50 | guard
51 | let detected = CFStringTokenizerCopyBestStringLanguage(
52 | text as CFString, CFRangeMake(utf16Start, utf16Length)) as String?
| `- error: cannot find type 'CFString' in scope
53 | else { return .current }
54 | let language = detected.prefix { $0 != "-" && $0 != "_" }
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:61:26: error: cannot find type 'CFString' in scope
59 | in text: String, range: Range<String.Index>, locale: Locale
60 | ) -> [Range<String.Index>] {
61 | let cf = text as CFString
| `- error: cannot find type 'CFString' in scope
62 | let utf16Start = text.utf16.distance(from: text.startIndex, to: range.lowerBound)
63 | let utf16Length = text.utf16.distance(from: range.lowerBound, to: range.upperBound)
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:64:25: error: cannot find 'CFStringTokenizerCreate' in scope
62 | let utf16Start = text.utf16.distance(from: text.startIndex, to: range.lowerBound)
63 | let utf16Length = text.utf16.distance(from: range.lowerBound, to: range.upperBound)
64 | let tokenizer = CFStringTokenizerCreate(
| `- error: cannot find 'CFStringTokenizerCreate' in scope
65 | kCFAllocatorDefault, cf, CFRangeMake(utf16Start, utf16Length),
66 | kCFStringTokenizerUnitWordBoundary, locale as CFLocale)
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:65:13: error: cannot find 'kCFAllocatorDefault' in scope
63 | let utf16Length = text.utf16.distance(from: range.lowerBound, to: range.upperBound)
64 | let tokenizer = CFStringTokenizerCreate(
65 | kCFAllocatorDefault, cf, CFRangeMake(utf16Start, utf16Length),
| `- error: cannot find 'kCFAllocatorDefault' in scope
66 | kCFStringTokenizerUnitWordBoundary, locale as CFLocale)
67 | var ranges: [Range<String.Index>] = []
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:65:38: error: cannot find 'CFRangeMake' in scope
63 | let utf16Length = text.utf16.distance(from: range.lowerBound, to: range.upperBound)
64 | let tokenizer = CFStringTokenizerCreate(
65 | kCFAllocatorDefault, cf, CFRangeMake(utf16Start, utf16Length),
| `- error: cannot find 'CFRangeMake' in scope
66 | kCFStringTokenizerUnitWordBoundary, locale as CFLocale)
67 | var ranges: [Range<String.Index>] = []
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:66:13: error: cannot find 'kCFStringTokenizerUnitWordBoundary' in scope
64 | let tokenizer = CFStringTokenizerCreate(
65 | kCFAllocatorDefault, cf, CFRangeMake(utf16Start, utf16Length),
66 | kCFStringTokenizerUnitWordBoundary, locale as CFLocale)
| `- error: cannot find 'kCFStringTokenizerUnitWordBoundary' in scope
67 | var ranges: [Range<String.Index>] = []
68 | while CFStringTokenizerAdvanceToNextToken(tokenizer) != [] {
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:66:59: error: cannot find type 'CFLocale' in scope
64 | let tokenizer = CFStringTokenizerCreate(
65 | kCFAllocatorDefault, cf, CFRangeMake(utf16Start, utf16Length),
66 | kCFStringTokenizerUnitWordBoundary, locale as CFLocale)
| `- error: cannot find type 'CFLocale' in scope
67 | var ranges: [Range<String.Index>] = []
68 | while CFStringTokenizerAdvanceToNextToken(tokenizer) != [] {
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:68:15: error: cannot find 'CFStringTokenizerAdvanceToNextToken' in scope
66 | kCFStringTokenizerUnitWordBoundary, locale as CFLocale)
67 | var ranges: [Range<String.Index>] = []
68 | while CFStringTokenizerAdvanceToNextToken(tokenizer) != [] {
| `- error: cannot find 'CFStringTokenizerAdvanceToNextToken' in scope
69 | let cfRange = CFStringTokenizerGetCurrentTokenRange(tokenizer)
70 | guard cfRange.location != kCFNotFound, cfRange.length > 0 else { continue }
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:69:27: error: cannot find 'CFStringTokenizerGetCurrentTokenRange' in scope
67 | var ranges: [Range<String.Index>] = []
68 | while CFStringTokenizerAdvanceToNextToken(tokenizer) != [] {
69 | let cfRange = CFStringTokenizerGetCurrentTokenRange(tokenizer)
| `- error: cannot find 'CFStringTokenizerGetCurrentTokenRange' in scope
70 | guard cfRange.location != kCFNotFound, cfRange.length > 0 else { continue }
71 | // ICU reports UTF-16 offsets and happily ends a token in the middle
/host/spi-builder-workspace/swift/Sources/SmoothReading/Tokenizer.swift:70:39: error: cannot find 'kCFNotFound' in scope
68 | while CFStringTokenizerAdvanceToNextToken(tokenizer) != [] {
69 | let cfRange = CFStringTokenizerGetCurrentTokenRange(tokenizer)
70 | guard cfRange.location != kCFNotFound, cfRange.length > 0 else { continue }
| `- error: cannot find 'kCFNotFound' in scope
71 | // ICU reports UTF-16 offsets and happily ends a token in the middle
72 | // of a grapheme cluster: `我́` (U+6211 U+0301) comes back as the
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Compiling SmoothReading PlatformViews+SmoothReading.swift
[7/9] Compiling SmoothReading AttributedString+SmoothReading.swift
/host/spi-builder-workspace/swift/Sources/SmoothReading/AttributedString+SmoothReading.swift:128:19: error: reference to member 'inlinePresentationIntent' cannot be resolved without a contextual type
126 | public static let defaultFixationAttributes: AttributeContainer = {
127 | var container = AttributeContainer()
128 | container.inlinePresentationIntent = .stronglyEmphasized
| `- error: reference to member 'inlinePresentationIntent' cannot be resolved without a contextual type
129 | return container
130 | }()
[8/9] Compiling SmoothReading Html.swift
[9/9] Emitting module SmoothReading
/host/spi-builder-workspace/swift/Sources/SmoothReading/AttributedString+SmoothReading.swift:128:19: error: reference to member 'inlinePresentationIntent' cannot be resolved without a contextual type
126 | public static let defaultFixationAttributes: AttributeContainer = {
127 | var container = AttributeContainer()
128 | container.inlinePresentationIntent = .stronglyEmphasized
| `- error: reference to member 'inlinePresentationIntent' cannot be resolved without a contextual type
129 | return container
130 | }()
BUILD FAILURE 6.1 linux