Build Information
Successful build of stream-reader with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Frizlab/stream-reader.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Frizlab/stream-reader
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 13c9928 Enhance the init interfaces
Cloned https://github.com/Frizlab/stream-reader.git
Revision (git rev-parse @):
13c99289668e1dedfcf28c05867cb8fe0860b133
SUCCESS checkout https://github.com/Frizlab/stream-reader.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/Frizlab/stream-reader.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/12] Compiling StreamReader GenericStreamReader.swift
[4/12] Compiling StreamReader Matching.swift
[5/12] Compiling StreamReader StreamReader.swift
[6/12] Compiling StreamReader StreamReaderErrors.swift
[7/12] Compiling StreamReader InputStreamReader.swift
[8/12] Compiling StreamReader DataReader.swift
[9/12] Compiling StreamReader URLSessionStreamTaskReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamReader/Conveniences/URLSessionStreamTaskReader.swift:24:4: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
22 | readData(ofMinLength: 1, maxLength: len, timeout: .infinity, completionHandler: { d, eof, err in
23 | /* We don’t need the EOF value. */
24 | data = d
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
25 | error = err
26 | group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/StreamReader/Conveniences/URLSessionStreamTaskReader.swift:25:4: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
23 | /* We don’t need the EOF value. */
24 | data = d
25 | error = err
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
26 | group.leave()
27 | })
[10/12] Emitting module StreamReader
[11/12] Compiling StreamReader FileHandleReader.swift
[12/12] Compiling StreamReader FileDescriptorReader.swift
Build complete! (23.18s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "stream-reader",
"name" : "stream-reader",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "StreamReader",
"targets" : [
"StreamReader"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "StreamReaderTests",
"module_type" : "SwiftTarget",
"name" : "StreamReaderTests",
"path" : "Tests/StreamReaderTests",
"sources" : [
"MatchingTests.swift",
"StreamReaderTests.swift",
"TestHelpers.swift",
"TestHelpersTests.swift",
"URLStreamReaderTests.swift"
],
"target_dependencies" : [
"StreamReader"
],
"type" : "test"
},
{
"c99name" : "StreamReader",
"module_type" : "SwiftTarget",
"name" : "StreamReader",
"path" : "Sources/StreamReader",
"product_memberships" : [
"StreamReader"
],
"sources" : [
"Conveniences/FileDescriptorReader.swift",
"Conveniences/FileHandleReader.swift",
"Conveniences/InputStreamReader.swift",
"Conveniences/URLSessionStreamTaskReader.swift",
"Core/StreamReader.swift",
"Core/StreamReaderErrors.swift",
"Implementations/DataReader.swift",
"Implementations/GenericStreamReader.swift",
"Matching.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.