Build Information
Successful build of OhMyLog, reference v1.1.0 (844c80
), with Swift 6.1 for Wasm on 28 May 2025 03:57:09 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/forkercat/OhMyLog.git
Reference: v1.1.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/forkercat/OhMyLog
* tag v1.1.0 -> FETCH_HEAD
HEAD is now at 844c80a Update workflow and add platform/swift version indicators
Cloned https://github.com/forkercat/OhMyLog.git
Revision (git rev-parse @):
844c80af4b867fa693f1bdde7c1df80064e770be
SUCCESS checkout https://github.com/forkercat/OhMyLog.git at v1.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/forkercat/OhMyLog.git
https://github.com/forkercat/OhMyLog.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "OhMyLog",
"name" : "OhMyLog",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "OhMyLog",
"targets" : [
"OhMyLog"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OhMyLog-Demo",
"targets" : [
"OhMyLog-Demo"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "OhMyLog_Demo",
"module_type" : "SwiftTarget",
"name" : "OhMyLog-Demo",
"path" : "Sources/OhMyLog-Demo",
"product_memberships" : [
"OhMyLog-Demo"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"OhMyLog"
],
"type" : "executable"
},
{
"c99name" : "OhMyLog",
"module_type" : "SwiftTarget",
"name" : "OhMyLog",
"path" : "Sources/OhMyLog",
"product_memberships" : [
"OhMyLog",
"OhMyLog-Demo"
],
"sources" : [
"Log.swift",
"Logger+Any.swift",
"Logger+String.swift",
"Logger.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/12] Emitting module OhMyLog
/host/spi-builder-workspace/Sources/OhMyLog/Log.swift:11:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public enum Log {
11 | private static var logger = Logger(name: Logger.Defaults.loggerName, level: Logger.Defaults.logLevel)
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | @inline(__always)
/host/spi-builder-workspace/Sources/OhMyLog/Logger.swift:13:27: warning: static property 'logLevel' is not concurrency-safe because non-'Sendable' type 'Logger.Level' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public enum Defaults {
12 | public static let loggerName = "Default"
13 | public static let logLevel = Logger.Level.debug
| |- warning: static property 'logLevel' is not concurrency-safe because non-'Sendable' type 'Logger.Level' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let showLevelIcon = false
15 | public static let showContext = true
16 | }
17 |
18 | public enum Level: Int {
| `- note: consider making enum 'Level' conform to the 'Sendable' protocol
19 | case trace
20 | case debug
[5/12] Compiling OhMyLog Log.swift
/host/spi-builder-workspace/Sources/OhMyLog/Log.swift:11:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public enum Log {
11 | private static var logger = Logger(name: Logger.Defaults.loggerName, level: Logger.Defaults.logLevel)
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | @inline(__always)
[6/12] Compiling OhMyLog Logger+String.swift
[7/12] Compiling OhMyLog Logger+Any.swift
[8/12] Compiling OhMyLog Logger.swift
/host/spi-builder-workspace/Sources/OhMyLog/Logger.swift:13:27: warning: static property 'logLevel' is not concurrency-safe because non-'Sendable' type 'Logger.Level' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public enum Defaults {
12 | public static let loggerName = "Default"
13 | public static let logLevel = Logger.Level.debug
| |- warning: static property 'logLevel' is not concurrency-safe because non-'Sendable' type 'Logger.Level' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let showLevelIcon = false
15 | public static let showContext = true
16 | }
17 |
18 | public enum Level: Int {
| `- note: consider making enum 'Level' conform to the 'Sendable' protocol
19 | case trace
20 | case debug
[9/13] Wrapping AST for OhMyLog for debugging
[11/15] Emitting module OhMyLog_Demo
[12/15] Compiling OhMyLog_Demo main.swift
[13/16] Wrapping AST for OhMyLog-Demo for debugging
[14/16] Write Objects.LinkFileList
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a: archive member 'Foundation.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationEssentials.a: archive member 'FoundationEssentials.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationInternationalization.a: archive member 'FoundationInternationalization.autolink' is neither Wasm object file nor LLVM bitcode
[15/16] Linking OhMyLog-Demo.wasm
Build complete! (8.16s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "OhMyLog",
"name" : "OhMyLog",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "OhMyLog",
"targets" : [
"OhMyLog"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OhMyLog-Demo",
"targets" : [
"OhMyLog-Demo"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "OhMyLog_Demo",
"module_type" : "SwiftTarget",
"name" : "OhMyLog-Demo",
"path" : "Sources/OhMyLog-Demo",
"product_memberships" : [
"OhMyLog-Demo"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"OhMyLog"
],
"type" : "executable"
},
{
"c99name" : "OhMyLog",
"module_type" : "SwiftTarget",
"name" : "OhMyLog",
"path" : "Sources/OhMyLog",
"product_memberships" : [
"OhMyLog",
"OhMyLog-Demo"
],
"sources" : [
"Log.swift",
"Logger+Any.swift",
"Logger+String.swift",
"Logger.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.