Build Information
Failed to build CSVImporter, reference 1.9.1 (637553
), with Swift 6.1 for Android on 28 May 2025 06:05:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FlineDev/CSVImporter.git
Reference: 1.9.1
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/FlineDev/CSVImporter
* tag 1.9.1 -> FETCH_HEAD
HEAD is now at 6375530 Merge branch 'deploy/1.9.1' into productive
Cloned https://github.com/FlineDev/CSVImporter.git
Revision (git rev-parse @):
63755302a3d3ad81d62607dba4a97f06a62eab1b
SUCCESS checkout https://github.com/FlineDev/CSVImporter.git at 1.9.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/FlineDev/CSVImporter.git
https://github.com/FlineDev/CSVImporter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "handyswift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.7.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flinesoft/HandySwift.git"
},
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "7.3.1",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "CSVImporter",
"name" : "CSVImporter",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CSVImporter",
"targets" : [
"CSVImporter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4"
],
"targets" : [
{
"c99name" : "CSVImporterTests",
"module_type" : "SwiftTarget",
"name" : "CSVImporterTests",
"path" : "Tests/CSVImporterTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"CSVImporterSpec.swift"
],
"target_dependencies" : [
"CSVImporter"
],
"type" : "test"
},
{
"c99name" : "CSVImporter",
"module_type" : "SwiftTarget",
"name" : "CSVImporter",
"path" : "Frameworks/CSVImporter",
"product_dependencies" : [
"HandySwift"
],
"product_memberships" : [
"CSVImporter"
],
"sources" : [
"CSVImporter.swift",
"FileSource.swift",
"Globals.swift",
"Source.swift",
"StringSource.swift",
"TextFile.swift",
"TextFileStreamReader.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Frameworks/CSVImporter/Frameworks/SupportingFiles': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/CSVImporterTests/Tests/SupportingFiles': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Flinesoft/HandySwift.git
Fetching https://github.com/Quick/Quick.git
[1/14755] Fetching quick
[2067/18123] Fetching quick, handyswift
[14731/37707] Fetching quick, handyswift, nimble
Fetched https://github.com/Flinesoft/HandySwift.git from cache (1.37s)
Fetched https://github.com/Quick/Quick.git from cache (1.37s)
Fetched https://github.com/Quick/Nimble.git from cache (1.39s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (3.25s)
Computing version for https://github.com/Flinesoft/HandySwift.git
Computed https://github.com/Flinesoft/HandySwift.git at 2.8.0 (0.65s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.80s)
Creating working copy for https://github.com/Flinesoft/HandySwift.git
Working copy of https://github.com/Flinesoft/HandySwift.git resolved at 2.8.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.4
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.4
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Frameworks/CSVImporter/Frameworks/SupportingFiles': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/CSVImporterTests/Tests/SupportingFiles': File not found.
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/17] Compiling HandySwift Unowned.swift
[5/18] Compiling HandySwift DictionaryExtension.swift
[6/18] Compiling HandySwift DispatchTimeIntervalExtension.swift
[7/18] Compiling HandySwift IntExtension.swift
[8/18] Compiling HandySwift NSRangeExtension.swift
[9/18] Compiling HandySwift StringExtension.swift
[10/18] Compiling HandySwift TimeIntervalExtension.swift
[11/18] Compiling HandySwift Regex.swift
[12/18] Compiling HandySwift SortedArray.swift
[13/18] Compiling HandySwift Globals.swift
[14/18] Compiling HandySwift FrequencyTable.swift
[15/18] Compiling HandySwift ArrayExtension.swift
[16/18] Compiling HandySwift CollectionExtension.swift
[17/18] Emitting module HandySwift
[18/18] Compiling HandySwift Weak.swift
[20/27] Compiling CSVImporter TextFile.swift
[21/27] Compiling CSVImporter TextFileStreamReader.swift
[22/27] Compiling CSVImporter Globals.swift
[23/27] Compiling CSVImporter Source.swift
[24/27] Compiling CSVImporter StringSource.swift
[25/27] Compiling CSVImporter FileSource.swift
[26/27] Emitting module CSVImporter
[27/27] Compiling CSVImporter CSVImporter.swift
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:155:44: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 |
20 | /// Importer for CSV files that maps your lines to a specified data structure.
21 | public class CSVImporter<T> {
| `- note: generic class 'CSVImporter' does not conform to the 'Sendable' protocol
22 | // MARK: - Stored Instance Properties
23 | let source: Source
:
153 | var importedRecords = [T]()
154 |
155 | let importedLinesWithSuccess = self.importLines { valuesInLine in
| `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure; this is an error in the Swift 6 language mode
156 | let newRecord = closure(valuesInLine)
157 | importedRecords.append(newRecord)
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:156:33: warning: capture of 'closure' with non-sendable type '([String]) -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
154 |
155 | let importedLinesWithSuccess = self.importLines { valuesInLine in
156 | let newRecord = closure(valuesInLine)
| |- warning: capture of 'closure' with non-sendable type '([String]) -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
157 | importedRecords.append(newRecord)
158 |
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:156:33: warning: capture of 'closure' with non-sendable type '([String]) -> T' in an isolated closure; this is an error in the Swift 6 language mode
154 |
155 | let importedLinesWithSuccess = self.importLines { valuesInLine in
156 | let newRecord = closure(valuesInLine)
| |- warning: capture of 'closure' with non-sendable type '([String]) -> T' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
157 | importedRecords.append(newRecord)
158 |
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:159:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
19 |
20 | /// Importer for CSV files that maps your lines to a specified data structure.
21 | public class CSVImporter<T> {
| `- note: generic class 'CSVImporter' does not conform to the 'Sendable' protocol
22 | // MARK: - Stored Instance Properties
23 | let source: Source
:
157 | importedRecords.append(newRecord)
158 |
159 | self.reportProgressIfNeeded(importedRecords)
| `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
160 | }
161 |
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:186:44: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 |
20 | /// Importer for CSV files that maps your lines to a specified data structure.
21 | public class CSVImporter<T> {
| `- note: generic class 'CSVImporter' does not conform to the 'Sendable' protocol
22 | // MARK: - Stored Instance Properties
23 | let source: Source
:
184 | var importedRecords = [T]()
185 |
186 | let importedLinesWithSuccess = self.importLines { valuesInLine in
| `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure; this is an error in the Swift 6 language mode
187 | if recordStructure == nil {
188 | recordStructure = valuesInLine
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:189:21: warning: capture of 'structureClosure' with non-sendable type '([String]) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
187 | if recordStructure == nil {
188 | recordStructure = valuesInLine
189 | structureClosure(valuesInLine)
| |- warning: capture of 'structureClosure' with non-sendable type '([String]) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
190 | } else {
191 | if let structuredValuesInLine = [String: String](keys: recordStructure!, values: valuesInLine) {
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:192:41: warning: capture of 'closure' with non-sendable type '([String : String]) -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
190 | } else {
191 | if let structuredValuesInLine = [String: String](keys: recordStructure!, values: valuesInLine) {
192 | let newRecord = closure(structuredValuesInLine)
| |- warning: capture of 'closure' with non-sendable type '([String : String]) -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
193 | importedRecords.append(newRecord)
194 |
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:189:21: warning: capture of 'structureClosure' with non-sendable type '([String]) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
187 | if recordStructure == nil {
188 | recordStructure = valuesInLine
189 | structureClosure(valuesInLine)
| |- warning: capture of 'structureClosure' with non-sendable type '([String]) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
190 | } else {
191 | if let structuredValuesInLine = [String: String](keys: recordStructure!, values: valuesInLine) {
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:192:41: warning: capture of 'closure' with non-sendable type '([String : String]) -> T' in an isolated closure; this is an error in the Swift 6 language mode
190 | } else {
191 | if let structuredValuesInLine = [String: String](keys: recordStructure!, values: valuesInLine) {
192 | let newRecord = closure(structuredValuesInLine)
| |- warning: capture of 'closure' with non-sendable type '([String : String]) -> T' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
193 | importedRecords.append(newRecord)
194 |
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:195:25: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
19 |
20 | /// Importer for CSV files that maps your lines to a specified data structure.
21 | public class CSVImporter<T> {
| `- note: generic class 'CSVImporter' does not conform to the 'Sendable' protocol
22 | // MARK: - Stored Instance Properties
23 | let source: Source
:
193 | importedRecords.append(newRecord)
194 |
195 | self.reportProgressIfNeeded(importedRecords)
| `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
196 | } else {
197 | print("Warning: Couldn't structurize line.")
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:271:13: error: cannot find 'autoreleasepool' in scope
269 | source.forEach { line in
270 | anyLine = true
271 | autoreleasepool {
| `- error: cannot find 'autoreleasepool' in scope
272 | let valuesInLine = readValuesInLine(line)
273 | closure(valuesInLine)
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:364:17: warning: capture of 'failClosure' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
362 | if let failClosure = self.failClosure {
363 | callbacksDispatchQueue.async {
364 | failClosure()
| |- warning: capture of 'failClosure' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
365 | }
366 | }
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:375:21: warning: capture of 'progressClosure' with non-sendable type '(Int) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
373 | if let progressClosure = self.progressClosure {
374 | callbacksDispatchQueue.async {
375 | progressClosure(importedRecords.count)
| |- warning: capture of 'progressClosure' with non-sendable type '(Int) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
376 | }
377 | }
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:375:37: warning: capture of 'importedRecords' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 |
20 | /// Importer for CSV files that maps your lines to a specified data structure.
21 | public class CSVImporter<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
22 | // MARK: - Stored Instance Properties
23 | let source: Source
:
373 | if let progressClosure = self.progressClosure {
374 | callbacksDispatchQueue.async {
375 | progressClosure(importedRecords.count)
| `- warning: capture of 'importedRecords' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
376 | }
377 | }
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:384:17: warning: capture of 'finishClosure' with non-sendable type '([T]) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
382 | if let finishClosure = self.finishClosure {
383 | callbacksDispatchQueue.async {
384 | finishClosure(importedRecords)
| |- warning: capture of 'finishClosure' with non-sendable type '([T]) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
385 | }
386 | }
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:384:31: warning: capture of 'importedRecords' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 |
20 | /// Importer for CSV files that maps your lines to a specified data structure.
21 | public class CSVImporter<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
22 | // MARK: - Stored Instance Properties
23 | let source: Source
:
382 | if let finishClosure = self.finishClosure {
383 | callbacksDispatchQueue.async {
384 | finishClosure(importedRecords)
| `- warning: capture of 'importedRecords' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
385 | }
386 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Frameworks/CSVImporter/Frameworks/SupportingFiles': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/CSVImporterTests/Tests/SupportingFiles': File not found.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling HandySwift Unowned.swift
[3/16] Compiling HandySwift StringExtension.swift
[4/16] Compiling HandySwift TimeIntervalExtension.swift
[5/16] Compiling HandySwift IntExtension.swift
[6/16] Compiling HandySwift NSRangeExtension.swift
[7/16] Compiling HandySwift DictionaryExtension.swift
[8/16] Compiling HandySwift DispatchTimeIntervalExtension.swift
[9/16] Compiling HandySwift ArrayExtension.swift
[10/16] Compiling HandySwift CollectionExtension.swift
[11/16] Emitting module HandySwift
[12/16] Compiling HandySwift Weak.swift
[13/16] Compiling HandySwift Globals.swift
[14/16] Compiling HandySwift FrequencyTable.swift
[15/16] Compiling HandySwift Regex.swift
[16/16] Compiling HandySwift SortedArray.swift
[18/25] Compiling CSVImporter StringSource.swift
[19/25] Compiling CSVImporter Source.swift
[20/25] Compiling CSVImporter Globals.swift
[21/25] Compiling CSVImporter FileSource.swift
[22/25] Compiling CSVImporter CSVImporter.swift
/host/spi-builder-workspace/Frameworks/CSVImporter/CSVImporter.swift:271:13: error: cannot find 'autoreleasepool' in scope
269 | source.forEach { line in
270 | anyLine = true
271 | autoreleasepool {
| `- error: cannot find 'autoreleasepool' in scope
272 | let valuesInLine = readValuesInLine(line)
273 | closure(valuesInLine)
[23/25] Emitting module CSVImporter
[24/25] Compiling CSVImporter TextFile.swift
[25/25] Compiling CSVImporter TextFileStreamReader.swift
BUILD FAILURE 6.1 android