Build Information
Successful build of Yarn, reference main (2e17aa
), with Swift 6.0 for Linux on 1 Nov 2024 22:53:52 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/0xLeif/Yarn.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/0xLeif/Yarn
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2e17aaa Updated tests
Cloned https://github.com/0xLeif/Yarn.git
Revision (git rev-parse @):
2e17aaa2c0e1f3f9c248aaefb0cc933015543b0e
SUCCESS checkout https://github.com/0xLeif/Yarn.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/0xLeif/Yarn.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/0xLeif/Chronicle
Fetching https://github.com/0xLet/SwiftFu
[1/149] Fetching swiftfu
[151/279] Fetching swiftfu, chronicle
Fetched https://github.com/0xLet/SwiftFu from cache (0.19s)
Fetched https://github.com/0xLeif/Chronicle from cache (0.19s)
Computing version for https://github.com/0xLeif/Chronicle
Computed https://github.com/0xLeif/Chronicle at 0.2.3 (0.42s)
Computing version for https://github.com/0xLet/SwiftFu
Computed https://github.com/0xLet/SwiftFu at 1.0.1 (0.43s)
Creating working copy for https://github.com/0xLeif/Chronicle
Working copy of https://github.com/0xLeif/Chronicle resolved at 0.2.3
Creating working copy for https://github.com/0xLet/SwiftFu
Working copy of https://github.com/0xLet/SwiftFu resolved at 1.0.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/21] Compiling SwiftFu Boolable.swift
[6/21] Compiling SwiftFu Configurable.swift
[7/21] Compiling SwiftFu Modifiable.swift
[8/21] Compiling SwiftFu Printable.swift
[9/21] Compiling SwiftFu SwiftFu+.swift
[10/21] Compiling SwiftFu Tuplable.swift
[11/22] Compiling SwiftFu Fuable.swift
[12/22] Compiling SwiftFu Functionable.swift
[13/22] Compiling SwiftFu Switch+.swift
[14/22] Compiling SwiftFu BinaryInteger+.swift
[15/22] Compiling SwiftFu Assertable.swift
[16/22] Compiling SwiftFu Foundation+SwiftFu.swift
[17/22] Compiling SwiftFu BinaryFloatingPoint+.swift
[18/22] Emitting module SwiftFu
[19/23] Compiling Chronicle Chronicle.swift
[20/23] Emitting module Chronicle
[21/23] Compiling Chronicle Chronicle+DefaultHandlers.swift
[22/23] Compiling Chronicle Chronicle+DefaultFormatters.swift
[25/26] Compiling Yarn Yarn.swift
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:4:1: warning: extension declares a conformance of imported type 'Chronicle' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
2 | import SwiftFu
3 |
4 | extension Chronicle: Fuable { }
| |- warning: extension declares a conformance of imported type 'Chronicle' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | extension Chronicle.DefaultFormatters.DefaultFormatter: Fuable { }
6 |
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:5:1: warning: extension declares a conformance of imported type 'DefaultFormatter' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
3 |
4 | extension Chronicle: Fuable { }
5 | extension Chronicle.DefaultFormatters.DefaultFormatter: Fuable { }
| |- warning: extension declares a conformance of imported type 'DefaultFormatter' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 |
7 | @dynamicMemberLookup
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:22:23: warning: static property 'console' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public static var console: Chronicle = Chronicle(
| |- warning: static property 'console' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'console' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'console' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | label: "yarn.console.log.expectation",
24 | formatter: Chronicle.DefaultFormatters.DefaultFormatter()
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:31:28: warning: reference to static property 'errorEmoji' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | )
30 | .func { console in
31 | Chronicle.LogLevel.errorEmoji = "❌"
| `- warning: reference to static property 'errorEmoji' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | return console
33 | }
/host/spi-builder-workspace/.build/checkouts/Chronicle/Sources/Chronicle/Chronicle.swift:24:27: note: static property declared here
22 | public static var infoEmoji: String = "ℹ️"
23 | public static var warningEmoji: String = "⚠️"
24 | public static var errorEmoji: String = "❗️"
| `- note: static property declared here
25 | public static var fatalEmoji: String = "🚨"
26 |
[26/26] Emitting module Yarn
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:4:1: warning: extension declares a conformance of imported type 'Chronicle' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
2 | import SwiftFu
3 |
4 | extension Chronicle: Fuable { }
| |- warning: extension declares a conformance of imported type 'Chronicle' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | extension Chronicle.DefaultFormatters.DefaultFormatter: Fuable { }
6 |
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:5:1: warning: extension declares a conformance of imported type 'DefaultFormatter' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
3 |
4 | extension Chronicle: Fuable { }
5 | extension Chronicle.DefaultFormatters.DefaultFormatter: Fuable { }
| |- warning: extension declares a conformance of imported type 'DefaultFormatter' to imported protocols 'Fuable', 'Assertable', 'Tuplable', 'Functionable', 'Boolable', 'Modifiable', 'Printable'; this will not behave correctly if the owners of 'Chronicle' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 |
7 | @dynamicMemberLookup
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:22:23: warning: static property 'console' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public static var console: Chronicle = Chronicle(
| |- warning: static property 'console' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'console' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'console' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | label: "yarn.console.log.expectation",
24 | formatter: Chronicle.DefaultFormatters.DefaultFormatter()
/host/spi-builder-workspace/Sources/Yarn/Yarn.swift:31:28: warning: reference to static property 'errorEmoji' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | )
30 | .func { console in
31 | Chronicle.LogLevel.errorEmoji = "❌"
| `- warning: reference to static property 'errorEmoji' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | return console
33 | }
/host/spi-builder-workspace/.build/checkouts/Chronicle/Sources/Chronicle/Chronicle.swift:24:27: note: static property declared here
22 | public static var infoEmoji: String = "ℹ️"
23 | public static var warningEmoji: String = "⚠️"
24 | public static var errorEmoji: String = "❗️"
| `- note: static property declared here
25 | public static var fatalEmoji: String = "🚨"
26 |
Build complete! (16.96s)
Build complete.
{
"dependencies" : [
{
"identity" : "chronicle",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/0xLeif/Chronicle"
},
{
"identity" : "swiftfu",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/0xLet/SwiftFu"
}
],
"manifest_display_name" : "Yarn",
"name" : "Yarn",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Yarn",
"targets" : [
"Yarn"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "YarnTests",
"module_type" : "SwiftTarget",
"name" : "YarnTests",
"path" : "Tests/YarnTests",
"sources" : [
"YarnTests.swift"
],
"target_dependencies" : [
"Yarn"
],
"type" : "test"
},
{
"c99name" : "Yarn",
"module_type" : "SwiftTarget",
"name" : "Yarn",
"path" : "Sources/Yarn",
"product_dependencies" : [
"Chronicle",
"SwiftFu"
],
"product_memberships" : [
"Yarn"
],
"sources" : [
"Yarn.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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.