Build Information
Successful build of StreamReader, reference master (4b8986
), with Swift 6.0 for Linux on 31 Oct 2024 13:24:41 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mxcl/streamreader.git
Reference: master
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/mxcl/streamreader
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4b8986b participate in tea protocol
Cloned https://github.com/mxcl/streamreader.git
Revision (git rev-parse @):
4b8986bf221278ddfea450d3281315493bccaf66
SUCCESS checkout https://github.com/mxcl/streamreader.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/mxcl/streamreader.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/mxcl/Path.swift
[1/1059] Fetching path.swift
Fetched https://github.com/mxcl/Path.swift from cache (0.22s)
Computing version for https://github.com/mxcl/Path.swift
Computed https://github.com/mxcl/Path.swift at 1.4.1 (0.44s)
Creating working copy for https://github.com/mxcl/Path.swift
Working copy of https://github.com/mxcl/Path.swift resolved at 1.4.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling Path PathToBool.swift
[5/14] Compiling Path Pathish.swift
[6/14] Compiling Path Path+ls.swift
[7/14] Compiling Path Path+StringConvertibles.swift
[8/14] Compiling Path Path.swift
[9/14] Compiling Path Path+Codable.swift
[10/14] Compiling Path Path+CommonDirectories.swift
[11/14] Compiling Path Path+FileManager.swift
[12/14] Emitting module Path
[13/14] Compiling Path Extensions.swift
[14/14] Compiling Path Path+Attributes.swift
[16/17] Compiling StreamReader StreamReader.swift
/host/spi-builder-workspace/StreamReader.swift:16:20: warning: stored property 'path' of 'Sendable'-conforming struct 'OpenError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 |
15 | public struct OpenError: LocalizedError {
16 | public let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'OpenError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
17 | public var errorDescription: String? {
18 | return "could not open: \(path)"
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:43:15: note: struct 'Path' does not conform to the 'Sendable' protocol
41 | - SeeAlso: `Pathish` for most methods you will use on `Path` instances.
42 | */
43 | public struct Path: Pathish {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
44 |
45 | /// The normalized string representation of the underlying filesystem path
/host/spi-builder-workspace/StreamReader.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Path'
1 | import Foundation
2 | import Path
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Path'
3 |
4 | // I confess I copy and pasted this from StackOverflow.com
[17/17] Emitting module StreamReader
/host/spi-builder-workspace/StreamReader.swift:16:20: warning: stored property 'path' of 'Sendable'-conforming struct 'OpenError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 |
15 | public struct OpenError: LocalizedError {
16 | public let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'OpenError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
17 | public var errorDescription: String? {
18 | return "could not open: \(path)"
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:43:15: note: struct 'Path' does not conform to the 'Sendable' protocol
41 | - SeeAlso: `Pathish` for most methods you will use on `Path` instances.
42 | */
43 | public struct Path: Pathish {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
44 |
45 | /// The normalized string representation of the underlying filesystem path
/host/spi-builder-workspace/StreamReader.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Path'
1 | import Foundation
2 | import Path
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Path'
3 |
4 | // I confess I copy and pasted this from StackOverflow.com
Build complete! (19.10s)
Build complete.
{
"dependencies" : [
{
"identity" : "path.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0-alpha.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Path.swift"
}
],
"manifest_display_name" : "StreamReader",
"name" : "StreamReader",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "StreamReader",
"targets" : [
"StreamReader"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "StreamReader",
"module_type" : "SwiftTarget",
"name" : "StreamReader",
"path" : ".",
"product_dependencies" : [
"Path"
],
"product_memberships" : [
"StreamReader"
],
"sources" : [
"StreamReader.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.